Instructions to use m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2") model = AutoModel.from_pretrained("m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitignore from m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2: direct link, hf CLI and curl.
- Browser
- Download file 6 Bytes
-
https://huggingface.co/m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2/resolve/main/.gitignore
- Command line
-
hf download hf://m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2/.gitignore
-
curl -L -o .gitignore https://huggingface.co/m3hrdadfi/AuxGPT2-alvis-pc-urb-gpt2-small-context-2/resolve/main/.gitignore
6 Bytes
| step* | |