Run this model with HF Jobs
Run DIA-MVP/bert-tiny-sst2-distill 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/DIA-MVP/bert-tiny-sst2-distill. 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/DIA-MVP/bert-tiny-sst2-distill 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 DIA-MVP/bert-tiny-sst2-distill with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DIA-MVP/bert-tiny-sst2-distill with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DIA-MVP/bert-tiny-sst2-distill")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DIA-MVP/bert-tiny-sst2-distill") model = AutoModelForSequenceClassification.from_pretrained("DIA-MVP/bert-tiny-sst2-distill", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse filesFiles changed (2)
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+15
123456789101112131415{ "backend": "tokenizers", "cls_token": "[CLS]", "do_lower_case": true, "is_local": false, "local_files_only": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}tokenizer.jsonAdded
tokenizer_config.jsonAdded+15