ONNX format
Generated from roneneldan/TinyStories-1M
For use with Transformers.js
const model= await pipeline(
"text-generation",
"mkly/TinyStories-1M-ONNX",
);
const response = await loadedModel(
"Some example text",
{
max_new_tokens: 500,
temperature: 0.9,
},
);
console.log(response[0].generated_text);