From 24312af4d94d712e6a68ffd40d391d2c65e81353 Mon Sep 17 00:00:00 2001 From: ap565wq Date: Fri, 8 Nov 2024 17:47:35 +0100 Subject: [PATCH] . --- cleaned_output.txt => cleaned_book.txt | 0 metric_run.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename cleaned_output.txt => cleaned_book.txt (100%) diff --git a/cleaned_output.txt b/cleaned_book.txt similarity index 100% rename from cleaned_output.txt rename to cleaned_book.txt diff --git a/metric_run.py b/metric_run.py index 32c51b8..1e0b078 100644 --- a/metric_run.py +++ b/metric_run.py @@ -4,7 +4,7 @@ import jiwer import sacrebleu # 1. Загрузка модели и токенизатора -model_path = "T5Autocorrection1337" # Укажите путь к вашей модели +model_path = "google/mt5-large" # Укажите путь к вашей модели tokenizer = AutoTokenizer.from_pretrained(model_path) model = AutoModelForSeq2SeqLM.from_pretrained(model_path)