mabrowning
commited on
Commit
·
302c92b
1
Parent(s):
a9e1351
Correct typo in usage
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
41 |
|
42 |
# Load the tokenizer and model
|
43 |
tokenizer = AutoTokenizer.from_pretrained("cerebras/btlm-3b-8k-base")
|
44 |
-
model = AutoModelForCausalLM.from_pretrained("cerebras
|
45 |
|
46 |
# Set the prompt for generating text
|
47 |
prompt = "Albert Einstein was known for "
|
|
|
41 |
|
42 |
# Load the tokenizer and model
|
43 |
tokenizer = AutoTokenizer.from_pretrained("cerebras/btlm-3b-8k-base")
|
44 |
+
model = AutoModelForCausalLM.from_pretrained("cerebras/btlm-3b-8k-base", trust_remote_code=True, torch_dtype="auto")
|
45 |
|
46 |
# Set the prompt for generating text
|
47 |
prompt = "Albert Einstein was known for "
|