mirror of
https://github.com/allenai/olmocr.git
synced 2025-09-21 22:48:04 +00:00
Oops removing print
This commit is contained in:
parent
aea3f7f1fe
commit
2dccc4be3b
@ -59,8 +59,6 @@ def prepare_data_for_qwen2_training(example, processor, add_batch_dim=False):
|
|||||||
padding=True,
|
padding=True,
|
||||||
return_tensors="np"
|
return_tensors="np"
|
||||||
)
|
)
|
||||||
|
|
||||||
print(labels["input_ids"].shape)
|
|
||||||
|
|
||||||
# Append an <|im_end|>\n" to the labels, because this is what it would look like
|
# Append an <|im_end|>\n" to the labels, because this is what it would look like
|
||||||
# if we passed the whole message stream in there
|
# if we passed the whole message stream in there
|
||||||
|
Loading…
x
Reference in New Issue
Block a user