| # 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>) | |
| ``` | |
| # 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>) | |
| ``` | |