Comments (3)
in my experiment(50 classes and each class used 20 to 50 examples), setfit accuracy is 0.857
from setfit.
Did you compare it to supervised learning with fine-tuning?
from setfit.
For the number samples to switch between few shots and standard supervised learning and fine-tuning part, It would be subjective SETfit performance is slightly less then supervised learning and fine-tuning part with lot of examples.
I prefer SETfit where there is no/ low number of training data. (16/ 32 samples per class.). If one has a way out to do labelling should go ahead and use standard supervised learning and fine-tuning. Ultimately its a trade-off game.
But SETfit does gives very good start with few samples.
For num_iterations, I try increasing it till the point i get performance gain. (Treat it as hyper-parameter.)
from setfit.
Related Issues (20)
- RuntimeError: CUDA error: device-side assert triggered HOT 2
- Very low and inaccurate prediction probabilities for multi-class classification HOT 4
- create_model_card() TemplateAssertionError HOT 1
- Unable to reproduce hyper param results HOT 4
- Use e5-mistral-7b-instruct as body model for text classification HOT 2
- Unable to run Text-Classification task because of error related to 'experiment_name' HOT 3
- trust_remote_code not passed in properly
- Totally unreliable results. What I'm doing wrong? HOT 1
- ABSA for Non-English Language HOT 4
- facing issue while importing setfit classifier HOT 1
- Warning from sentence-transformer, version 2.3.1 HOT 1
- Hyperparameter tuning for AbsaModel
- No timeout downloading model card data from hub api when loading pretrained model in disconnected environment
- model_config = model.config.to_dict() - AttributeError: 'dict' object has no attribute 'to_dict' HOT 9
- ValueError: Multioutput target data is not supported with label binarization
- Mis-alignment between Sentence Embeddings and Classifier in multi-label classification ?
- EarlyStoppingCallback early_stopping_patience_counter and Trainer.state not reset between hyperparameter search trials HOT 1
- Custom TF classification head HOT 2
- `TypeError: __init__() got an unexpected keyword argument '_name_or_path'` for `SetFitModel.from_pretrained` HOT 4
- TemplateAssertionError: no test named 'False' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setfit.