Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import torch
|
|
8 |
from transformers import pipeline
|
9 |
import pandas as pd
|
10 |
|
11 |
-
instruct_pipeline = pipeline(model="databricks/dolly-v2-
|
12 |
|
13 |
|
14 |
def run_pipeline(prompt):
|
|
|
8 |
from transformers import pipeline
|
9 |
import pandas as pd
|
10 |
|
11 |
+
instruct_pipeline = pipeline(model="databricks/dolly-v2-7b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
|
12 |
|
13 |
|
14 |
def run_pipeline(prompt):
|