mkly commited on
Commit
e634dca
1 Parent(s): 9bf5573

Fix readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -13,11 +13,11 @@ Generated from [roneneldan/TinyStories-1M](https://huggingface.co/roneneldan/Tin
13
  For use with [Transformers.js](https://huggingface.co/docs/transformers.js)
14
 
15
  ```js
16
- const model= await pipeline(
17
  "text-generation",
18
  "mkly/TinyStories-1M-ONNX",
19
  );
20
- const response = await loadedModel(
21
  "Some example text",
22
  {
23
  max_new_tokens: 500,
 
13
  For use with [Transformers.js](https://huggingface.co/docs/transformers.js)
14
 
15
  ```js
16
+ const pipe = await pipeline(
17
  "text-generation",
18
  "mkly/TinyStories-1M-ONNX",
19
  );
20
+ const response = await pipe(
21
  "Some example text",
22
  {
23
  max_new_tokens: 500,