mod gemma
This commit is contained in:
parent
87405935eb
commit
7a901d3fea
2
gemma.py
2
gemma.py
|
|
@ -65,7 +65,7 @@ lora_config = LoraConfig(
|
||||||
model = get_peft_model(model, lora_config)
|
model = get_peft_model(model, lora_config)
|
||||||
|
|
||||||
# 7️⃣ Tokenizacja danych
|
# 7️⃣ Tokenizacja danych
|
||||||
max_length = 1024
|
max_length = 512
|
||||||
|
|
||||||
def tokenize_function(examples):
|
def tokenize_function(examples):
|
||||||
return tokenizer(
|
return tokenizer(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue