Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jul 17, 2024
1 parent 2aa7276 commit 0ffd0bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,16 @@ python -m scripts/run_generative.py \
--num_gpus 4 \
--output_dir $OUTDIR
```

To improve prompt output especially on multilingual cases, we recommend passing a tuple to the `--include_languages` parameter.
The first value should be the language a prompt was written in, and the second value should be the language the assistant should use in its answer.

```diff
python -m scripts/run_generative.py \
--dataset_name $DATASET \
--split $SPLIT \
--model "meta-llama/Meta-Llama-3-70B-Instruct" \
--num_gpus 4 \
+ --include_languages German English
--output_dir $OUTDIR
```

0 comments on commit 0ffd0bd

Please sign in to comment.