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
When I run the script of Training.embedding_model, a bug is occurred. How can I fix it?
File /gritlm/training/run.py", line 166, in main
else: raise NotImplementedError
NotImplementedError
The text was updated successfully, but these errors were encountered:
if you check line 166 you see that it's cuz your training data is not in the right format, what data are you using & whats ur script?
I run this script, and data is toy_data provided in code.
torchrun --nproc_per_node 1
-m training.run
--output_dir test_path
--model_name_or_path openaccess-ai-collective/tiny-mistral
--train_data training/toy_data
--learning_rate 1e-5
--num_train_epochs 5
--per_device_train_batch_size 2
--dataloader_drop_last True
--normalized True
--temperature 0.02
--query_max_len 32
--passage_max_len 128
--train_group_size 2
--negatives_cross_device
--mode unified
When I run the script of Training.embedding_model, a bug is occurred. How can I fix it?
File /gritlm/training/run.py", line 166, in main
else: raise NotImplementedError
NotImplementedError
The text was updated successfully, but these errors were encountered: