mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-23 17:01:04 +02:00
eval shape mismatch fix
This commit is contained in:
parent
eb87612f91
commit
6f9503ab53
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ def construct_and_tokenize_ctx_qa(
|
|||
truncate_middle_if_too_long,
|
||||
fn_kwargs={
|
||||
"max_length": base_model_max_len,
|
||||
"columns": ["input_ids", "attention_mask"],
|
||||
"columns": ["input_ids", "attention_mask", "labels"],
|
||||
"max_new_tokens": 256,
|
||||
},
|
||||
# batched=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue