File size: 455 Bytes
3c7941e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[ONNX](https://onnx.ai/) format

Generated from [roneneldan/TinyStories-1M](https://huggingface.co/roneneldan/TinyStories-1M)

For use with [Transformers.js](https://huggingface.co/docs/transformers.js)

```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);
```