python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
We will use MODEL=google/codegemma-7b-it
as an example, replace with the HF-Hub path of the model you wish to evaluate.
The first step of an evaluation is to convert an interview into prompts using the prepare.py
script:
python3 ./prepare.py --chat $MODEL --interview junior-v2
The prompts will be written to results/prepare_junior-v2_python-javascript_chat-simple-google-codegemma-7b-it.ndjson
Let's also prepare to run the senior
interview at the same time:
python3 ./prepare.py --chat $MODEL --interview junior-v2
pip3 install -r requirements.transformers.txt
python3 ./interview_cuda.py \
--runtime transformers \
--model_name google/codegemma-7b-it \
--input results/prepare_junior-v2_python-javascript_chat-simple-google-codegemma-7b-it.ndjson \
--params params/greedy-hf.json
TODO
TODO
TODO
TODO
TODO