You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the README and searched the existing issues.
System Info
linux
Reproduction
instruction = f'Judge whether the movie review is positive or negative.'
fine_tune_data = [{
'instruction': instruction,
'input': data['text'],
'output': 'positive' if data['label'] == 1 else 'negative'
} for data in train_data]
json.dump(fine_tune_data, open('LLaMA-Factory/data/imdb.json', 'w'), indent=2)
模型的输出有大量的negative和positive,并且lora合并之后,推理速度明显下降。
Expected behavior
仅输出一个positive或negative
Others
No response
The text was updated successfully, but these errors were encountered:
Reminder
System Info
linux
Reproduction
模型的输出有大量的negative和positive,并且lora合并之后,推理速度明显下降。
Expected behavior
仅输出一个positive或negative
Others
No response
The text was updated successfully, but these errors were encountered: