Run this model with HF Jobs
Run distilbert/distilbert-base-uncased 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/distilbert/distilbert-base-uncased. 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/distilbert/distilbert-base-uncased 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 distilbert/distilbert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="distilbert/distilbert-base-uncased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased") model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-uncased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Changed distillation URL (#8)
- Changed distillation URL (6d41c99324f814900c77849756a0160739dddeb7) Co-authored-by: Kalluri <RatnaKumar@users.noreply.huggingface.co>6cdc0aa
-
Fix broken link in opening section (#3)
- Fix broken link in opening section (f8354bcfbd3068faf2c5149654881cb4214e931d) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>043235d
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/distilbert-base-uncased-README.mdeceec7f