fix scripts

This commit is contained in:
hiyouga
2024-12-05 03:47:28 +00:00
parent cf29846830
commit eb3e147d19
4 changed files with 32 additions and 24 deletions

View File

@@ -31,7 +31,8 @@ def length_cdf(
):
r"""
Calculates the distribution of the input lengths in the dataset.
Usage: python length_cdf.py --model_name_or_path path_to_model --dataset alpaca_en_demo --template default
Usage: export CUDA_VISIBLE_DEVICES=0
python length_cdf.py --model_name_or_path path_to_model --dataset alpaca_en_demo --template default
"""
model_args, data_args, training_args, _, _ = get_train_args(
dict(