Isotonic commited on
Commit
62257b4
1 Parent(s): f272e9c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -44,7 +44,7 @@ tokenizer = AutoTokenizer.from_pretrained(model)
44
  pipeline = transformers.pipeline(
45
  "text-generation",
46
  model=model,
47
- model_kwargs={"torch_dtype": torch.float16},
48
  )
49
 
50
  messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
 
44
  pipeline = transformers.pipeline(
45
  "text-generation",
46
  model=model,
47
+ model_kwargs={"torch_dtype": torch.bfloat16},
48
  )
49
 
50
  messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]