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