Instructions to use onnx-community/gpt2-medium-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/gpt2-medium-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'onnx-community/gpt2-medium-ONNX');
gpt2-medium (ONNX)
This is an ONNX version of openai-community/gpt2-medium. It was automatically converted and uploaded using this space.
- Downloads last month
- 12
Model tree for onnx-community/gpt2-medium-ONNX
Base model
openai-community/gpt2-medium