ToletiSri commited on
Commit
2c55854
1 Parent(s): 4c5a43c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ class _MLPVectorProjector(nn.Module):
28
  model_name = "microsoft/phi-2"
29
 
30
  with torch.no_grad():
31
- phi2_text = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True, device_map="auto",torch.dtype=torch.float16)
32
 
33
  tokenizer_text = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
34
 
 
28
  model_name = "microsoft/phi-2"
29
 
30
  with torch.no_grad():
31
+ phi2_text = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True, device_map="auto",torch_dtype=torch.float16)
32
 
33
  tokenizer_text = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
34