Efficient Few-Shot Learning Without Prompts
Paper
•
2209.11055
•
Published
•
4
This is a SetFit model that can be used for Text Classification. This SetFit model uses mini1013/master_domain 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 |
|---|---|
| 0.0 |
|
| 1.0 |
|
| 2.0 |
|
| Label | Metric |
|---|---|
| all | 0.9977 |
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("mini1013/master_cate_ac5")
# Run inference
preds = model("순금뱃지 1.875g 기업 회사 은행 병원 대학교 금뱃지 2.금형추가 투자골드")
| Training set | Min | Median | Max |
|---|---|---|---|
| Word count | 4 | 7.7583 | 17 |
| Label | Training Sample Count |
|---|---|
| 0.0 | 50 |
| 1.0 | 50 |
| 2.0 | 20 |
| Epoch | Step | Training Loss | Validation Loss |
|---|---|---|---|
| 0.0526 | 1 | 0.4971 | - |
| 2.6316 | 50 | 0.0373 | - |
| 5.2632 | 100 | 0.0001 | - |
| 7.8947 | 150 | 0.0 | - |
| 10.5263 | 200 | 0.0 | - |
| 13.1579 | 250 | 0.0 | - |
| 15.7895 | 300 | 0.0 | - |
| 18.4211 | 350 | 0.0 | - |
@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}
}