Spaces:
Runtime error
Runtime error
Commit
·
a70d0c5
1
Parent(s):
62884a2
Deleted torch.dtype
Browse files
app.py
CHANGED
@@ -8,11 +8,9 @@ tokenizer = AutoTokenizer.from_pretrained(model)
|
|
8 |
pipeline = transformers.pipeline(
|
9 |
"text-generation",
|
10 |
model=model,
|
11 |
-
torch_dtype=torch.float32,
|
12 |
device_map="auto",
|
13 |
)
|
14 |
|
15 |
-
|
16 |
sequences = pipeline(
|
17 |
"What is Extra-T in debate?",
|
18 |
do_sample=True,
|
|
|
8 |
pipeline = transformers.pipeline(
|
9 |
"text-generation",
|
10 |
model=model,
|
|
|
11 |
device_map="auto",
|
12 |
)
|
13 |
|
|
|
14 |
sequences = pipeline(
|
15 |
"What is Extra-T in debate?",
|
16 |
do_sample=True,
|