Instructions to use alishudi/distil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alishudi/distil with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alishudi/distil")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alishudi/distil") model = AutoModelForSequenceClassification.from_pretrained("alishudi/distil", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download git_log.json from alishudi/distil: direct link, hf CLI and curl.
- Browser
- Download file 163 Bytes
-
https://huggingface.co/alishudi/distil/resolve/main/git_log.json
- Command line
-
hf download hf://alishudi/distil/git_log.json
-
curl -L -o git_log.json https://huggingface.co/alishudi/distil/resolve/main/git_log.json
163 Bytes
| { | |
| "repo_id": "<git.Repo \"/home/atsvigun/sasha/distillation/.git\">", | |
| "repo_sha": "4c896435a9d101e49705cda2de9b88c55f16ba87", | |
| "repo_branch": "master" | |
| } |