Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
Libraries:
Datasets
pandas
License:
Aspr commited on
Commit
562a4bd
1 Parent(s): b2591e6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -82,9 +82,8 @@ def generate(problem):
82
  problem = tokenizer.encode(problem, return_tensors="pt").to('cuda')
83
  sample = model.generate(
84
  problem,
85
- temperature=0.1,
86
- max_length=512,
87
- min_new_tokens=5,
88
  pad_token_id=tokenizer.eos_token_id,
89
  do_sample=False,
90
  num_beams=1,
 
82
  problem = tokenizer.encode(problem, return_tensors="pt").to('cuda')
83
  sample = model.generate(
84
  problem,
85
+ max_new_tokens=256,
86
+ min_new_tokens=128,
 
87
  pad_token_id=tokenizer.eos_token_id,
88
  do_sample=False,
89
  num_beams=1,