Spaces:
Runtime error
Runtime error
savage1221
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ torch.random.manual_seed(0)
|
|
6 |
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
"savage1221/lora-fine",
|
9 |
-
device_map="cuda",
|
10 |
-
torch_dtype="auto",
|
11 |
trust_remote_code=True,
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained("savage1221/lora-fine",trust_remote_code=True)
|
|
|
6 |
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
"savage1221/lora-fine",
|
9 |
+
# device_map="cuda",
|
10 |
+
# torch_dtype="auto",
|
11 |
trust_remote_code=True,
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained("savage1221/lora-fine",trust_remote_code=True)
|