Merge branch 'main' of https://huggingface.co/BaptisteDoyen/camembert-base-xlni into main
This commit is contained in:
commit
e465c1e5f8
10
README.md
10
README.md
|
@ -1,10 +1,14 @@
|
||||||
---
|
---
|
||||||
language:
|
language:
|
||||||
- french
|
- fr
|
||||||
thumbnail:
|
thumbnail:
|
||||||
tags:
|
tags:
|
||||||
- zero-shot-classification
|
- zero-shot-classification
|
||||||
license:
|
- xnli
|
||||||
|
- nli
|
||||||
|
- fr
|
||||||
|
license: mit
|
||||||
|
pipeline_tag: zero-shot-classification
|
||||||
datasets:
|
datasets:
|
||||||
- xlni
|
- xlni
|
||||||
metrics:
|
metrics:
|
||||||
|
@ -42,7 +46,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
|
||||||
|
|
Loading…
Reference in New Issue