 !pip install transformers sentencepiece  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, T5Tokenizer import torch  model_name = 'artemnech/enrut5-base'  model = AutoModelForSeq2SeqLM.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pretrained(model_name)  def generate(text, **kwargs):     model.eval()     inputs = tokenizer(text, return_tensors='pt').to(model.device)     with torch.no_grad():         hypotheses = model.generate(**inputs,  **kwargs)     return tokenizer.decode(hypotheses[0], skip_special_tokens=True)  print(generate('translate ru-en: Я боюсь, что я не завершу доклад в ближайшее время.', num_beams=4,)) 