Views
No views yet
Create a text input file with prompts (ex: "Show me some attractions in Boston")
then run:
onmt_translate --config mistral-inference.yaml --src input.txt --output output.txtIf you git clone the OpenNMT-py repo then you can run:
python eval_llm/MMLU/run_mmlu_opennmt.py --config mistral-inference.yaml
For this use case make sure you use max_length=1 in the config fileRead this tuto: https://forum.opennmt.net/t/finetuning-llama-7b-13b-or-mosaicml-mpt-7b-reproduce-vicuna-alpaca/5272/56
onmt_train --config mistral-finetuning.yaml