How to use from the
Use from the
Transformers.js library
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';

// Allocate pipeline
const pipe = await pipeline('text-generation', 'onnx-community/gpt2-mini-ONNX');

gpt2-mini (ONNX)

This is an ONNX version of erwanf/gpt2-mini. It was automatically converted and uploaded using this space.

Downloads last month
163
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for onnx-community/gpt2-mini-ONNX

Base model

erwanf/gpt2-mini
Quantized
(3)
this model