mod herbert

This commit is contained in:
l.gabrysiak 2025-03-01 09:47:44 +01:00
parent a5e5401548
commit 3d477870ad
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ eval_dataset = split_dataset["test"]
# 5⃣ Ładowanie modelu Gemma 2B
device = "cuda" if torch.cuda.is_available() else "cpu"
model_name = "pczarnik/herbert-base-ner"
model_name = "Voicelab/trurl-2-13b"
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16).to(device)
tokenizer = AutoTokenizer.from_pretrained(model_name)