hkiyomaru commited on
Commit
820cd7d
1 Parent(s): 35675cd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -49,7 +49,7 @@ Checkpoints format: Hugging Face Transformers
49
  - accelerate>=0.27.2
50
  - flash-attn>=2.5.6
51
 
52
- ## Usage (To be updated)
53
 
54
  ```python
55
  import torch
@@ -65,6 +65,7 @@ with torch.no_grad():
65
  do_sample=True,
66
  top_p=0.95,
67
  temperature=0.7,
 
68
  )[0]
69
  print(tokenizer.decode(output))
70
  ```
 
49
  - accelerate>=0.27.2
50
  - flash-attn>=2.5.6
51
 
52
+ ## Usage
53
 
54
  ```python
55
  import torch
 
65
  do_sample=True,
66
  top_p=0.95,
67
  temperature=0.7,
68
+ repetition_penalty=1.05,
69
  )[0]
70
  print(tokenizer.decode(output))
71
  ```