Splend1dchan commited on
Commit
f8b2f22
·
verified ·
1 Parent(s): 425ec5a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -179,7 +179,7 @@ model = AutoModelForCausalLM.from_pretrained(
179
  model="MediaTek-Research/Breeze-7B-Base-v0.1",
180
  device_map="auto",
181
  torch_dtype=torch.bfloat16,
182
- use_flash_attn_2=True # optional
183
  )
184
  ```
185
 
 
179
  model="MediaTek-Research/Breeze-7B-Base-v0.1",
180
  device_map="auto",
181
  torch_dtype=torch.bfloat16,
182
+ attn_implementation="flash_attention_2" # optional
183
  )
184
  ```
185