Instructions to use Xenova/gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/gpt2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Xenova/gpt2');
Commit History
-
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
Verified signature- Add/update the quantized ONNX model files and README.md for Transformers.js v3 (ff9c413df22af04efab87cfc924ee9bb13e9594b) - Update README.md (63b59c29fe5d4e946b68fbaf3c16da474c885675) Co-authored-by: Yuichiro Tachibana <whitphx@users.noreply.huggingface.co>bf2c7f0
-
[Automated] Update base model metadata
Verified signatureSet base model to "gpt2"cf41b67
-
Delete onnx/decoder_model_fp16.onnx
Verified signature5146649
-
Update README.md
Verified signature5140127
-
Upload fp16 ONNX weights
Verified signature0eb78bf
-
Upload folder using huggingface_hub
2b6f8ca -
Upload README.md with huggingface_hub
965dc1c
-
Upload folder using huggingface_hub
c7be48d -
Upload README.md with huggingface_hub
335e3c8
-
Upload folder using huggingface_hub
adc2515 -
Upload README.md with huggingface_hub
bac0c37
-
Upload 13 files
9db327a -
Create README.md
cd030b9 -
initial commit
Joshuace3ee45