Update app.py
Browse files
app.py
CHANGED
|
@@ -22,8 +22,7 @@ class _MLPVectorProjector(nn.Module):
|
|
| 22 |
|
| 23 |
model_name = "microsoft/phi-2"
|
| 24 |
|
| 25 |
-
phi2_text = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True
|
| 26 |
-
torch_dtype = torch.float16)
|
| 27 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
| 28 |
|
| 29 |
|
|
|
|
| 22 |
|
| 23 |
model_name = "microsoft/phi-2"
|
| 24 |
|
| 25 |
+
phi2_text = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
|
|
|
|
| 26 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
| 27 |
|
| 28 |
|