Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,9 @@ os.makedirs('./temp', exist_ok=True)
|
|
15 |
|
16 |
print('\n\n\n')
|
17 |
print('Loading model...')
|
18 |
-
# pipe = transformers.pipeline("text-generation", model="openai-community/gpt2")
|
19 |
pipe = transformers.pipeline(
|
20 |
"text-generation",
|
21 |
-
model="dx2102/llama-midi-
|
22 |
torch_dtype="bfloat16",
|
23 |
device_map="auto",
|
24 |
)
|
|
|
15 |
|
16 |
print('\n\n\n')
|
17 |
print('Loading model...')
|
|
|
18 |
pipe = transformers.pipeline(
|
19 |
"text-generation",
|
20 |
+
model="dx2102/llama-midi-v9",
|
21 |
torch_dtype="bfloat16",
|
22 |
device_map="auto",
|
23 |
)
|