motexture commited on
Commit
2393278
1 Parent(s): ba6cdc6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ model_inputs = tokenizer([text], return_tensors="pt").to(device)
46
 
47
  generated_ids = model.generate(
48
  model_inputs.input_ids,
49
- max_new_tokens=512
50
  )
51
  generated_ids = [
52
  output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
 
46
 
47
  generated_ids = model.generate(
48
  model_inputs.input_ids,
49
+ max_new_tokens=4096
50
  )
51
  generated_ids = [
52
  output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)