Cyrile Delestre
commited on
Commit
·
facd6d9
1
Parent(s):
46487e1
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ Zero-shot classification
|
|
| 51 |
------------------------
|
| 52 |
|
| 53 |
The main advantage of such modelization is to create a zero-shot classifier allowing text classification without training. This task can be summarized by:
|
| 54 |
-
$$P(hypothesis=i|premise)=\frac{e^{P(premise=entailment\vert hypothesis=i)}}{\sum_{j\in\mathcal{C}}e^{P(premise=entailment\vert hypothesis=j)}}$$
|
| 55 |
|
| 56 |
For this part, we use 2 datasets, the first one: [allocine](https://huggingface.co/datasets/allocine) used to train the sentiment analysis models. The dataset is composed of 2 classes: "positif" and "négatif" appreciation of movies reviews. Here we use "Ce commentaire est {}." as the hypothesis template and "positif" and "négatif" as candidate labels.
|
| 57 |
|
|
|
|
| 51 |
------------------------
|
| 52 |
|
| 53 |
The main advantage of such modelization is to create a zero-shot classifier allowing text classification without training. This task can be summarized by:
|
| 54 |
+
$$P(hypothesis=i\in\mathcal{C}|premise)=\frac{e^{P(premise=entailment\vert hypothesis=i)}}{\sum_{j\in\mathcal{C}}e^{P(premise=entailment\vert hypothesis=j)}}$$
|
| 55 |
|
| 56 |
For this part, we use 2 datasets, the first one: [allocine](https://huggingface.co/datasets/allocine) used to train the sentiment analysis models. The dataset is composed of 2 classes: "positif" and "négatif" appreciation of movies reviews. Here we use "Ce commentaire est {}." as the hypothesis template and "positif" and "négatif" as candidate labels.
|
| 57 |
|