Downloads · 30 days
8
3% of all-time downloads
bnicenboim/gpt2-medium-dutch-onnx
gpt2-medium-dutch-onnx is a text generation model from bnicenboim. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as apache-2.0.
ONNX export of yhavinga/gpt2-medium-dutch for use in the browser with Transformers.js.
Downloads · 30 days
8
3% of all-time downloads
All-time downloads
274
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.8 GB · 100%
From the Hugging Face model README
ONNX export of yhavinga/gpt2-medium-dutch for use in the browser with Transformers.js.
import { pipeline } from '@huggingface/transformers';
const generator = await pipeline(
'text-generation',
'bnicenboim/gpt2-medium-dutch-onnx'
);
const result = await generator('De kat zat op de', { max_new_tokens: 50 });
console.log(result[0].generated_text);
Causal language modelling / text completion in Dutch, running client-side in the browser via Transformers.js. Not an instruction or chat model.
This is a 355M parameter model. For faster inference in the browser, consider using bnicenboim/gpt-neo-125m-dutch-onnx instead (125M parameters).