Update README.md
Browse files
README.md
CHANGED
|
@@ -32,13 +32,12 @@ async function runTextGeneration() {
|
|
| 32 |
{ quantized: true }
|
| 33 |
);
|
| 34 |
|
| 35 |
-
// Un prompt de chat a menudo incluye roles como 'user' y 'assistant'.
|
| 36 |
const prompt = 'Hola, 驴c贸mo est谩s hoy?';
|
| 37 |
|
| 38 |
const output = await generator(prompt, {
|
| 39 |
-
max_length: 100,
|
| 40 |
-
do_sample: true,
|
| 41 |
-
temperature: 0.7,
|
| 42 |
});
|
| 43 |
|
| 44 |
console.log(output);
|
|
|
|
| 32 |
{ quantized: true }
|
| 33 |
);
|
| 34 |
|
|
|
|
| 35 |
const prompt = 'Hola, 驴c贸mo est谩s hoy?';
|
| 36 |
|
| 37 |
const output = await generator(prompt, {
|
| 38 |
+
max_length: 100,
|
| 39 |
+
do_sample: true,
|
| 40 |
+
temperature: 0.7,
|
| 41 |
});
|
| 42 |
|
| 43 |
console.log(output);
|