Update README.md
This commit is contained in:
parent
351cbc9ced
commit
3ff0900f48
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue