aksinghyaani commited on
Commit
4bf161d
·
verified ·
1 Parent(s): 459a8eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -108,7 +108,7 @@ model = AutoModelForCausalLM.from_pretrained(
108
  model_name,
109
  trust_remote_code=True,
110
  device_map="auto",
111
- )
112
 
113
  prompt = "Newton's Second Law"
114
  model_inputs = tokenizer([prompt], return_tensors="pt").to(model.device)
 
108
  model_name,
109
  trust_remote_code=True,
110
  device_map="auto",
111
+ ).eval()
112
 
113
  prompt = "Newton's Second Law"
114
  model_inputs = tokenizer([prompt], return_tensors="pt").to(model.device)