Downloads · 30 days
6
10% of all-time downloads
dantepalacio/ruLongT5-Large
ruLongT5-Large is a machine learning model from dantepalacio. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
original model: agemagician/mlong-t5-tglobal-large
Downloads · 30 days
6
10% of all-time downloads
All-time downloads
63
Public
Repo size
8.3 GB
Likes
0
Public
Click a slice to open those files.
.bin4.2 GB · 100%
From the Hugging Face model README
original model: agemagician/mlong-t5-tglobal-large
adaptation guide: https://towardsdatascience.com/how-to-adapt-a-multilingual-t5-model-for-a-single-language-b9f94f3d9c90
import torch from transformers import MT5Tokenizer, LongT5ForConditionalGeneration
model_name = "dantepalacio/ruLongT5-Large" tokenizer = MT5Tokenizer.from_pretrained(model_name) model = LongT5ForConditionalGeneration.from_pretrained(model_name, ignore_mismatched_sizes=True)