Skip to content

Commit

Permalink
need at least 500 tokens for interpretable code-switching performance…
Browse files Browse the repository at this point in the history
… since it seems to gear towards monolingual English
  • Loading branch information
ctarnold committed Mar 22, 2024
1 parent b505367 commit ccb4975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistralPromptingZeroShot.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
model_inputs = tokenizer([prefix + prompt], return_tensors="pt").to(device)

generated_ids = model.generate(**model_inputs,
max_new_tokens=200,
max_new_tokens=512,
temperature = 0.7,
do_sample=True)

Expand Down

0 comments on commit ccb4975

Please sign in to comment.