Instructions to use nelise/lab2_efficient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nelise/lab2_efficient with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nelise/lab2_efficient") model = AutoModelForSeq2SeqLM.from_pretrained("nelise/lab2_efficient", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from nelise/lab2_efficient: direct link, hf CLI and curl.
- Browser
- Download file 1.46 MB
-
https://huggingface.co/nelise/lab2_efficient/resolve/c5c8ea043ac5a0ba48940415c6d940745548c3cd/vocab.json
- Command line
-
hf download hf://nelise/lab2_efficient@c5c8ea043ac5a0ba48940415c6d940745548c3cd/vocab.json
-
curl -L -o vocab.json https://huggingface.co/nelise/lab2_efficient/resolve/c5c8ea043ac5a0ba48940415c6d940745548c3cd/vocab.json
1.46 MB
File too large to display, you can check the raw version instead.