Instructions to use Xenova/distilgpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/distilgpt2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Xenova/distilgpt2');
Commit History
Update README.md b442d19 verified
Upload folder using huggingface_hub 7fff309 verified
[Automated] Update base model metadata 16be0a7 verified
Upload fp16 ONNX weights 722e5f3 verified
Upload folder using huggingface_hub 0aa7002
Upload README.md with huggingface_hub e2f0553
Upload folder using huggingface_hub f67a7cf
Upload README.md with huggingface_hub fc18596
Upload folder using huggingface_hub 76765e4
Upload README.md with huggingface_hub 4b25a7a
initial commit 44e068f
Joshua commited on