Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ INT8 ONNX version of [humarin/chatgpt_paraphraser_on_T5_base](https://huggingfac
|
|
11 |
```js
|
12 |
import { pipeline } from '@xenova/transformers';
|
13 |
|
14 |
-
const generator = await pipeline('text2text-generation', 'Felladrin/onnx-
|
15 |
const output = await generator("Rammstein's album Mutter was recorded in the south of France in May and June 2000, and mixed in Stockholm in October of that year.", { add_special_tokens: true, max_new_tokens: 128, repetition_penalty: 1.2});
|
16 |
console.log(output); // In May and June 2000, Rammstein's album Mutter was recorded in the south of France, with tracks taken in May & June then mixed in Stockholm in October that year.
|
17 |
```
|
|
|
11 |
```js
|
12 |
import { pipeline } from '@xenova/transformers';
|
13 |
|
14 |
+
const generator = await pipeline('text2text-generation', 'Felladrin/onnx-chatgpt_paraphraser_on_T5_base');
|
15 |
const output = await generator("Rammstein's album Mutter was recorded in the south of France in May and June 2000, and mixed in Stockholm in October of that year.", { add_special_tokens: true, max_new_tokens: 128, repetition_penalty: 1.2});
|
16 |
console.log(output); // In May and June 2000, Rammstein's album Mutter was recorded in the south of France, with tracks taken in May & June then mixed in Stockholm in October that year.
|
17 |
```
|