r1char9 / ruT5_q_a

huggingface.co
Total runs: 9
24-hour runs: 0
7-day runs: 0
30-day runs: -14
Model's Last Updated: June 14 2024
question-answering

Introduction of ruT5_q_a

Model Details of ruT5_q_a

Модель ruT5-base была fine-tuned для задачи question answer , предназначенная для Russian текст.

Uses
from transformers import AutoTokenizer, T5ForConditionalGeneration

qa_checkpoint = 'r1char9/ruT5_q_a'
qa_model = T5ForConditionalGeneration.from_pretrained(qa_checkpoint)
qa_tokenizer = AutoTokenizer.from_pretrained(qa_checkpoint)

prompt='Нарисуй изображение Томаса Шелби'

def question_answering(prompt):
    question = "Что нужно нарисовать?"
    tokenized_sentence = qa_tokenizer(prompt, question, return_tensors='pt')
    res = qa_model.generate(**tokenized_sentence)
    decoded_res = qa_tokenizer.decode(res[0], skip_special_tokens=True)
    return decoded_res

prompt = question_answering(prompt)
# 'изображение Томаса Шелби'

Runs of r1char9 ruT5_q_a on huggingface.co

9
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-14
30-day runs

More Information About ruT5_q_a huggingface.co Model

More ruT5_q_a license Visit here:

https://choosealicense.com/licenses/mit

ruT5_q_a huggingface.co

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

r1char9 ruT5_q_a online free

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

r1char9 ruT5_q_a online free url in huggingface.co:

https://huggingface.co/r1char9/ruT5_q_a

ruT5_q_a install

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

ruT5_q_a install url in huggingface.co:

https://huggingface.co/r1char9/ruT5_q_a

Url of ruT5_q_a

ruT5_q_a huggingface.co Url

Provider of ruT5_q_a huggingface.co

r1char9
ORGANIZATIONS

Other API from r1char9

huggingface.co

Total runs: 74
Run Growth: 0
Growth Rate: 0.00%
Updated:June 15 2024