Spaces:
Runtime error
Runtime error
kingabzpro
commited on
Commit
•
ade5f42
1
Parent(s):
a4cc2d0
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,7 @@ examples = [["How are you?"]]
|
|
11 |
tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-rw-1b")
|
12 |
model = AutoModelForCausalLM.from_pretrained(
|
13 |
"tiiuae/falcon-rw-1b",
|
14 |
-
torch_dtype=torch.bfloat16,
|
15 |
trust_remote_code=True,
|
16 |
-
device_map="auto",
|
17 |
)
|
18 |
|
19 |
|
|
|
11 |
tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-rw-1b")
|
12 |
model = AutoModelForCausalLM.from_pretrained(
|
13 |
"tiiuae/falcon-rw-1b",
|
|
|
14 |
trust_remote_code=True,
|
|
|
15 |
)
|
16 |
|
17 |
|