mirror of
https://github.com/tloen/alpaca-lora.git
synced 2024-10-01 01:05:56 -04:00
masking bugfix
This commit is contained in:
parent
3cdbfe5b0c
commit
fac53721a2
@ -139,7 +139,6 @@ def generate_and_tokenize_prompt(data_point):
|
|||||||
user_prompt,
|
user_prompt,
|
||||||
truncation=True,
|
truncation=True,
|
||||||
max_length=CUTOFF_LEN + 1,
|
max_length=CUTOFF_LEN + 1,
|
||||||
padding="max_length",
|
|
||||||
)["input_ids"]
|
)["input_ids"]
|
||||||
)
|
)
|
||||||
- 1
|
- 1
|
||||||
|
Loading…
Reference in New Issue
Block a user