Instructions to use hf-internal-testing/tiny-random-GPT2Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-GPT2Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-GPT2Model")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-GPT2Model") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-GPT2Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 1d15602dae187720674e9b7ce8f513e9d20d931dca1fe9618c641640639c9804
- Size of remote file:
- 416 kB
- SHA256:
- 67197a6c462b177b771faa93b838ea607ccf47a3e731321b1f3ad67522b3cc30
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.