Art Wielogorski commited on
Commit Β·
a0be824
1
Parent(s): 1fba743
trust_remote_code=True
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 11 |
torch_dtype=torch.bfloat16,
|
| 12 |
device_map="auto",
|
| 13 |
load_in_8bit=True,
|
|
|
|
| 14 |
)
|
| 15 |
|
| 16 |
def greet(prompt):
|
|
|
|
| 11 |
torch_dtype=torch.bfloat16,
|
| 12 |
device_map="auto",
|
| 13 |
load_in_8bit=True,
|
| 14 |
+
trust_remote_code=True
|
| 15 |
)
|
| 16 |
|
| 17 |
def greet(prompt):
|