Skip to content

Commit

Permalink
Update language-modeling README.md, add trust_remote_code for flan-t5…
Browse files Browse the repository at this point in the history
…-xl (#1422)
  • Loading branch information
hsubramony authored and regisss committed Oct 17, 2024
1 parent cf1cbd1 commit 8d75936
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/language-modeling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,8 @@ python3 ../gaudi_spawn.py --world_size 8 --use_mpi peft_poly_seq2seq_with_genera
--per_device_eval_batch_size 4 \
--bf16 \
--use_hpu_graphs_for_inference \
--use_hpu_graphs_for_training
--use_hpu_graphs_for_training \
--trust_remote_code
```


Expand Down
2 changes: 2 additions & 0 deletions examples/text-generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ First, you should install the requirements:
pip install -r requirements_lm_eval.txt
```

> [!NOTE]
> If custom models on hub is being used, please set env variable HF_DATASETS_TRUST_REMOTE_CODE=true instead of arg --trust_remote_code with the installed lm_eval version and dependency datasets==2.21.0
### Examples

Expand Down

0 comments on commit 8d75936

Please sign in to comment.