Skip to content

Commit

Permalink
Updated WPS and params_config for large and nemo
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Sooriyarachchi authored and Avinash Sooriyarachchi committed Aug 15, 2024
1 parent e0b4636 commit 984ca2d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion utils/validate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"open-mistral-7b": 5720,
"open-mixtral-8x7b": 2966,
"open-mixtral-8x22b": 1007,
"mistral-large-latest": 326,
'open-mistral-nemo': 3337,
}

MIN_NUM_JSONL_LINES = 10
Expand Down Expand Up @@ -104,7 +106,11 @@ def get_train_stats(
model_id = "open-mixtral-8x7b"
elif params_config["dim"] == 6144:
model_id = "open-mixtral-8x22b"
else:
elif params_config["dim"] == 12288:
model_id = "mistral-large-latest"
elif params_config["dim"] == 5120:
model_id = "open-mistral-nemo"
else:
raise ValueError("Provided model folder seems incorrect.")
else:
model_id = train_args.model_id_or_path
Expand Down

0 comments on commit 984ca2d

Please sign in to comment.