|
--- |
|
tags: |
|
- conversational |
|
license: mit |
|
widget: |
|
- text: "привіт, як тебе звати?" |
|
example_title: "Питаємо ім'я" |
|
--- |
|
|
|
# Ukrainian AI chatbot alpha release |
|
|
|
This model was trained on dataset of movie dialogs (uncleaned) from opensubtitles.org. |
|
|
|
Link to training scripts: [https://github.com/robinhad/ukrainian-ai](https://github.com/robinhad/ukrainian-ai). |
|
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). |
|
|
|
# Example usage |
|
|
|
```python |
|
from transformers import Conversation, pipeline, ConversationalPipeline |
|
conv: ConversationalPipeline = pipeline("conversational", "robinhad/gpt2-uk-conversational") |
|
|
|
text = "привіт, як тебе звати?" |
|
result = conv(Conversation(text)) |
|
# result.add_user_input() |
|
print(result) |
|
``` |
|
|
|
<img src="https://visitor-badge-reloaded.herokuapp.com/badge?page_id=robinhad.ukrainian-ai-chatbot" alt="visitors badge"/> |