Update README.md

This commit is contained in:
Baptiste Doyen 2021-03-24 18:51:20 +00:00 committed by huggingface-web
parent 351cbc9ced
commit 3ff0900f48
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@ language:
thumbnail: thumbnail:
tags: tags:
- zero-shot-classification - zero-shot-classification
license: license: mit
pipeline_tag: zero-shot-classification
datasets: datasets:
- xlni - xlni
metrics: metrics:
@ -42,7 +43,7 @@ classifier(sequence, candidate_labels, hypothesis_template=hypothesis_template)
``` ```
- As a premise/hypothesis checker : <br> - 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 ```python
# load model and tokenizer # load model and tokenizer