Instructions to use bnicenboim/gpt-neo-125m-dutch-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use bnicenboim/gpt-neo-125m-dutch-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'bnicenboim/gpt-neo-125m-dutch-onnx');
gpt-neo-125m-dutch (ONNX)
ONNX export of yhavinga/gpt-neo-125m-dutch for use in the browser with Transformers.js.
Usage with Transformers.js
import { pipeline } from '@huggingface/transformers';
const generator = await pipeline(
'text-generation',
'bnicenboim/gpt-neo-125m-dutch-onnx'
);
const result = await generator('De kat zat op de', { max_new_tokens: 50 });
console.log(result[0].generated_text);
Model details
- Base model: yhavinga/gpt-neo-125m-dutch
- Architecture: GPT-Neo 125M
- Language: Dutch (nl)
- Format: ONNX (fp32) + quantized int8
- Exported with: 🤗 Optimum
Intended use
Causal language modelling / text completion in Dutch, running client-side in the browser via Transformers.js. Not an instruction or chat model.
- Downloads last month
- 3