Text Classification
Transformers
Safetensors
Russian
modernbert
humor
regression
custom_code
Eval Results (legacy)
text-embeddings-inference
Instructions to use d0rj/RuModernBERT-base-anekdot-scorer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d0rj/RuModernBERT-base-anekdot-scorer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="d0rj/RuModernBERT-base-anekdot-scorer", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("d0rj/RuModernBERT-base-anekdot-scorer", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("d0rj/RuModernBERT-base-anekdot-scorer", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_metadata.json from d0rj/RuModernBERT-base-anekdot-scorer: direct link, hf CLI and curl.
- Browser
- Download file 948 Bytes
-
https://huggingface.co/d0rj/RuModernBERT-base-anekdot-scorer/resolve/main/training_metadata.json
- Command line
-
hf download hf://d0rj/RuModernBERT-base-anekdot-scorer/training_metadata.json
-
curl -L -o training_metadata.json https://huggingface.co/d0rj/RuModernBERT-base-anekdot-scorer/resolve/main/training_metadata.json
948 Bytes
| { | |
| "base_model": "deepvk/RuModernBERT-base", | |
| "base_model_revision": "8aee6f818db9070b635a549580dc64dcfa03e39a", | |
| "dataset": "d0rj/anekdot", | |
| "dataset_config": "anekdots", | |
| "dataset_revision": "62e91b81313cca9928208f68405805a71fd28274", | |
| "splits": { | |
| "train": 618470, | |
| "val": 77308, | |
| "test": 77310 | |
| }, | |
| "learning_rate": 2e-05, | |
| "seed": 42, | |
| "epochs_run": 3, | |
| "published_best_step": 19328, | |
| "checkpoint_selection": "Highest full-validation Spearman; tie lower BCE", | |
| "loss": "Fractional-label BCEWithLogitsLoss; FP32 loss", | |
| "architecture": "Encoder, first-token pooling, Dropout(0.1), Linear(768, 1)", | |
| "tokenization": { | |
| "max_length": 512, | |
| "body_head_tokens": 128, | |
| "body_tail_tokens": 382, | |
| "padding_side": "right" | |
| }, | |
| "checkpoint_sha256": "73c1f9c593b564a97b9764bb8ca4f85b56d5b31e70a6b96ed3f0bf9e85623b48", | |
| "training_precision": "BF16 forward, FP32 weights/loss/AdamW", | |
| "parameter_count": 149015041 | |
| } | |