Xenova HF staff commited on
Commit
13ac1c5
1 Parent(s): 0513469

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -22,10 +22,9 @@ const generator = await pipeline('text-generation', 'Xenova/llama2.c-stories15M'
22
  const text = 'Once upon a time,';
23
  const output = await generator(text);
24
  console.log(output);
25
- // [{ generated_text: "I enjoy walking with my cute dog, and I love to play with the other dogs." }]
26
 
27
  const output2 = await generator(text, { max_new_tokens: 50 });
28
  console.log(output2);
29
  // [{ generated_text: "Once upon a time, there was a little girl named Lily. She loved to play outside in the sunshine. One day, she saw a big, dark cloud in the sky. She knew it was going to rain soon.\nLily ran inside her house" }]
30
-
31
  ```
 
22
  const text = 'Once upon a time,';
23
  const output = await generator(text);
24
  console.log(output);
25
+ // [{ generated_text: "Once upon a time, there was a little girl named Lily. She loved to play outside in" }]
26
 
27
  const output2 = await generator(text, { max_new_tokens: 50 });
28
  console.log(output2);
29
  // [{ generated_text: "Once upon a time, there was a little girl named Lily. She loved to play outside in the sunshine. One day, she saw a big, dark cloud in the sky. She knew it was going to rain soon.\nLily ran inside her house" }]
 
30
  ```