模型:

robinhad/gpt2-uk-conversational

中文

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 . Link to end-to-end open source AI demo (speech-to-text-to-AI-to-voice): https://huggingface.co/spaces/robinhad/ukrainian-ai .

Example usage

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)