Downloads · 30 days
3
16% of all-time downloads
NaveenKumar96/intent-setfit-deberta-v1
intent-setfit-deberta-v1 is a text classification model from NaveenKumar96. 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. A LogisticRegression instance is used for classification.
Downloads · 30 days
3
16% of all-time downloads
All-time downloads
19
Public
Parameters
184M
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.5 GB · 50%
From the Hugging Face model README
This is a SetFit model that can be used for Text Classification. A LogisticRegression instance is used for classification.
The model has been trained using an efficient few-shot learning technique that involves:
| Label | Examples |
|---|---|
| INFORMATION | <ul><li>'We lose a lot of time on the streets, easy laptop.'</li><li>'Okay, Lucid Gap 1.2, nice work. Right, eight laps to go once you cross the line.'</li><li>"Well done, Daniel. That's the checkered flag. P7, buddy. P7 is a good start. Well defended at the end. That was great driving last few laps. Cheers, guys. Good start. Obviously, I'll learn a bit from today. We'll keep getting better, but not a bad first weekend. Congrats."</li></ul> |
| PROBLEM | <ul><li>'I think I have still some damage. Balance is quite a bit off. Understood. We do see from data.'</li><li>'So that floor damage looks like it picked up at turn 8, so right hand side.'</li><li>'Okay, so switch off the engine please Lewis.'</li></ul> |
| ORDER | <ul><li>'Okay, mode race and focus on turn two preparation, turn two and three for this lap.'</li><li>'Okay, that last lap, same pace as signs. And mode seven. Mode seven.'</li><li>'Yuki, we are rear left limited, so watch we spin and we can push in the high speed. Push in the high speed.'</li></ul> |
| WARNING | <ul><li>'Be careful, a lot of people in the pit lane, so obviously they will move, but watch yourself as well.'</li><li>"The only concern I have, if the safety car comes out and we have to pit for that hard tyre and I can't get any temperature into it, we're in trouble. Yeah, copy Lewis, we're not concerned, we think everyone will be in the same boat, if not worse."</li><li>"So, Max, for info, you've been given a 10 second penalty for forcing Lando off track at turn 4. So, head down. 10. That's quite impressive. That was a lot of whinging. A lot."</li></ul> |
| QUESTION | <ul><li>"Do you want to flap adjust Nico? Not really, but it's new sticky tires. Let's maybe try. Which way would you go? I would take off, yeah. I would try less, I guess, and see what it feels like. Okay, copy. Take like half percent down. Turn 10 feels pretty low in grip, like tailwind, I think. The rear is pretty unhappy there. Yes, on the tailwind into 10. Also, 1 and 6 and 7 are tailwind. Okay, so we've taken off 0.5. We'll get a feel. One more grid. Go to the grid after this. Close the radio rear, it's too loud."</li><li>"That's it, mate. You are world champion. World champion. What a mate. I'm so proud. Lando, this is Zach from McLaren. Is this the world champion hotline? Yeah. You did it! You did it! Arthur! Woo! Thank you, guys. Oh my god. You made a kid's dream come true. Thank you so much. I love you guys. Thanks for everything. You deserve it. I love you, Mum. I love you, Dad. Thanks for everything. I'm not crying."</li><li>"And Lando, do you think you can get past? Otherwise, what about plan B? Remember R switch, R switch. Yeah, if you've got the goblins, go for it."</li></ul> |
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("setfit_model_id")
# Run inference
preds = model("Don't go too crazy on the brake warm up.")
<!--
### 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 | 27.2063 | 386 |
| Label | Training Sample Count |
|---|---|
| INFORMATION | 32 |
| PROBLEM | 32 |
| ORDER | 32 |
| WARNING | 32 |
| QUESTION | 32 |
| Epoch | Step | Training Loss | Validation Loss |
|---|---|---|---|
| 0.0013 | 1 | 0.1755 | - |
| 0.0625 | 50 | 0.3393 | - |
| 0.125 | 100 | 0.3649 | - |
| 0.1875 | 150 | 0.4159 | - |
| 0.25 | 200 | 0.3289 | - |
| 0.3125 | 250 | 0.3171 | - |
| 0.375 | 300 | 0.2952 | - |
| 0.4375 | 350 | 0.3004 | - |
| 0.5 | 400 | 0.3111 | - |
| 0.5625 | 450 | 0.3039 | - |
| 0.625 | 500 | 0.2702 | - |
| 0.6875 | 550 | 0.2891 | - |
| 0.75 | 600 | 0.2793 | - |
| 0.8125 | 650 | 0.2652 | - |
| 0.875 | 700 | 0.2761 | - |
| 0.9375 | 750 | 0.2603 | - |
| 1.0 | 800 | 0.2543 | 0.5 |
@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.*
-->