File size: 242 Bytes
e852310
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# Inference
```python
from transformers import pipeline

pipe = pipeline(model="mathislucka/deberta-base-hallucination-eval-v2", task="text-classification", function_to_apply="none")

prediction = pipe(<statement> + "[SEP]" + <evidence>)
```