zmiana modelu

This commit is contained in:
l.gabrysiak 2025-02-25 14:15:28 +01:00
parent 0c01db5995
commit 21634e53cc
1 changed files with 1 additions and 1 deletions

2
hft.py
View File

@ -151,7 +151,7 @@ class CustomTrainer(Trainer):
# Inicjalizacja komponentów
source_mapper = SourceMapper()
model_name = "mistralai/Mistral-7B-v0.1" #"google/gemma-2-2b"
model_name = "EleutherAI/gpt-neo-2.7B" #"google/gemma-2-2b"
tokenizer = AutoTokenizer.from_pretrained(model_name)
tokenizer.pad_token = tokenizer.eos_token