mlabonne commited on
Commit
717953c
1 Parent(s): ef151ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -241,7 +241,7 @@ prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_
241
  pipeline = transformers.pipeline(
242
  "text-generation",
243
  model=model,
244
- torch_dtype=torch.float16,
245
  device_map="auto",
246
  )
247
 
 
241
  pipeline = transformers.pipeline(
242
  "text-generation",
243
  model=model,
244
+ torch_dtype=torch.bfloat16,
245
  device_map="auto",
246
  )
247