Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ const text = generator.tokenizer.apply_chat_template(messages, {
|
|
36 |
const output = await generator(text, {
|
37 |
max_new_tokens: 128,
|
38 |
do_sample: false,
|
39 |
-
})
|
40 |
console.log(output[0].generated_text);
|
41 |
// 'A large language model is a type of artificial intelligence system that can generate text based on the input provided by users, such as books, articles, or websites. It uses advanced algorithms and techniques to learn from vast amounts of data and improve its performance over time through machine learning and natural language processing (NLP). Large language models have become increasingly popular in recent years due to their ability to handle complex tasks such as generating human-like text quickly and accurately. They have also been used in various fields such as customer service chatbots, virtual assistants, and search engines for information retrieval purposes.'
|
42 |
```
|
|
|
36 |
const output = await generator(text, {
|
37 |
max_new_tokens: 128,
|
38 |
do_sample: false,
|
39 |
+
});
|
40 |
console.log(output[0].generated_text);
|
41 |
// 'A large language model is a type of artificial intelligence system that can generate text based on the input provided by users, such as books, articles, or websites. It uses advanced algorithms and techniques to learn from vast amounts of data and improve its performance over time through machine learning and natural language processing (NLP). Large language models have become increasingly popular in recent years due to their ability to handle complex tasks such as generating human-like text quickly and accurately. They have also been used in various fields such as customer service chatbots, virtual assistants, and search engines for information retrieval purposes.'
|
42 |
```
|