Skip to content

Commit

Permalink
fix deepseek remote code
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Aug 6, 2024
1 parent 360bd67 commit 5a6b8e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ tasks:
value: 0.664
limit: 1000
num_fewshot: 5
trust_remote_code: True
8 changes: 7 additions & 1 deletion .buildkite/lm-eval-harness/test_lm_eval_correctness.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@


def launch_lm_eval(eval_config):
try:
trust_remote_code = eval_config['trust_remote_code']
except:
trust_remote_code = False

model_args = f"pretrained={eval_config['model_name']}," \
f"tensor_parallel_size={TP_SIZE}," \
f"add_bos_token=true"
f"add_bos_token=true," \
f"trust_remote_code={trust_remote_code}"

results = lm_eval.simple_evaluate(
model="vllm",
Expand Down

0 comments on commit 5a6b8e1

Please sign in to comment.