Text Classification
Transformers
TensorBoard
ONNX
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run aditizingre07/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/aditizingre07/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/aditizingre07/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 aditizingre07/distilroberta-dark-pattern with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aditizingre07/distilroberta-dark-pattern with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aditizingre07/distilroberta-dark-pattern")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aditizingre07/distilroberta-dark-pattern") model = AutoModelForSequenceClassification.from_pretrained("aditizingre07/distilroberta-dark-pattern", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (4)
122345{ "_name_or_path": "distilroberta-base", "_name_or_path": "/tmp/tmpsd7_d4yc", "architectures": [ "RobertaForSequenceClassification" ],12323version https://git-lfs.github.com/spec/v1oid sha256:222125d90fc9ffbcb46e40721817bd29a9f654fbe765cb697e57f4006be9549fsize 82572937oid sha256:585703c472b39ecf9b18fc1fe8ad4c30123550013e76da4bcfcdd042a2e40f6asize 82572936123423456789101112131415161718192021222324251 unmodified line27282912131430313233343536373839404142434445464748495051{ "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "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": "<pad>", "sep_token": "</s>", "unk_token": "<unk>" "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 }}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>"}config.json+1-1
model_quantized.onnx+2-2
special_tokens_map.json+42-6
tokenizer_config.json+7