
# SetFit with sentence-transformers/paraphrase-mpnet-base-v2

This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.

The model has been trained using an efficient few-shot learning technique that involves:

1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
2. Training a classification head with features from the fine-tuned Sentence Transformer.

## Model Details

### Model Description
- **Model Type:** SetFit
- **Sentence Transformer body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
- **Maximum Sequence Length:** 512 tokens
- **Number of Classes:** 21 classes
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)

### Model Labels
| Label                   | Examples                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|:------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ltfljldzk_greet         | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # h a i # #h ha ai i# #ha hai ai#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # h a l o # #h ha al lo o# #ha hal alo lo#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # h i # #h hi i# #hi hi#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ltfljldzk_goodbye       | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # c u # #c cu u# #cu cu#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # s e l a m a t # #s se el la am ma at t# #se sel ela lam ama mat at# # t i n g g a l # #t ti in ng gg ga al l# #ti tin ing ngg gga gal al#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # s a m p a i # #s sa am mp pa ai i# #sa sam amp mpa pai ai# # j u m p a # #j ju um mp pa a# #ju jum ump mpa pa# # n a n t i # #n na an nt ti i# #na nan ant nti ti#'</li></ul>                                                                                                                                                                                                                                                                                                         |
| ltfljldzk_affirm        | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # y a # #y ya a# #ya ya#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # y # #y y# #y#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # m e m a n g # #m me em ma an ng g# #me mem ema man ang ng#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ltfljldzk_deny          | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # g # #g g# #g#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # p e r n a h # #p pe er rn na ah h# #pe per ern rna nah ah#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ltfljldzk_mood_great    | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # s e m p u r n a # #s se em mp pu ur rn na a# #se sem emp mpu pur urn rna na#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # b a g u s # #b ba ag gu us s# #ba bag agu gus us#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # l u a r # #l lu ua ar r# #lu lua uar ar# # b i a s a # #b bi ia as sa a# #bi bia ias asa sa#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ltfljldzk_mood_unhappy  | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # h a r i k u # #h ha ar ri ik ku u# #ha har ari rik iku ku# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b u r u k # #b bu ur ru uk k# #bu bur uru ruk uk#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # a k u # #a ak ku u# #ak aku ku# # s e d i h # #s se ed di ih h# #se sed edi dih ih#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # s a y a # #s sa ay ya a# #sa say aya ya# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # m e r a s a # #m me er ra as sa a# #me mer era ras asa sa# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b a i k # #b ba ai ik k# #ba bai aik ik#'</li></ul>                                                                                                           |
| ltfljldzk_bot_challenge | <ul><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # m a n u s i a ? # #m ma an nu us si ia a? ?# #ma man anu nus usi sia ia? a?#'</li><li>'# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # s a y a # #s sa ay ya a# #sa say aya ya# # b e r b i c a r a # #b be er rb bi ic ca ar ra a# #be ber erb rbi bic ica car ara ra# # d e n g a n # #d de en ng ga an n# #de den eng nga gan an# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li></ul> |
| zjgbsltrh_greet         | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # h a i # #h ha ai i# #ha hai ai#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # h a l o # #h ha al lo o# #ha hal alo lo#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # h i # #h hi i# #hi hi#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| zjgbsltrh_goodbye       | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # c u # #c cu u# #cu cu#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # s e l a m a t # #s se el la am ma at t# #se sel ela lam ama mat at# # t i n g g a l # #t ti in ng gg ga al l# #ti tin ing ngg gga gal al#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # s a m p a i # #s sa am mp pa ai i# #sa sam amp mpa pai ai# # j u m p a # #j ju um mp pa a# #ju jum ump mpa pa# # n a n t i # #n na an nt ti i# #na nan ant nti ti#'</li></ul>                                                                                                                                                                                                                                                                                                         |
| zjgbsltrh_affirm        | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # y a # #y ya a# #ya ya#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # y # #y y# #y#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # m e m a n g # #m me em ma an ng g# #me mem ema man ang ng#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| zjgbsltrh_deny          | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # g # #g g# #g#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # p e r n a h # #p pe er rn na ah h# #pe per ern rna nah ah#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| zjgbsltrh_mood_great    | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # s e m p u r n a # #s se em mp pu ur rn na a# #se sem emp mpu pur urn rna na#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # b a g u s # #b ba ag gu us s# #ba bag agu gus us#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # l u a r # #l lu ua ar r# #lu lua uar ar# # b i a s a # #b bi ia as sa a# #bi bia ias asa sa#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                 |
| zjgbsltrh_mood_unhappy  | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # h a r i k u # #h ha ar ri ik ku u# #ha har ari rik iku ku# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b u r u k # #b bu ur ru uk k# #bu bur uru ruk uk#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # a k u # #a ak ku u# #ak aku ku# # s e d i h # #s se ed di ih h# #se sed edi dih ih#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # s a y a # #s sa ay ya a# #sa say aya ya# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # m e r a s a # #m me er ra as sa a# #me mer era ras asa sa# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b a i k # #b ba ai ik k# #ba bai aik ik#'</li></ul>                                                                                                           |
| zjgbsltrh_bot_challenge | <ul><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # m a n u s i a ? # #m ma an nu us si ia a? ?# #ma man anu nus usi sia ia? a?#'</li><li>'# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # s a y a # #s sa ay ya a# #sa say aya ya# # b e r b i c a r a # #b be er rb bi ic ca ar ra a# #be ber erb rbi bic ica car ara ra# # d e n g a n # #d de en ng ga an n# #de den eng nga gan an# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li></ul> |
| dhrkhkynh_greet         | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # h a i # #h ha ai i# #ha hai ai#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # h a l o # #h ha al lo o# #ha hal alo lo#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # h i # #h hi i# #hi hi#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| dhrkhkynh_goodbye       | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # c u # #c cu u# #cu cu#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # s e l a m a t # #s se el la am ma at t# #se sel ela lam ama mat at# # t i n g g a l # #t ti in ng gg ga al l# #ti tin ing ngg gga gal al#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # s a m p a i # #s sa am mp pa ai i# #sa sam amp mpa pai ai# # j u m p a # #j ju um mp pa a# #ju jum ump mpa pa# # n a n t i # #n na an nt ti i# #na nan ant nti ti#'</li></ul>                                                                                                                                                                                                                                                                                                         |
| dhrkhkynh_affirm        | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # y a # #y ya a# #ya ya#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # y # #y y# #y#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # m e m a n g # #m me em ma an ng g# #me mem ema man ang ng#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| dhrkhkynh_deny          | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # g # #g g# #g#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # p e r n a h # #p pe er rn na ah h# #pe per ern rna nah ah#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| dhrkhkynh_mood_great    | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # s e m p u r n a # #s se em mp pu ur rn na a# #se sem emp mpu pur urn rna na#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # b a g u s # #b ba ag gu us s# #ba bag agu gus us#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # l u a r # #l lu ua ar r# #lu lua uar ar# # b i a s a # #b bi ia as sa a# #bi bia ias asa sa#'</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                 |
| dhrkhkynh_mood_unhappy  | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # h a r i k u # #h ha ar ri ik ku u# #ha har ari rik iku ku# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b u r u k # #b bu ur ru uk k# #bu bur uru ruk uk#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # a k u # #a ak ku u# #ak aku ku# # s e d i h # #s se ed di ih h# #se sed edi dih ih#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # s a y a # #s sa ay ya a# #sa say aya ya# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # m e r a s a # #m me er ra as sa a# #me mer era ras asa sa# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b a i k # #b ba ai ik k# #ba bai aik ik#'</li></ul>                                                                                                           |
| dhrkhkynh_bot_challenge | <ul><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # k a m u # #k ka am mu u# #ka kam amu mu# # m a n u s i a ? # #m ma an nu us si ia a? ?# #ma man anu nus usi sia ia? a?#'</li><li>'# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # s a y a # #s sa ay ya a# #sa say aya ya# # b e r b i c a r a # #b be er rb bi ic ca ar ra a# #be ber erb rbi bic ica car ara ra# # d e n g a n # #d de en ng ga an n# #de den eng nga gan an# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#'</li></ul> |

## Evaluation

### Metrics
| Label   | Accuracy |
|:--------|:---------|
| **all** | 1.0      |

## Uses

### Direct Use for Inference

First install the SetFit library:

```bash
pip install setfit
```

Then you can load this model and run inference.

```python
from setfit import SetFitModel

# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("hanifabdlh/example-setfit-semantic-hashing-model")
# Run inference
preds = model("# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # g # #g g# #g#")
```

<!--
### 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 Details

### Training Set Metrics
| Training set | Min | Median  | Max |
|:-------------|:----|:--------|:----|
| Word count   | 42  | 76.3913 | 150 |

| Label                   | Training Sample Count |
|:------------------------|:----------------------|
| dhrkhkynh_affirm        | 6                     |
| dhrkhkynh_bot_challenge | 5                     |
| dhrkhkynh_deny          | 7                     |
| dhrkhkynh_goodbye       | 9                     |
| dhrkhkynh_greet         | 14                    |
| dhrkhkynh_mood_great    | 14                    |
| dhrkhkynh_mood_unhappy  | 14                    |
| ltfljldzk_affirm        | 6                     |
| ltfljldzk_bot_challenge | 5                     |
| ltfljldzk_deny          | 7                     |
| ltfljldzk_goodbye       | 9                     |
| ltfljldzk_greet         | 14                    |
| ltfljldzk_mood_great    | 14                    |
| ltfljldzk_mood_unhappy  | 14                    |
| zjgbsltrh_affirm        | 6                     |
| zjgbsltrh_bot_challenge | 5                     |
| zjgbsltrh_deny          | 7                     |
| zjgbsltrh_goodbye       | 9                     |
| zjgbsltrh_greet         | 14                    |
| zjgbsltrh_mood_great    | 14                    |
| zjgbsltrh_mood_unhappy  | 14                    |

### Training Hyperparameters
- batch_size: (16, 16)
- num_epochs: (1, 1)
- max_steps: -1
- sampling_strategy: oversampling
- num_iterations: 100
- body_learning_rate: (2e-05, 2e-05)
- head_learning_rate: 2e-05
- loss: CosineSimilarityLoss
- distance_metric: cosine_distance
- margin: 0.25
- end_to_end: False
- use_amp: False
- warmup_proportion: 0.1
- seed: 42
- eval_max_steps: -1
- load_best_model_at_end: False

### Training Results
| Epoch  | Step | Training Loss | Validation Loss |
|:------:|:----:|:-------------:|:---------------:|
| 0.0004 | 1    | 0.3141        | -               |
| 0.0193 | 50   | 0.1139        | -               |
| 0.0386 | 100  | 0.1914        | -               |
| 0.0580 | 150  | 0.1221        | -               |
| 0.0773 | 200  | 0.0562        | -               |
| 0.0966 | 250  | 0.0917        | -               |
| 0.1159 | 300  | 0.1324        | -               |
| 0.1352 | 350  | 0.0316        | -               |
| 0.1546 | 400  | 0.0699        | -               |
| 0.1739 | 450  | 0.0919        | -               |
| 0.1932 | 500  | 0.0069        | -               |
| 0.2125 | 550  | 0.0089        | -               |
| 0.2318 | 600  | 0.0047        | -               |
| 0.2512 | 650  | 0.002         | -               |
| 0.2705 | 700  | 0.0024        | -               |
| 0.2898 | 750  | 0.0179        | -               |
| 0.3091 | 800  | 0.0008        | -               |
| 0.3284 | 850  | 0.0233        | -               |
| 0.3478 | 900  | 0.0019        | -               |
| 0.3671 | 950  | 0.0006        | -               |
| 0.3864 | 1000 | 0.0017        | -               |
| 0.4057 | 1050 | 0.0006        | -               |
| 0.4250 | 1100 | 0.0009        | -               |
| 0.4444 | 1150 | 0.0006        | -               |
| 0.4637 | 1200 | 0.0005        | -               |
| 0.4830 | 1250 | 0.0005        | -               |
| 0.5023 | 1300 | 0.0018        | -               |
| 0.5216 | 1350 | 0.0004        | -               |
| 0.5410 | 1400 | 0.0008        | -               |
| 0.5603 | 1450 | 0.0005        | -               |
| 0.5796 | 1500 | 0.0004        | -               |
| 0.5989 | 1550 | 0.0002        | -               |
| 0.6182 | 1600 | 0.0002        | -               |
| 0.6376 | 1650 | 0.0003        | -               |
| 0.6569 | 1700 | 0.0001        | -               |
| 0.6762 | 1750 | 0.0002        | -               |
| 0.6955 | 1800 | 0.0001        | -               |
| 0.7148 | 1850 | 0.0001        | -               |
| 0.7342 | 1900 | 0.0002        | -               |
| 0.7535 | 1950 | 0.0002        | -               |
| 0.7728 | 2000 | 0.0003        | -               |
| 0.7921 | 2050 | 0.0002        | -               |
| 0.8114 | 2100 | 0.0001        | -               |
| 0.8308 | 2150 | 0.0002        | -               |
| 0.8501 | 2200 | 0.0003        | -               |
| 0.8694 | 2250 | 0.0002        | -               |
| 0.8887 | 2300 | 0.0011        | -               |
| 0.9080 | 2350 | 0.0001        | -               |
| 0.9274 | 2400 | 0.0001        | -               |
| 0.9467 | 2450 | 0.0001        | -               |
| 0.9660 | 2500 | 0.0002        | -               |
| 0.9853 | 2550 | 0.0001        | -               |

### Framework Versions
- Python: 3.10.12
- SetFit: 1.0.1
- Sentence Transformers: 2.2.2
- Transformers: 4.35.2
- PyTorch: 2.1.0+cu118
- Datasets: 2.15.0
- Tokenizers: 0.15.0

## Citation

### BibTeX
```bibtex
@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.*
-->
{"library_name": "setfit", "tags": ["setfit", "sentence-transformers", "text-classification", "generated_from_setfit_trainer"], "metrics": ["accuracy"], "widget": [{"text": "# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # s a y a # #s sa ay ya a# #sa say aya ya# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # m e r a s a # #m me er ra as sa a# #me mer era ras asa sa# # s a n g a t # #s sa an ng ga at t# #sa san ang nga gat at# # b a i k # #b ba ai ik k# #ba bai aik ik#"}, {"text": "# ( l t f l j l d z k ) # #( (l lt tf fl lj jl ld dz zk k) )# #(l (lt ltf tfl flj ljl jld ldz dzk zk) k)# # i n i # #i in ni i# #in ini ni# # r o b o t ? # #r ro ob bo ot t? ?# #ro rob obo bot ot? t?#"}, {"text": "# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # g # #g g# #g#"}, {"text": "# ( z j g b s l t r h ) # #( (z zj jg gb bs sl lt tr rh h) )# #(z (zj zjg jgb gbs bsl slt ltr trh rh) h)# # a p a k a h # #a ap pa ak ka ah h# #ap apa pak aka kah ah# # s a y a # #s sa ay ya a# #sa say aya ya# # b e r b i c a r a # #b be er rb bi ic ca ar ra a# #be ber erb rbi bic ica car ara ra# # d e n g a n # #d de en ng ga an n# #de den eng nga gan an# # b o t ? # #b bo ot t? ?# #bo bot ot? t?#"}, {"text": "# ( d h r k h k y n h ) # #( (d dh hr rk kh hk ky yn nh h) )# #(d (dh dhr hrk rkh khk hky kyn ynh nh) h)# # s a y a # #s sa ay ya a# #sa say aya ya# # k i r a # #k ki ir ra a# #ki kir ira ra# # t i d a k # #t ti id da ak k# #ti tid ida dak ak# # d e m i k i a n # #d de em mi ik ki ia an n# #de dem emi mik iki kia ian an#"}], "pipeline_tag": "text-classification", "inference": true, "base_model": "sentence-transformers/paraphrase-mpnet-base-v2", "model-index": [{"name": "SetFit with sentence-transformers/paraphrase-mpnet-base-v2", "results": [{"task": {"type": "text-classification", "name": "Text Classification"}, "dataset": {"name": "Unknown", "type": "unknown", "split": "test"}, "metrics": [{"type": "accuracy", "value": 1.0, "name": "Accuracy"}]}]}]}
setfit safetensors mpnet sentence-transformers text-classification generated_from_setfit_trainer arxiv:2209.11055 base_model:sentence-transformers/paraphrase-mpnet-base-v2 model-index region:us