Spaces:
Runtime error
Runtime error
mwitiderrick
commited on
Commit
•
a6d1e7d
1
Parent(s):
d641658
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,6 @@ When deploying a text classification model, decreasing the model’s latency and
|
|
34 |
task = "zero_shot_text_classification"
|
35 |
sparse_classification_pipeline = Pipeline.create(
|
36 |
task=task,
|
37 |
-
top_k = 3,
|
38 |
model_path="zoo:nlp/text_classification/distilbert-none/pytorch/huggingface/mnli/pruned80_quant-none-vnni",
|
39 |
model_scheme="mnli",
|
40 |
model_config={"hypothesis_template": "This text is related to {}"},
|
|
|
34 |
task = "zero_shot_text_classification"
|
35 |
sparse_classification_pipeline = Pipeline.create(
|
36 |
task=task,
|
|
|
37 |
model_path="zoo:nlp/text_classification/distilbert-none/pytorch/huggingface/mnli/pruned80_quant-none-vnni",
|
38 |
model_scheme="mnli",
|
39 |
model_config={"hypothesis_template": "This text is related to {}"},
|