vishesh-t27 commited on
Commit
3e217be
·
verified ·
1 Parent(s): c6a866f

Updated readme.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -143,7 +143,7 @@ model = AutoModelForCausalLM.from_pretrained(
143
  model_name,
144
  trust_remote_code=True,
145
  device_map="auto",
146
- ).eval()
147
 
148
  prompt = """
149
  The night was quiet and the streets were empty.
 
143
  model_name,
144
  trust_remote_code=True,
145
  device_map="auto",
146
+ ).to(device).eval()
147
 
148
  prompt = """
149
  The night was quiet and the streets were empty.