Text Classification
Transformers
TensorBoard
ONNX
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run IraJoshi01/distilroberta-dark-pattern 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/IraJoshi01/distilroberta-dark-pattern. 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/IraJoshi01/distilroberta-dark-pattern 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 IraJoshi01/distilroberta-dark-pattern with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IraJoshi01/distilroberta-dark-pattern with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IraJoshi01/distilroberta-dark-pattern")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IraJoshi01/distilroberta-dark-pattern") model = AutoModelForSequenceClassification.from_pretrained("IraJoshi01/distilroberta-dark-pattern", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training complete!
Browse filesFiles changed (7)
43 unmodified lines444546474849501 unmodified line5253545543 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|| No log | 1.89 | 500 | 0.1404 | 0.9661 | 0.9661 |### Framework versions1 unmodified line- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.17.0- Tokenizers 0.15.143 unmodified lines444546474849501 unmodified line5253545543 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|| No log | 1.89 | 500 | 0.1080 | 0.9746 | 0.9746 |### Framework versions1 unmodified line- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.17.0- Tokenizers 0.15.2
12345{"_name_or_path": "/tmp/tmpizsetw6j","architectures": ["RobertaForSequenceClassification"],12345{"_name_or_path": "distilroberta-base","architectures": ["RobertaForSequenceClassification"],
123version https://git-lfs.github.com/spec/v1oid sha256:5a5e4f7ef042c01404a68329de47e93af554b64851adfdce07173078fe0dc014size 328492280123version https://git-lfs.github.com/spec/v1oid sha256:f7017618d671d5f12b522efc78426c4856c7c3cfea3765c380f9b2923e4d304fsize 328492280
123version https://git-lfs.github.com/spec/v1oid sha256:d4c9ddd579728a3474573561b6b2d289fd171cafb93d381199847a79308a3563size 5284123456789101112131415161718192021222324251 unmodified line27282930313233343536373839404142434445464748495051{"bos_token": {"content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"cls_token": {"content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"eos_token": {"content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"mask_token": {"content": "<mask>","lstrip": true,1 unmodified line"rstrip": false,"single_word": false},"pad_token": {"content": "<pad>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"sep_token": {"content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},"unk_token": {"content": "<unk>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false}}12345671 unmodified line9101112131415{"bos_token": "<s>","cls_token": "<s>","eos_token": "</s>","mask_token": {"content": "<mask>","lstrip": true,1 unmodified line"rstrip": false,"single_word": false},"pad_token": "<pad>","sep_token": "</s>","unk_token": "<unk>"}
47 unmodified lines484950515253545556575859606162636447 unmodified lines"eos_token": "</s>","errors": "replace","mask_token": "<mask>","max_length": 512,"model_max_length": 512,"pad_to_multiple_of": null,"pad_token": "<pad>","pad_token_type_id": 0,"padding_side": "right","sep_token": "</s>","stride": 0,"tokenizer_class": "RobertaTokenizer","trim_offsets": true,"truncation_side": "right","truncation_strategy": "longest_first","unk_token": "<unk>"}47 unmodified lines4849505152535455565747 unmodified lines"eos_token": "</s>","errors": "replace","mask_token": "<mask>","model_max_length": 512,"pad_token": "<pad>","sep_token": "</s>","tokenizer_class": "RobertaTokenizer","trim_offsets": true,"unk_token": "<unk>"}
123version https://git-lfs.github.com/spec/v1oid sha256:993d2ac5208b9da38ab889032a5081ed7489bf083ce25295db72405e334a238dsize 4600123version https://git-lfs.github.com/spec/v1oid sha256:452149dc598b422ecac4ff9ee326e439f233026346e0627963697581bab087f0size 4600
README.md+2-2
config.json+1-1
model.safetensors+1-1
runs/Feb17_01-15-15_b086583e119c/events.out.tfevents.1708132516.b086583e119c.2514.0Added+3
special_tokens_map.json+6-42
tokenizer_config.json-7
training_args.bin+1-1