cointegrated / rut5-small-chitchat

huggingface.co
Total runs: 160
24-hour runs: 3
7-day runs: -544
30-day runs: -639
Model's Last Updated: March 27 2023
text-generation

Introduction of rut5-small-chitchat

Model Details of rut5-small-chitchat

This is a version of the cointegrated/rut5-small model fine-tuned on some Russian dialogue data. It is not very smart and creative, but it is small and fast, and can serve as a fallback response generator for some chatbot or can be fine-tuned to imitate the style of someone.

The input of the model is the previous dialogue utterances separated by '\n\n' , and the output is the next utterance.

The model can be used as follows:

# !pip install transformers sentencepiece
import torch
from transformers import T5ForConditionalGeneration, T5Tokenizer

tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-chitchat")
model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-chitchat")

text = 'Привет! Расскажи, как твои дела?'
inputs = tokenizer(text, return_tensors='pt')
with torch.no_grad():
    hypotheses = model.generate(
        **inputs, 
        do_sample=True, top_p=0.5, num_return_sequences=3, 
        repetition_penalty=2.5,
        max_length=32,
    )
for h in hypotheses:
    print(tokenizer.decode(h, skip_special_tokens=True))
# Как обычно.
# Сейчас - в порядке.
# Хорошо.
# Wall time: 363 ms 

Runs of cointegrated rut5-small-chitchat on huggingface.co

160
Total runs
3
24-hour runs
-355
3-day runs
-544
7-day runs
-639
30-day runs

More Information About rut5-small-chitchat huggingface.co Model

More rut5-small-chitchat license Visit here:

https://choosealicense.com/licenses/mit

rut5-small-chitchat huggingface.co

rut5-small-chitchat huggingface.co is an AI model on huggingface.co that provides rut5-small-chitchat's model effect (), which can be used instantly with this cointegrated rut5-small-chitchat model. huggingface.co supports a free trial of the rut5-small-chitchat model, and also provides paid use of the rut5-small-chitchat. Support call rut5-small-chitchat model through api, including Node.js, Python, http.

rut5-small-chitchat huggingface.co Url

https://huggingface.co/cointegrated/rut5-small-chitchat

cointegrated rut5-small-chitchat online free

rut5-small-chitchat huggingface.co is an online trial and call api platform, which integrates rut5-small-chitchat's modeling effects, including api services, and provides a free online trial of rut5-small-chitchat, you can try rut5-small-chitchat online for free by clicking the link below.

cointegrated rut5-small-chitchat online free url in huggingface.co:

https://huggingface.co/cointegrated/rut5-small-chitchat

rut5-small-chitchat install

rut5-small-chitchat is an open source model from GitHub that offers a free installation service, and any user can find rut5-small-chitchat on GitHub to install. At the same time, huggingface.co provides the effect of rut5-small-chitchat install, users can directly use rut5-small-chitchat installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

rut5-small-chitchat install url in huggingface.co:

https://huggingface.co/cointegrated/rut5-small-chitchat

Url of rut5-small-chitchat

rut5-small-chitchat huggingface.co Url

Provider of rut5-small-chitchat huggingface.co

cointegrated
ORGANIZATIONS

Other API from cointegrated