Update README.md

This commit is contained in:
Baptiste Doyen 2021-03-24 18:06:02 +00:00 committed by huggingface-web
parent 729e11046c
commit 7327598996
1 changed files with 9 additions and 13 deletions

View File

@ -1,19 +1,15 @@
--- ---
language: french language:
- - french
-
thumbnail: thumbnail:
tags: zero-shot-classification tags:
- - zero-shot-classification
-
-
license: license:
datasets: xlni datasets:
- - xlni
-
metrics: accuracy
-
- -
metrics:
- accuracy
--- ---
# camembert-base-xlni # camembert-base-xlni
@ -47,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