Felladrin commited on
Commit
6bea365
1 Parent(s): a593cad

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: "transformers.js"
3
+ base_model: sachith-surge/Evol-Orca-LaMini-flan-t5-small
4
+ ---
5
+
6
+ INT8 ONNX version of [sachith-surge/Evol-Orca-LaMini-flan-t5-small](https://huggingface.co/sachith-surge/Evol-Orca-LaMini-flan-t5-small) to use with [Transformers.js](https://huggingface.co/docs/transformers.js).
7
+
8
+ ### Example usage
9
+
10
+ ```js
11
+ import { pipeline } from '@xenova/transformers';
12
+
13
+ const generator = await pipeline('text2text-generation', 'Felladrin/onnx-Evol-Orca-LaMini-flan-t5-small');
14
+ const output = await generator("How can I become more healthy?", { add_special_tokens: true, max_new_tokens: 50, repetition_penalty: 1.2});
15
+ console.log(output); // 1. Exercise: Exercise can help you stay fit and healthy. It can help you stay fit and...
16
+ ```