Intent classificator
Collection
11 items
•
Updated
This is a SetFit model that can be used for Text Classification. This SetFit model uses projecte-aina/ST-NLI-ca_paraphrase-multilingual-mpnet-base as the Sentence Transformer embedding model. A LogisticRegression instance is used for classification.
The model has been trained using an efficient few-shot learning technique that involves:
Label | Examples |
---|---|
1 |
|
2 |
|
0 |
|
First install the SetFit library:
pip install setfit
Then you can load this model and run inference.
from setfit import SetFitModel
# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("adriansanz/gret6")
# Run inference
preds = model("Puc canviar el meu idioma preferit?")
Training set | Min | Median | Max |
---|---|---|---|
Word count | 1 | 9.3443 | 36 |
Label | Training Sample Count |
---|---|
0 | 70 |
1 | 71 |
2 | 71 |
Epoch | Step | Training Loss | Validation Loss |
---|---|---|---|
0.0021 | 1 | 0.1891 | - |
0.1066 | 50 | 0.1719 | - |
0.2132 | 100 | 0.0455 | - |
0.3198 | 150 | 0.0013 | - |
0.4264 | 200 | 0.0004 | - |
0.5330 | 250 | 0.0002 | - |
0.6397 | 300 | 0.0002 | - |
0.7463 | 350 | 0.0001 | - |
0.8529 | 400 | 0.0001 | - |
0.9595 | 450 | 0.0001 | - |
1.0 | 469 | - | 0.0062 |
1.0661 | 500 | 0.0001 | - |
1.1727 | 550 | 0.0001 | - |
1.2793 | 600 | 0.0001 | - |
1.3859 | 650 | 0.0001 | - |
1.4925 | 700 | 0.0001 | - |
1.5991 | 750 | 0.0001 | - |
1.7058 | 800 | 0.0001 | - |
1.8124 | 850 | 0.0001 | - |
1.9190 | 900 | 0.0001 | - |
2.0 | 938 | - | 0.0042 |
2.0256 | 950 | 0.0 | - |
2.1322 | 1000 | 0.0 | - |
2.2388 | 1050 | 0.0 | - |
2.3454 | 1100 | 0.0 | - |
2.4520 | 1150 | 0.0 | - |
2.5586 | 1200 | 0.0 | - |
2.6652 | 1250 | 0.0 | - |
2.7719 | 1300 | 0.0 | - |
2.8785 | 1350 | 0.0 | - |
2.9851 | 1400 | 0.0 | - |
3.0 | 1407 | - | 0.0034 |
@article{https://doi.org/10.48550/arxiv.2209.11055,
doi = {10.48550/ARXIV.2209.11055},
url = {https://arxiv.org/abs/2209.11055},
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Efficient Few-Shot Learning Without Prompts},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}