CoolFace
Modelpublic

faodl/model_cca_multilabel_mpnet-65max-full-poorf10-artificial

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes6downloads
Model Card

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

This is a SetFit model that can be used for Text Classification. This SetFit model uses sentence-transformers/paraphrase-multilingual-mpnet-base-v2 as the Sentence Transformer embedding model. A OneVsRestClassifier instance is used for classification.

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

  1. 1.Fine-tuning a Sentence Transformer with contrastive learning.
  2. 2.Training a classification head with features from the fine-tuned Sentence Transformer.

Model Details

Model Description

Model Sources

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("faodl/model_cca_multilabel_mpnet-65max-full-poorf10-artificial")
# Run inference
preds = model("Targeted skills audits will identify gaps in the current rural workforce and inform training investments.")

<!--

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 setMinMedianMax
Word count719.7924100

Training Hyperparameters

  • —batch_size: (8, 8)
  • —num_epochs: (1, 1)
  • —max_steps: -1
  • —sampling_strategy: oversampling
  • —num_iterations: 20
  • —bodylearningrate: (2e-05, 2e-05)
  • —headlearningrate: 2e-05
  • —loss: CosineSimilarityLoss
  • —distancemetric: cosinedistance
  • —margin: 0.25
  • —endtoend: False
  • —use_amp: False
  • —warmup_proportion: 0.1
  • —l2_weight: 0.01
  • —seed: 42
  • —evalmaxsteps: -1
  • —loadbestmodelatend: False

Training Results

EpochStepTraining LossValidation Loss
0.000010.2267-
0.0014500.2064-
0.00291000.2078-
0.00431500.1999-
0.00582000.1965-
0.00722500.1865-
0.00863000.1831-
0.01013500.1824-
0.01154000.1696-
0.01304500.1635-
0.01445000.1685-
0.01585500.1542-
0.01736000.15-
0.01876500.1511-
0.02027000.16-
0.02167500.1413-
0.02308000.1363-
0.02458500.1527-
0.02599000.1324-
0.02739500.1274-
0.028810000.1526-
0.030210500.1182-
0.031711000.1327-
0.033111500.1291-
0.034512000.1285-
0.036012500.1196-
0.037413000.1265-
0.038913500.1167-
0.040314000.1144-
0.041714500.1347-
0.043215000.1258-
0.044615500.1332-
0.046116000.1128-
0.047516500.1168-
0.048917000.1203-
0.050417500.1042-
0.051818000.1182-
0.053318500.114-
0.054719000.1139-
0.056119500.1061-
0.057620000.108-
0.059020500.115-
0.060521000.0995-
0.061921500.1053-
0.063322000.1227-
0.064822500.112-
0.066223000.1092-
0.067723500.1136-
0.069124000.092-
0.070524500.099-
0.072025000.1091-
0.073425500.1192-
0.074926000.1148-
0.076326500.0921-
0.077727000.0917-
0.079227500.1148-
0.080628000.1055-
0.082028500.0943-
0.083529000.0926-
0.084929500.115-
0.086430000.0928-
0.087830500.092-
0.089231000.0917-
0.090731500.1149-
0.092132000.1072-
0.093632500.0791-
0.095033000.0968-
0.096433500.1018-
0.097934000.1077-
0.099334500.0992-
0.100835000.0817-
0.102235500.0955-
0.103636000.0824-
0.105136500.0835-
0.106537000.101-
0.108037500.0913-
0.109438000.1014-
0.110838500.0849-
0.112339000.0855-
0.113739500.0802-
0.115240000.0904-
0.116640500.0767-
0.118041000.0829-
0.119541500.0912-
0.120942000.0788-
0.122442500.0861-
0.123843000.089-
0.125243500.0652-
0.126744000.0946-
0.128144500.0819-
0.129645000.0829-
0.131045500.0491-
0.132446000.0875-
0.133946500.0675-
0.135347000.0838-
0.136747500.0637-
0.138248000.0907-
0.139648500.0803-
0.141149000.06-
0.142549500.0866-
0.143950000.0654-
0.145450500.0695-
0.146851000.0723-
0.148351500.0725-
0.149752000.0762-
0.151152500.0738-
0.152653000.0732-
0.154053500.0619-
0.155554000.0768-
0.156954500.0749-
0.158355000.083-
0.159855500.0638-
0.161256000.0651-
0.162756500.0633-
0.164157000.0639-
0.165557500.0615-
0.167058000.0684-
0.168458500.0539-
0.169959000.054-
0.171359500.0544-
0.172760000.0532-
0.174260500.0665-
0.175661000.0669-
0.177161500.0722-
0.178562000.0581-
0.179962500.0515-
0.181463000.057-
0.182863500.0509-
0.184364000.0671-
0.185764500.0452-
0.187165000.0641-
0.188665500.0746-
0.190066000.0623-
0.191466500.0534-
0.192967000.0542-
0.194367500.0576-
0.195868000.0638-
0.197268500.0463-
0.198669000.0561-
0.200169500.0789-
0.201570000.0705-
0.203070500.0516-
0.204471000.0508-
0.205871500.0537-
0.207372000.0567-
0.208772500.05-
0.210273000.056-
0.211673500.0495-
0.213074000.0576-
0.214574500.0574-
0.215975000.0497-
0.217475500.0556-
0.218876000.0597-
0.220276500.044-
0.221777000.0373-
0.223177500.0409-
0.224678000.0532-
0.226078500.0477-
0.227479000.0502-
0.228979500.0467-
0.230380000.0507-
0.231880500.0519-
0.233281000.0345-
0.234681500.052-
0.236182000.0439-
0.237582500.0446-
0.239083000.049-
0.240483500.0749-
0.241884000.0367-
0.243384500.0371-
0.244785000.0631-
0.246185500.0451-
0.247686000.0405-
0.249086500.0403-
0.250587000.0501-
0.251987500.046-
0.253388000.0431-
0.254888500.0474-
0.256289000.0444-
0.257789500.0288-
0.259190000.0527-
0.260590500.0434-
0.262091000.0423-
0.263491500.0554-
0.264992000.0419-
0.266392500.0465-
0.267793000.0398-
0.269293500.0448-
0.270694000.0338-
0.272194500.0545-
0.273595000.0417-
0.274995500.0401-
0.276496000.0452-
0.277896500.0403-
0.279397000.0374-
0.280797500.0547-
0.282198000.0401-
0.283698500.0381-
0.285099000.0396-
0.286599500.0482-
0.2879100000.0406-
0.2893100500.0454-
0.2908101000.0274-
0.2922101500.0324-
0.2937102000.0466-
0.2951102500.0322-
0.2965103000.0479-
0.2980103500.0414-
0.2994104000.0374-
0.3008104500.0383-
0.3023105000.0475-
0.3037105500.0327-
0.3052106000.0448-
0.3066106500.0507-
0.3080107000.0299-
0.3095107500.0346-
0.3109108000.0317-
0.3124108500.033-
0.3138109000.0351-
0.3152109500.0324-
0.3167110000.0401-
0.3181110500.0308-
0.3196111000.0314-
0.3210111500.0317-
0.3224112000.0352-
0.3239112500.0314-
0.3253113000.0278-
0.3268113500.0413-
0.3282114000.0272-
0.3296114500.0424-
0.3311115000.0316-
0.3325115500.0351-
0.3340116000.0332-
0.3354116500.0295-
0.3368117000.0251-
0.3383117500.027-
0.3397118000.0306-
0.3412118500.0332-
0.3426119000.0308-
0.3440119500.0269-
0.3455120000.0354-
0.3469120500.0231-
0.3484121000.0341-
0.3498121500.0299-
0.3512122000.0224-
0.3527122500.0238-
0.3541123000.026-
0.3555123500.0336-
0.3570124000.0366-
0.3584124500.0305-
0.3599125000.0362-
0.3613125500.0202-
0.3627126000.0219-
0.3642126500.021-
0.3656127000.0395-
0.3671127500.031-
0.3685128000.0234-
0.3699128500.0374-
0.3714129000.0214-
0.3728129500.0307-
0.3743130000.0283-
0.3757130500.0284-
0.3771131000.0311-
0.3786131500.0206-
0.3800132000.0322-
0.3815132500.0255-
0.3829133000.0275-
0.3843133500.0301-
0.3858134000.0366-
0.3872134500.033-
0.3887135000.0159-
0.3901135500.0327-
0.3915136000.0229-
0.3930136500.0333-
0.3944137000.0192-
0.3959137500.0272-
0.3973138000.0173-
0.3987138500.0257-
0.4002139000.0187-
0.4016139500.0235-
0.4031140000.0223-
0.4045140500.0212-
0.4059141000.0235-
0.4074141500.0268-
0.4088142000.0282-
0.4102142500.0211-
0.4117143000.0207-
0.4131143500.0175-
0.4146144000.0267-
0.4160144500.0246-
0.4174145000.0266-
0.4189145500.021-
0.4203146000.028-
0.4218146500.0229-
0.4232147000.0216-
0.4246147500.04-
0.4261148000.0233-
0.4275148500.0256-
0.4290149000.0216-
0.4304149500.0296-
0.4318150000.0168-
0.4333150500.0215-
0.4347151000.0135-
0.4362151500.0158-
0.4376152000.02-
0.4390152500.0302-
0.4405153000.0242-
0.4419153500.0255-
0.4434154000.0145-
0.4448154500.0161-
0.4462155000.0238-
0.4477155500.0083-
0.4491156000.0213-
0.4506156500.0241-
0.4520157000.0253-
0.4534157500.0196-
0.4549158000.0285-
0.4563158500.0225-
0.4578159000.0262-
0.4592159500.017-
0.4606160000.0251-
0.4621160500.0212-
0.4635161000.023-
0.4649161500.0173-
0.4664162000.0355-
0.4678162500.0205-
0.4693163000.0114-
0.4707163500.0157-
0.4721164000.0304-
0.4736164500.0163-
0.4750165000.0208-
0.4765165500.0124-
0.4779166000.0327-
0.4793166500.0228-
0.4808167000.0161-
0.4822167500.0217-
0.4837168000.0151-
0.4851168500.0255-
0.4865169000.0283-
0.4880169500.0192-
0.4894170000.0217-
0.4909170500.02-
0.4923171000.0296-
0.4937171500.0263-
0.4952172000.0196-
0.4966172500.019-
0.4981173000.0185-
0.4995173500.018-
0.5009174000.0146-
0.5024174500.0144-
0.5038175000.0143-
0.5053175500.0179-
0.5067176000.0213-
0.5081176500.022-
0.5096177000.0136-
0.5110177500.012-
0.5125178000.0148-
0.5139178500.0189-
0.5153179000.0209-
0.5168179500.0191-
0.5182180000.0155-
0.5196180500.0223-
0.5211181000.0172-
0.5225181500.0147-
0.5240182000.0205-
0.5254182500.0196-
0.5268183000.018-
0.5283183500.0123-
0.5297184000.0146-
0.5312184500.0154-
0.5326185000.0099-
0.5340185500.0113-
0.5355186000.0191-
0.5369186500.0161-
0.5384187000.0113-
0.5398187500.0236-
0.5412188000.021-
0.5427188500.0107-
0.5441189000.021-
0.5456189500.0213-
0.5470190000.028-
0.5484190500.0164-
0.5499191000.0197-
0.5513191500.0074-
0.5528192000.0108-
0.5542192500.0118-
0.5556193000.013-
0.5571193500.0215-
0.5585194000.0124-
0.5600194500.0163-
0.5614195000.01-
0.5628195500.0188-
0.5643196000.019-
0.5657196500.0075-
0.5672197000.0168-
0.5686197500.0073-
0.5700198000.0151-
0.5715198500.0236-
0.5729199000.0197-
0.5743199500.0207-
0.5758200000.0106-
0.5772200500.0137-
0.5787201000.0155-
0.5801201500.0118-
0.5815202000.0231-
0.5830202500.0186-
0.5844203000.0139-
0.5859203500.0183-
0.5873204000.0136-
0.5887204500.0139-
0.5902205000.0131-
0.5916205500.014-
0.5931206000.021-
0.5945206500.0172-
0.5959207000.016-
0.5974207500.0136-
0.5988208000.0144-
0.6003208500.0142-
0.6017209000.0148-
0.6031209500.0197-
0.6046210000.0081-
0.6060210500.0088-
0.6075211000.0216-
0.6089211500.0231-
0.6103212000.0182-
0.6118212500.0132-
0.6132213000.0104-
0.6147213500.0107-
0.6161214000.0051-
0.6175214500.0131-
0.6190215000.0118-
0.6204215500.0122-
0.6219216000.0154-
0.6233216500.0138-
0.6247217000.0197-
0.6262217500.0159-
0.6276218000.0101-
0.6290218500.0105-
0.6305219000.0108-
0.6319219500.0098-
0.6334220000.013-
0.6348220500.0188-
0.6362221000.008-
0.6377221500.0159-
0.6391222000.0211-
0.6406222500.0128-
0.6420223000.0136-
0.6434223500.0152-
0.6449224000.0105-
0.6463224500.0129-
0.6478225000.0119-
0.6492225500.0177-
0.6506226000.0085-
0.6521226500.0119-
0.6535227000.0033-
0.6550227500.0115-
0.6564228000.0068-
0.6578228500.0241-
0.6593229000.0135-
0.6607229500.0134-
0.6622230000.0109-
0.6636230500.0151-
0.6650231000.0106-
0.6665231500.0125-
0.6679232000.007-
0.6694232500.0171-
0.6708233000.0108-
0.6722233500.0163-
0.6737234000.0196-
0.6751234500.0054-
0.6766235000.0068-
0.6780235500.0157-
0.6794236000.0183-
0.6809236500.0153-
0.6823237000.0143-
0.6837237500.0072-
0.6852238000.0168-
0.6866238500.0157-
0.6881239000.0056-
0.6895239500.0196-
0.6909240000.0094-
0.6924240500.0107-
0.6938241000.0177-
0.6953241500.0143-
0.6967242000.0088-
0.6981242500.0148-
0.6996243000.0171-
0.7010243500.0079-
0.7025244000.0171-
0.7039244500.0161-
0.7053245000.0066-
0.7068245500.0142-
0.7082246000.0139-
0.7097246500.0122-
0.7111247000.0188-
0.7125247500.008-
0.7140248000.0142-
0.7154248500.0114-
0.7169249000.0104-
0.7183249500.0204-
0.7197250000.0137-
0.7212250500.0096-
0.7226251000.0075-
0.7241251500.0143-
0.7255252000.0095-
0.7269252500.0068-
0.7284253000.0092-
0.7298253500.01-
0.7313254000.0064-
0.7327254500.0066-
0.7341255000.023-
0.7356255500.0137-
0.7370256000.0062-
0.7384256500.0105-
0.7399257000.0043-
0.7413257500.0137-
0.7428258000.0097-
0.7442258500.0124-
0.7456259000.0112-
0.7471259500.0101-
0.7485260000.0149-
0.7500260500.0111-
0.7514261000.006-
0.7528261500.0126-
0.7543262000.0122-
0.7557262500.0049-
0.7572263000.0126-
0.7586263500.0133-
0.7600264000.0035-
0.7615264500.018-
0.7629265000.0175-
0.7644265500.0068-
0.7658266000.0079-
0.7672266500.0084-
0.7687267000.014-
0.7701267500.0113-
0.7716268000.0153-
0.7730268500.0251-
0.7744269000.0102-
0.7759269500.0135-
0.7773270000.0079-
0.7788270500.0081-
0.7802271000.0055-
0.7816271500.0014-
0.7831272000.0134-
0.7845272500.0058-
0.7860273000.0071-
0.7874273500.0045-
0.7888274000.0067-
0.7903274500.0125-
0.7917275000.0094-
0.7931275500.0129-
0.7946276000.0096-
0.7960276500.0032-
0.7975277000.0061-
0.7989277500.0054-
0.8003278000.0121-
0.8018278500.0124-
0.8032279000.0065-
0.8047279500.0035-
0.8061280000.012-
0.8075280500.0168-
0.8090281000.0107-
0.8104281500.0085-
0.8119282000.0075-
0.8133282500.0114-
0.8147283000.0134-
0.8162283500.0082-
0.8176284000.0118-
0.8191284500.0094-
0.8205285000.0073-
0.8219285500.0069-
0.8234286000.0155-
0.8248286500.011-
0.8263287000.0091-
0.8277287500.0042-
0.8291288000.0095-
0.8306288500.0155-
0.8320289000.0195-
0.8335289500.0094-
0.8349290000.0084-
0.8363290500.0126-
0.8378291000.0148-
0.8392291500.0093-
0.8407292000.0044-
0.8421292500.0121-
0.8435293000.0132-
0.8450293500.009-
0.8464294000.0097-
0.8478294500.0059-
0.8493295000.0192-
0.8507295500.0093-
0.8522296000.011-
0.8536296500.0153-
0.8550297000.0157-
0.8565297500.0113-
0.8579298000.0062-
0.8594298500.008-
0.8608299000.007-
0.8622299500.0099-
0.8637300000.0059-
0.8651300500.0103-
0.8666301000.0115-
0.8680301500.0155-
0.8694302000.0104-
0.8709302500.0073-
0.8723303000.0112-
0.8738303500.0059-
0.8752304000.0069-
0.8766304500.0109-
0.8781305000.0111-
0.8795305500.0074-
0.8810306000.012-
0.8824306500.0057-
0.8838307000.0106-
0.8853307500.0014-
0.8867308000.0147-
0.8882308500.0119-
0.8896309000.0071-
0.8910309500.0033-
0.8925310000.0013-
0.8939310500.0128-
0.8954311000.0151-
0.8968311500.016-
0.8982312000.0107-
0.8997312500.0094-
0.9011313000.0074-
0.9025313500.0082-
0.9040314000.0079-
0.9054314500.011-
0.9069315000.013-
0.9083315500.0092-
0.9097316000.0092-
0.9112316500.011-
0.9126317000.0061-
0.9141317500.0043-
0.9155318000.0114-
0.9169318500.0105-
0.9184319000.0017-
0.9198319500.0039-
0.9213320000.0308-
0.9227320500.0108-
0.9241321000.0098-
0.9256321500.0112-
0.9270322000.0062-
0.9285322500.0074-
0.9299323000.0115-
0.9313323500.0134-
0.9328324000.0087-
0.9342324500.0114-
0.9357325000.0066-
0.9371325500.0112-
0.9385326000.0045-
0.9400326500.0056-
0.9414327000.0137-
0.9429327500.0123-
0.9443328000.0054-
0.9457328500.0083-
0.9472329000.0037-
0.9486329500.0099-
0.9501330000.0055-
0.9515330500.01-
0.9529331000.0082-
0.9544331500.0082-
0.9558332000.0054-
0.9572332500.0087-
0.9587333000.0099-
0.9601333500.0104-
0.9616334000.0062-
0.9630334500.0065-
0.9644335000.0046-
0.9659335500.0136-
0.9673336000.002-
0.9688336500.0058-
0.9702337000.0048-
0.9716337500.0071-
0.9731338000.0064-
0.9745338500.0061-
0.9760339000.0202-
0.9774339500.0116-
0.9788340000.0091-
0.9803340500.0061-
0.9817341000.0144-
0.9832341500.0066-
0.9846342000.0048-
0.9860342500.0064-
0.9875343000.0055-
0.9889343500.0144-
0.9904344000.0011-
0.9918344500.0049-
0.9932345000.0131-
0.9947345500.013-
0.9961346000.0041-
0.9976346500.0074-
0.9990347000.0062-

Framework Versions

  • —Python: 3.12.12
  • —SetFit: 1.1.3
  • —Sentence Transformers: 5.1.2
  • —Transformers: 4.57.1
  • —PyTorch: 2.8.0+cu126
  • —Datasets: 4.0.0
  • —Tokenizers: 0.22.1

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. -->