Downloads · 30 days
3
5% of all-time downloads
livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune
m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune is a text classification model from livinNector. Use it when you need a label for a piece of text. It is set up for setfit.
This is a SetFit model that can be used for Text Classification. This SetFit model uses microsoft/Multilingual-MiniLM-L12-H384 as the Sentence Transformer embedding model. A SetFitHead instance is used for classificat…
Downloads · 30 days
3
5% of all-time downloads
All-time downloads
57
Public
Parameters
118M
493 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors471 MB · 95%
From the Hugging Face model README
This is a SetFit model that can be used for Text Classification. This SetFit model uses microsoft/Multilingual-MiniLM-L12-H384 as the Sentence Transformer embedding model. A SetFitHead instance is used for classification.
The model has been trained using an efficient few-shot learning technique that involves:
| Label | Examples |
|---|---|
| 0 | <ul><li>'Madam divyaக்கு 1கிலோ colgate paste வாங்கி கொடுங்க videoவில் வாய் நாற்றம் தாங்கல'</li><li>'ഇനി ഇതുപോലുള്ള സാദനം ആയി വന്നാൽ ഞാൻ ഡിസ്ക്രൈബ് ചെയ്യും'</li><li>'ஏன்பா behindwoods தயவு செய்து இப்படி கேவலமான programme ஐ telecast பண்ணாதீங்க ராஜா'</li></ul> |
| 1 | <ul><li>'கம்பிய பழுக்க வச்சு சூத்துல வைங்க சார்'</li><li>'ഇനി റെഡ് സ്ട്രീറ്റ്റിലും കൂടി പോയി ഇന്റർവ്യൂ എടുക്ക് ചേച്ചി'</li><li>'നിങ്ങൾ പണ്ടേ വിവരക്കേടാണ്. ബോധം ഇല്ലായ്മ കാണിക്കാതെ സ്ത്രീ. മറ്റുള്ളവരുടെ കിഡ്ണി കളയിപ്പിച്ചിട്ടുവേണോ നിന്റെ കഞ്ഞി കുടിക്കൽ.'</li></ul> |
| Label | Accuracy |
|---|---|
| all | 0.6875 |
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("livinNector/m-minilm-l12-h384-dra-tam-mal-aw-setfit-finetune")
# Run inference
preds = model("\"ഒരുപാട് ഇഷ്ട്ടപെട്ട പോലെ ഒരുപാട് വെറുത്ത് പോയി, ഡോക്ടറെ കിട്ടാനുള്ള ഭാഗ്യം ഇല്ല\"")
<!--
### Downstream Use
*List how someone could finetune this model on their own dataset.*
-->
<!--
### Out-of-Scope Use
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->
<!--
## Bias, Risks and Limitations
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->
<!--
### Recommendations
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->
| Training set | Min | Median | Max |
|---|---|---|---|
| Word count | 2 | 15.4375 | 123 |
| Label | Training Sample Count |
|---|---|
| 0 | 132 |
| 1 | 124 |
| Epoch | Step | Training Loss | Validation Loss |
|---|---|---|---|
| 0.0625 | 1 | 0.422 | - |
| 0.625 | 10 | - | 0.4029 |
| 1.25 | 20 | - | 0.2799 |
| 1.875 | 30 | - | 0.2464 |
| 2.5 | 40 | - | 0.2480 |
| 3.125 | 50 | 0.2964 | 0.2451 |
| 3.75 | 60 | - | 0.2368 |
| 4.375 | 70 | - | 0.2444 |
| 5.0 | 80 | - | 0.2393 |
| 5.625 | 90 | - | 0.2382 |
| 6.25 | 100 | 0.1825 | 0.2395 |
| 6.875 | 110 | - | 0.2405 |
| 7.5 | 120 | - | 0.2424 |
| 8.125 | 130 | - | 0.2468 |
| 8.75 | 140 | - | 0.2432 |
| 9.375 | 150 | 0.1308 | 0.2451 |
| 10.0 | 160 | - | 0.2454 |
@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}
}
<!--
## Glossary
*Clearly define terms in order to be accessible across audiences.*
-->
<!--
## Model Card Authors
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->
<!--
## Model Card Contact
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->