Spaces:
Runtime error
Runtime error
mend
Browse files
app.py
CHANGED
|
@@ -40,8 +40,8 @@ class EntailmentChecker(BaseComponent):
|
|
| 40 |
tokenizer: Optional[str] = None,
|
| 41 |
use_gpu: bool = True,
|
| 42 |
batch_size: int = 100,
|
| 43 |
-
entailment_contradiction_consideration: float = 0.
|
| 44 |
-
entailment_contradiction_threshold: float = 0.
|
| 45 |
):
|
| 46 |
"""
|
| 47 |
Load a Natural Language Inference model from Transformers.
|
|
|
|
| 40 |
tokenizer: Optional[str] = None,
|
| 41 |
use_gpu: bool = True,
|
| 42 |
batch_size: int = 100,
|
| 43 |
+
entailment_contradiction_consideration: float = 0.7,
|
| 44 |
+
entailment_contradiction_threshold: float = 0.95
|
| 45 |
):
|
| 46 |
"""
|
| 47 |
Load a Natural Language Inference model from Transformers.
|