Yurii Paniv
commited on
Commit
•
66d67c6
1
Parent(s):
b289fee
Add description
Browse files
README.md
CHANGED
@@ -3,3 +3,24 @@ tags:
|
|
3 |
- conversational
|
4 |
license: mit
|
5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
- conversational
|
4 |
license: mit
|
5 |
---
|
6 |
+
|
7 |
+
# Ukrainian AI chatbot alpha release
|
8 |
+
|
9 |
+
This model was trained on dataset of movie dialogs (uncleaned) from opensubtitles.org.
|
10 |
+
|
11 |
+
Link to training scripts: [https://github.com/robinhad/ukrainian-ai](https://github.com/robinhad/ukrainian-ai).
|
12 |
+
Link to end-to-end open source AI demo (speech-to-text-to-AI-to-voice): [https://huggingface.co/spaces/robinhad/ukrainian-ai](https://huggingface.co/spaces/robinhad/ukrainian-ai).
|
13 |
+
|
14 |
+
# Example usage
|
15 |
+
|
16 |
+
```python
|
17 |
+
from transformers import Conversation, pipeline, ConversationalPipeline
|
18 |
+
conv: ConversationalPipeline = pipeline("conversational", "robinhad/gpt2-uk-conversational")
|
19 |
+
|
20 |
+
text = "привіт, як тебе звати?"
|
21 |
+
result = conv(Conversation(text))
|
22 |
+
# result.add_user_input()
|
23 |
+
print(result)
|
24 |
+
```
|
25 |
+
|
26 |
+
<img src="https://visitor-badge-reloaded.herokuapp.com/badge?page_id=robinhad.ukrainian-ai-chatbot" alt="visitors badge"/>
|