This commit is contained in:
BDoyen 2021-03-25 10:47:14 +00:00
commit e465c1e5f8
1 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,14 @@
---
language:
- french
- fr
thumbnail:
tags:
- zero-shot-classification
license:
- xnli
- nli
- fr
license: mit
pipeline_tag: zero-shot-classification
datasets:
- xlni
metrics:
@ -42,7 +46,7 @@ classifier(sequence, candidate_labels, hypothesis_template=hypothesis_template)
```
- As a premise/hypothesis checker : <br>
The idea is here to compute a probability of the form \\\\\\\\(P(premise|hypothesis)\\\\\\\\)
The idea is here to compute a probability of the form \\(P(premise|hypothesis)\\)
```python
# load model and tokenizer