Spaces:
Paused
Paused
ManishThota
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -15,11 +15,11 @@ from io import StringIO
|
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
|
17 |
# Initialize the model and tokenizer
|
18 |
-
model = AutoModelForCausalLM.from_pretrained("ManishThota/
|
19 |
torch_dtype=torch.float16,
|
20 |
device_map="auto",
|
21 |
trust_remote_code=True)
|
22 |
-
tokenizer = AutoTokenizer.from_pretrained("ManishThota/
|
23 |
|
24 |
|
25 |
|
|
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
|
17 |
# Initialize the model and tokenizer
|
18 |
+
model = AutoModelForCausalLM.from_pretrained("ManishThota/CustomModel",
|
19 |
torch_dtype=torch.float16,
|
20 |
device_map="auto",
|
21 |
trust_remote_code=True)
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained("ManishThota/CustomModel", trust_remote_code=True)
|
23 |
|
24 |
|
25 |
|