Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text2text-generation
|
| 3 |
+
library_name: transformers.js
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- flare
|
| 7 |
+
- chatbot
|
| 8 |
+
- transformers
|
| 9 |
+
- gpt
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# FlareNew — Chatbot Model
|
| 13 |
+
|
| 14 |
+
This model is designed for interactive conversational tasks using text2text generation.
|
| 15 |
+
|
| 16 |
+
## Example
|
| 17 |
+
|
| 18 |
+
You can use this model with the Hugging Face Inference API or directly with `transformers.js` from a frontend.
|
| 19 |
+
|
| 20 |
+
```js
|
| 21 |
+
const generator = await pipeline("text2text-generation", "HaveAI/FlareNew");
|
| 22 |
+
const response = await generator("translate English to Russian: Hello, how are you?");
|
| 23 |
+
console.log(response[0].generated_text);
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Intended Use
|
| 27 |
+
|
| 28 |
+
- Chatbots
|
| 29 |
+
- Conversational AI
|
| 30 |
+
- Creative writing assistance
|
| 31 |
+
- HTML/JavaScript-based AI assistants (via `transformers.js`)
|
| 32 |
+
|
| 33 |
+
## License
|
| 34 |
+
|
| 35 |
+
MIT
|