Instructions to use badgrr/gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use badgrr/gpt2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'badgrr/gpt2');
Download onnx/decoder_model.onnx from badgrr/gpt2: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/badgrr/gpt2/resolve/main/onnx/decoder_model.onnx
- Command line
-
hf download hf://badgrr/gpt2/onnx/decoder_model.onnx
-
curl -L -o decoder_model.onnx https://huggingface.co/badgrr/gpt2/resolve/main/onnx/decoder_model.onnx
499 MB
- Xet hash:
- 96f92c74b48bb920be50fb6df769ade65127a905083b7d27c5033bfcc8d1bc7f
- Size of remote file:
- 499 MB
- SHA256:
- b6c4c75bafa80ef5098219808b83d702f0a11524de52c21603ff30e2813213f7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.