Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run bdanko/bert-tweeteval-distilroberta on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/bdanko/bert-tweeteval-distilroberta. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/bdanko/bert-tweeteval-distilroberta on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use bdanko/bert-tweeteval-distilroberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bdanko/bert-tweeteval-distilroberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bdanko/bert-tweeteval-distilroberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bdanko/bert-tweeteval-distilroberta") model = AutoModelForSequenceClassification.from_pretrained("bdanko/bert-tweeteval-distilroberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (4)
- README.mdAdded+62
- model.safetensors+1-1
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+16
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---library_name: transformerslicense: apache-2.0base_model: distilroberta-basetags:- generated_from_trainermodel-index:- name: bert-tweeteval-distilroberta results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# bert-tweeteval-distilroberta
This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9741
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 20
### Training results
| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.7006 | 1.0 | 204 | 0.7013 || 0.5596 | 2.0 | 408 | 0.6443 || 0.3891 | 3.0 | 612 | 0.6844 || 0.3281 | 4.0 | 816 | 0.8158 || 0.1767 | 5.0 | 1020 | 0.9741 |
### Framework versions
- Transformers 5.0.0- Pytorch 2.10.0+cu128- Datasets 4.0.0- Tokenizers 0.22.2123version https://git-lfs.github.com/spec/v1oid sha256:3da737d43cecd30b09b4384b28b9adecf138fa8f9483410703fb31a936acc55csize 328498416123version https://git-lfs.github.com/spec/v1oid sha256:4b6a72cbe307d799ff2ca2be7c09063dded24b50482f20389f96d540a9dced46size 328498416
12345678910111213141516{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "errors": "replace", "is_local": false, "mask_token": "<mask>", "model_max_length": 512, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "RobertaTokenizer", "trim_offsets": true, "unk_token": "<unk>"}README.mdAdded+62
model.safetensors+1-1
tokenizer.jsonAdded
tokenizer_config.jsonAdded+16