Edit model card

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

This is a SetFit model that can be used for Text Classification. This SetFit model uses sentence-transformers/paraphrase-mpnet-base-v2 as the Sentence Transformer embedding model. A LogisticRegression 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 with contrastive learning.
  2. Training a classification head with features from the fine-tuned Sentence Transformer.

Model Details

Model Description

Model Sources

Model Labels

Label Examples
1
  • '[0:00:00] null: \n\n[0:00:03] spk_0: hello हाँ very good afternoon sir विशाल महाले जी से बात हो रही हैं हाँ बोल रहा। विशाल sir धीरज बोल रहा हूँ i d f c फस्ट bank sir you account relationship manager हाँ बोलिये हाँ! जैसे कि sir आपका saving account हैं sir dfc फस्ट bank में तो आपके account के लिए मुझे relationship manager assign किया हैं sir okay so आपको कुछ भी account related help या कुछ भी assistance required हैं sir bank की तरफ से तो आपको जिस number पर direct ही print कर सकते हो okay ये number save कर लेते धीरज name से okay ये number को add i prefer bank के app में भी हो जाएगा। वहाँ pay मेरा name official number और official mail id mentioned हैं तो वहां से भी आप मुझे verify कर सकते हो okay okay okay और जैसे की आप saving account hold करो sir कुछ update देने से आपके account related तो अभी आइडीएफसी फस्ट bank में saving account and fixed deposit के जो interest rate हैं वो increase की हैं। sir okay so अभी आप आपको saving account pay up to seven percent annual interest rate मिल जाता हैं sir जो आपके account में month wise जो आपके account में credit हो जाता हैं। okay monthly basis pay credit हो जाता हैं जो अधर bank के साथ अगर compare करोगे अधर bank आपको तीन महीने में एक बार interest provide करती हैं। ऐ dfc फस्ट तक आपको month wise interest provide करती हैं। sir okay तो compounding की वजह से आपको यहाँ pay maximum interest rate मिल जाता secondly for fix deposit जो maximum interest चल रहा हैं वो seven point five percent interest rate चल रहा हैं further tenure one year one day two five fifty days okay तो अगर आप fix deposit भी करते हो तो आपको maximum interest rate मिलेगा। secondly family में कोई senior citizen होंगे तो senior citizen को point five percent extra मिल जाता हैं तो उनको eight percent annual interest rate मिल जाएगा okay okay और जैसे कि आपका account हैं sir family members का भी account हैं हमारे साथ नहीं नहीं open करने हैं विशाल sir नहीं बताता हूँ मैं आपको करना okay क्योंकि जैसे की आपके parents की भी अगर account होंगे other banks में okay तो जैसे की अधर bank से ज्यादा आपको idea first bank आपको maximum interest rate provide कर रहे हैं okay तो यहाँ pay आप account open कर सकते हो। ठीक हैं and yeah primary bank यूज़ करो sir idea is called an order को use कर रहे sir नहीं हैं ना बहुत सारे phone। okay तो मतलब अगर कोई other banks में sir funds maintain कर रहे होंगे। okay तो आप इस bank में जो deep sea bank के सिमी account में आप fund transfer कर सकते हो तो आपका ये sir maximum interest मिल जाएगा। आपका ही फायदा हो जाएगा इसमें okay ठीक हैं और visual suggest request कर रहा number save कर लीजिए कभी भी help लगती हैं तो आप मुझे banking working days nine thirty two six thirty आप इस number pay आप मुझे contact करते लेते हैं। okay चलेगा। ठीक हैं okay thank you which। also thank you for banking thirty first and have great day sir thank you।\n\n'
  • '[0:00:00] null: \n\n[0:00:04] spk_0: hello good morning every getting is mr kamlesh हाँ जी या company जी मैं chetan बात कर रहा हूं half फस्ट bank से तो ये जो मेरा call तो आपको inform करने के लिए था कि आपका जो f फस्ट bank का जो account हैं उसके लिए मुझे dedicated service manager appoint किया गया हैं। okay तो आज के बाद आपको accountant कोई भी information चाहिए होगी या फिर आपको transaction related कोई भी information चाहिए होगी तो आप मुझे contact कर सकते हैं। मैं आपको help कर दूंगा। company जी, आप हमारे जो mobile banking यहाँ pay वो इस्तेमाल कर रहे हैं। हम्म। okay तो जैसे ही mobile banking app pay आप login करेंगे ना तो first page pay left hand side top corner pay आपको तीन छोटे red lines दिखेंगे आपको वहां click करना हैं जैसे आप वहां pay click करेंगे आपको option आएगा मै relationship team जैसे मै relation team के ऊपर click करेंगे आपको मेरा name चेतन सिंह मेरा number और मेरा email id आपको दिख जाएगा sir okay तो वहाँ से आप मुझे contact कर सकते हैं। इसके अलावा sir आपका जो saving account हैं उसके ऊपर में आपको update देना चाह अगर अभी जो rate of interest हैं वो revise हो चुके हैं। हम आपको offer कर रहे हैं three percent rate of interest per annum अगर आप balance maintain रखते हैं एक लाख तक अगर आप एक लाख से लेके पांच लाख के बीच में balance maintain करते हैं तो हम आपको four percent rate of interest per annum provide कर रहे हैं और अगर आप balance रख रहे हैं between five lakhs two twenty five crores तो हम आपको offer कर रहे हैं seven percent rate of interest per annum अच्छा और sir fix deposit के ऊपर भी हम आपको seven point five percent rate of interest per annum provide कर रहे हैं जिसका tenure होना चाहिए। एक साल एक दिन से लेकर दो साल के लिए okay तो complete आप जो dfc फस्ट bank का account use कर रहे हैं। ये आपका primary account हैं या फिर आपका primary account कोई और हैं जिससे आप ज्यादा से ज्यादा transaction करते हैं। daily basis पर वो primary आपका i d f c is really great sir ये मैंने इसके लिए पूछा था अगर आप आपके bank का statement देखेंगे तो हर महीने हमारी bank की तरफ से आपको interest rate का payout आता हैं sir okay तो क्या होता हैं ना की अगर आप इसमें ज्यादा funds रखेंगे इस account में तो आपका जो interest rate का payout हैं sir वो भी आपका बढ़ जाता हैं sir okay इसके अलावा sir हम आपको twenty eight free banking services provide कर रहे हैं। जैसे की अगर आप dfc फस्ट bank का card किसी भी और bank के atm machine में use करेंगे और अगर आपने multiple transaction भी कर लिया ना sir तो भी आपको कोई charges नहीं लगेंगे। अच्छा okay इसके अलावा आपको एसएमएस alert, stop cheque, issue of demand draft, cheque bounce ईसीएस return debit, card issue and ऐसी इत्यादि सेवाएं आपको free of cost में provide की जाती हैं। इसके लिए कोई charges नहीं हैं। अगर आप दूसरे bank में देखेंगे तो इन सारी services के लिए charges हैं but हमारी bank आपको ये सब charges नहीं देती। sir आप हमारा जो debit card हैं वो इस्तेमाल करते हैं। sir okay तो मैं आपको बता दूँ sir अभी फिलहाल तो debit card pay बहुत से offer चल रहे हैं। जैसे अगर आप हमारा debit card insta mart pay यूज़ करते हैं तो आपको flat hundred rupees off मिलता ऑन minimum purchase of six ninety nine अगर आप d mart में यूज़ करते हैं तो आपको five percent cashback मिलता हैं। up to rupees two fifty और अगर आप यात्रा dot com से flight book करना चाहते हैं या फिर trip से book करना चाहते हैं तो card की मदद से आपको twelve percent instant discount मिल जाएगा। sir upto rupees one thousand two hundred जिसका minimum purchase होना चाहिए। five thousand sir food and dining pay भी बहुत से offers हैं जैसे zomato pay हैं dominos पर हैं dominos pay flat one fifty off हैं अगर आप seven hundred के ऊपर order करते हैं फिर wow momos हैं फिर fresh menu barbeque nation ऐसे बहुत से इसपे offer चल रहे हैं sir और अगर आप shopping का देख रहे हैं तो first cry dot com pay भी ना मतलब thirty five percent off चल रहा हैं sir और फिर बाद में tata click you फिर इसके बाद मतलब पूमा pay mucci metro इन सारी चीज़ों pay sir आपको discount मिल रहा तो मैं एक काम करता हूँ ये जो offers हैं आपको email कर देता हूँ तो आपके free time में ना sir एक बार उसको देख लीजिये ठीक हैं okay आपका email id एक बार confirm करेंगे। kamlesh at gmail dot that great । और आपको बताना चाहूँगा अभी आपके mobile app pay आपका communication address email i d contact number nominee details और signature ये update कर सकते हैं manage profile option में app में जाकर sir ठीक okay इसके अलावा और कुछ सहायता कर सकता हूँ मैं आपकी okay sir sir sir। अगली बार अगर मुझे कभी आपको call करके आपके account कोई information देनी हो तो आप से सही समय कब होता हैं? बात करने का कोई भी करो okay done sir। okay thank you आपका\n\n'
  • "(SPEAKER_00 3.5 - 8.899) Good evening calling from IDFC। Am I speaking to Mr। तरूण कुमार?\n(SPEAKER_01 9.63 - 10.439) Yes you are।\n(SPEAKER_00 11.069 - 18.86) So I am your relationship manager for this account। thirty AM to six PM\n(SPEAKER_01 19.59 - 20.69) Sorry\n(SPEAKER_00 21.54 - 27.379) I will be available from nine thirty AM to six PM on all bank working days as a single point of your contact।\n(SPEAKER_01 28.54 - 30.42) Okay, what is your direct number there?\n(SPEAKER_00 31.28 - 78.389) I'll just share my number with you which you will receive on your registered mobile number। Just hold on please just be on call। See I have shared it। So, apart from that, I would also like to let you know that you have maintained healthy balance in your account, which is great because you must be aware that you will receive interest over it। We offer monthly credit of interest on your saving account and interest is usually paid on quarterly basis by other bank saving account but we in case of our bank you will receive interest or interest। So and not only this, we charge zero fee on twenty-eight most commonly use saving account services including IMPS, NEFT RTGS that I know overall twenty-eight services on which we have absolutely no charges, absolutely free।\n(SPEAKER_01 78.989 - 80.269) Right, right, right I am aware about\n(SPEAKER_00 80.269 - 87.599) that। So, may I know which bank do you prefer the most when it comes to banking apart from IDFC First Bank?\n(SPEAKER_01 88.47 - 89.55) Axis।\n(SPEAKER_00 90.379 - 94.86) Axis bank, May I know what is the interest that you earn from Axis bank or other bank?\n(SPEAKER_01 95.139 - 115.779) I am not getting quite good interest but my transaction are going into the Axis bank ah like like the holding balance is not quite good in the Axis that is in my Kotak bank, okay? So, if you are asking about the holding the balance which account I am holding the balances more। So\n(SPEAKER_00 117.12 - 118.26) bank interest interest।\n(SPEAKER_01 118.43 - 119.62) yes\n(SPEAKER_00 120.269 - 126.669) yes because you can visit any of our website of IDFC first bank sorry our website of IDFC first\n(SPEAKER_01 126.669 - 127.019) bank\n(SPEAKER_00 127.19 - 144.74) where we have in saving account session we have ah simulator which is nothing but a calculator where in you could actually calculate the interest that you earn from other bank where is the interest that you are earning from our bank। And I am definitely sure that the interest that you are earning from our bank will be higher and better as compared to other bank।\n(SPEAKER_01 145.059 - 157.289) Okay, I will keep my balances into AFC bank account from the next time from the next month। However I am also looking for one more thing like we have the corporate account with the Kotak bank as well।\n(SPEAKER_00 157.699 - 158.27) Okay।\n(SPEAKER_01 158.5 - 161.46) Current account I mean okay my company bank\n(SPEAKER_00 161.46 - 162.729) account। ah\n(SPEAKER_01 162.899 - 187.47) but we are not quite satisfied with the services of the Kotak bank some most of the time they servers are down okay and our balances are stuck। ah However, we also have the ICICI bank account as well as that we are using as in the current account we also but we also need one more account, okay। ah So, are you also taking care of the current accounts? or not current\n(SPEAKER_00 187.47 - 193.52) account yes if you want to open any current account, you can let me know। I will guide you regarding the same।\n(SPEAKER_01 194.029 - 196.339) So, I would like to go ahead with that।\n(SPEAKER_00 196.899 - 200.589) So, I'll just forward your request for current account opening।\n(SPEAKER_01 201.119 - 201.88) hm\n(SPEAKER_00 201.88 - 206.139) तो branch which will be convenient for you will be New Friends colony branch, right?\n(SPEAKER_01 206.949 - 223.169) No, that was the very first branch I believe the NFC branch। ah then the first time we opened the IDFC bank account I remember ah very quite close bank branch is the sector sixty ah to Noida।\n(SPEAKER_00 224.1 - 226.49) sector sixty sixty just hold on।\n(SPEAKER_01 227.139 - 235.339) Sector sixty two and even the sector sixty three as block you guys have a branch that will be more ah near to me।\n(SPEAKER_00 236.059 - 240.6) okay just hold on I just need to check it। sector sixty-two and sixty three ना नोएडा\n(SPEAKER_01 241.19 - 246.41) sector sixty-three would be great। I know that sector sixty three as block you guys have the branch there।\n(SPEAKER_00 249.24 - 249.639) sector\n(SPEAKER_01 249.639 - 252.13) के। हम्म।\n(SPEAKER_00 253.419 - 261.92) six three हम्म। Yes, I am trying to search it, so I will forward this request of yours for current account।\n(SPEAKER_01 262.549 - 262.97) apart from\n(SPEAKER_00 262.97 - 291.649) that I also need to update you about several things just hold on। Sector sixty-three। Okay। So, apart from that, I would just like to let you know that our saving account rate has been revised। So for amount ranging from five lakh to fifty crore it is seven percent per annum for amount ranging from one lakh to five lakh it is four percent per annum and less than one lakh it is three percent per annum।\n(SPEAKER_01 292.29 - 293.609) What is that? what are you talking\n(SPEAKER_00 293.609 - 295.609) about? saving account, saving account rate\n(SPEAKER_01 296.609 - 297.25) saving amount\n(SPEAKER_00 297.25 - 318.209) rate। okay not only this our FD rate has also been revised so the best FD rate you can receive is for eighteen months one day to two years which is seven point seven five percent per annum। and senior citizen we have zero point five zero percent extra which brings to eight point two five percent per annum।\n(SPEAKER_01 320.649 - 321.22) हम्म।\n(SPEAKER_00 321.76 - 336.609) and you must be aware that we offer monthly credit of interest on your saving account which are zero fee on twenty most commonly saving account तो other bank usually charges service charges fees on services but we don't have any charges applicable on\n(SPEAKER_01 337.359 - 337.959) the amount is\n(SPEAKER_00 337.959 - 339.88) not applicable on\n(SPEAKER_01 339.88 - 340.16) that\n(SPEAKER_00 341.88 - 342.32) so\n(SPEAKER_01 342.32 - 342.959) the amount is\n(SPEAKER_00 342.959 - 378.829) not applicable for any services you can keep that amount in your account itself so that even on that amount you can earn interest। It will be beneficial for you। Am I audible? Am I audible? Mr। तरूण कुमार, am I audible? Do any of your family members have account? to any of your family members account with us। Mr। तरूण कुमार।"
0
  • '[0:00:00] null: \n\n[0:00:08] spk_0: good afternoon sir this one is from idea आपसे फस्ट bank speaking with मैं screen कराना। hello madam\n\n[0:00:16] spk_1: बताइये hello हाँ जी बोलिए।\n\n[0:00:22] spk_0: sir ये madam का account हैं ना account के लिए मैं\n\n[0:00:25] spk_1: relationship\n\n[0:00:27] spk_0: manager मैंने अपने आप को introduce करने के लिए और updates देने के लिए call किया था। sir bank के related thank you sir actually sir ये number तो save कर लीजियेगा अगर जाकर अगर आपको account related queries concern तो financial requirement होगा ना bank से directly मुझे reached कर सकते हैं sir और update ये हैं की sir अभी fixed deposit और recurring deposit के ऊपर rate of interest हुआ हैं\n\n[0:00:58] spk_1: ok\n\n[0:00:59] spk_0: so\n\n[0:01:00] spk_1: one\n\n[0:01:00] spk_0: lakh। august में july first july thirty first\n\n[0:01:07] spk_1: क्या हैं बताना एक बार\n\n[0:01:09] spk_0: तो अगर आप ten lakhs से ज्यादा maintain करते हैं ना sir upto five year तक तो seven percent rate of interest दिया जा रहा हैं। sir interest every month credit होगा sir जैसे कि आप खुद check कर सकते हैं और आपके statement हैं\n\n[0:01:23] spk_1: statement seven।\n\n[0:01:26] spk_0: हां savings account के ऊपर हैं sir अगर minimum amount से लेकर up to ten lakhs तक अगर maintain करेंगे तो आपको four percent interest मिलेगा। sir\n\n[0:01:36] spk_1: ठीक हैं।\n\n[0:01:38] spk_0: तो अगर आप आप अभी अच्छा ये balance maintain कर रहे हो तो अगर आपके पास ideal funds हैं तो आपके account में transfer कर के रखिये sir ताकि every month जो hay interest मिल सके। इसके अलावा अगर आप चाहे तो f d और भी book कर सकते हैं। sir fixed deposit और recurring deposit वहां पर भी आपको seven point five percent interest मिलेगा sir अगर एक साल एक दिन से लेकर आप five fifty से days तक book करेंगे तो\n\n[0:02:04] spk_1: okay okay point ठीक\n\n[0:02:07] spk_0: हैं sir और send\n\n'
  • '[0:00:00] null: \n\n[0:00:03] spk_0: hello हां मुझे राजेश good afternoon मैं धारा पर एक बात कर रही हूँ bsc फस्ट से कैसे हैं आप? बस बढ़िया राजेश जी आज की आपका जो account हैं यहाँ pay जिनका name हैै जा किशन राजेश मई so इस account की मैं voucher relationship manager assign होती हूँ तो अभी से आपके account में आपको कभी भी कोई भी assistance की requirement होती हैं। ये आपको banking services के regarding आपको help चाहिए होगी तो आप friend या landline number तो मुझे phone कर सकता हैं। i am so sorry sir मेरी आवाज के लिए अभी के लिए। so sorry sir मुझे आपको ये बोलना हैं करके कि मैं जैसे भी आपका account go through कर देती हूँ तो आप काफी अच्छा balance maintain कर रहे हैं हमारे साथ correct एक average आपका sir one lakh के ऊपर show करता मेरे को मैं one one lakh twenty thousand just around for हैं तो यहाँ से मुझे आपको बताना करके की यही चीज़ जो आपकी funding आप bank के साथ रख रहे हो। आपको पता हैं कि आपका monthly interest मिल रहा इसी amount pay आपके average के ऊपर correct तो यहाँ pay sir मैं आपको एक just suggestion share करना चाहती हूँ sir कि जो month का and होता हैं ना। twenty fifth thirty first द month। तो उस time pay sir अगर आप अपना जो fund होगा ठीक हैं जो आपको लग रहा हैं कि चलो ये next month pay करना वो आप अपने account में रख सकते हैं। sir तो जैसे की आपका average increase हो जायेगा तो उसके through आपको interest अच्छा मिल जाएगा। because basically अगर हम बाकी banks के साथ compare करें तो। आपको पता हैं sir की वहाँ pay amount आपको जो interest मिलता हैं वो quarterly मिलता correct एक minute चल रहा हूँ समझ\n\n[0:02:00] spk_1: व्यक्ति ने call करी और छे limit अः मारो call hold पर रख या छे कृपा करी line पर रहो। आप जिस व्यक्ति से बात कर रहे हैं उन्होंने आपके call को hold पर रखा हैं। कृपया line पर बने रहे द person you are speaking with has put your call ऑन hold। please stay online तमिन जी व्यक्ति ने call करी और छे limit अः मारो call hold पर रख या छे कृपा करी, line पर रहो। आप जिस व्यक्ति से बात कर रहे हैं उन्होंने आपके call को hold पर रखा हैं। कृपया line पर बने रहे।\n\n'
  • "[0:00:00] null: \n\n[0:00:05] spk_0: Hello.\n\n[0:00:07] spk_1: Hello.\n\n[0:00:08] spk_0: Hi. My name is Suzy. Okay. I'm calling you from I D f c first bank. Am I speaking with Mister Mohammad? Babe, Russia?\n\n[0:00:18] spk_1: No, no, our our brother.\n\n[0:00:21] spk_0: Aha!\n\n[0:00:22] spk_1: Hello. Is\n\n[0:00:23] spk_0: he your? brand.\n\n[0:00:27] spk_1: he is my brother.\n\n[0:00:29] spk_0: Oh, okay. May I know who am I speaking to, sir?\n\n[0:00:34] spk_1: My name is Muhammad.\n\n[0:00:37] spk_0: okay?\n\n[0:00:42] spk_1: Hello.\n\n[0:00:43] spk_0: Yes, He's your brother. Okay. Uh, sir just wanted to Ah, ask you that. May I get his number or anything?\n\n[0:00:52] spk_1: what number\n\n[0:00:54] spk_0: customers number Mohammad. Mohammad says. Number can I get I can I get get his number to reach out to him? actually, I'm calling from I. D. F C First Bank. He's a relationship manager for NRI accounts.\n\n[0:01:09] spk_1: Okay, fine. number is not devil.\n\n[0:01:13] spk_0: you don't have\n\n[0:01:14] spk_1: WhatsApp. number only WhatsApp. your call.\n\n[0:01:20] spk_0: Okay? No problem. You can send. Give me the number. Is this the same number available on WhatsApp also?\n\n[0:01:26] spk_1: this is This is my number only.\n\n[0:01:29] spk_0: Oh, okay. So can you tell me his WhatsApp number so I can drop him on WhatsApp message? This is your number?\n\n[0:01:37] spk_1: No, just call them.\n\n[0:01:39] spk_0: I want Sorry, handy man.\n\n[0:01:42] spk_1: no English and Camille\n\n[0:01:44] spk_0: only Tamin. I want Mohammad side Braam Bouchar. Mobile number so I can call him or I can. What's up? Him? Do you have his number?\n\n[0:01:57] spk_1: Yeah, Yeah, avid Bro. This is this number I've given to my brother. Know you were calling this number?\n\n[0:02:03] spk_0: the same number is with your brother also.\n\n[0:02:07] spk_1: No, bro. You calling from phone number? Know something? Double two. Done. This number.\n\n[0:02:12] spk_0: No, sir. This number cannot be contacted. This is the landline number. Recording number recorded line. This\n\n[0:02:19] spk_1: is Okay, fine. There is any option number.\n\n[0:02:24] spk_0: Okay. Can you take down my number? My number? nine, Double zero.\n\n[0:02:31] spk_1: wait second.\n\n[0:02:32] spk_0: Yeah, yeah.\n\n[0:02:40] spk_1: tell me.\n\n[0:02:41] spk_0: Nine Double zero\n\n[0:02:43] spk_1: nine Double zero\n\n[0:02:44] spk_0: 431.\n\n[0:02:46] spk_1: 431\n\n[0:02:48] spk_0: 2929\n\n[0:02:51] spk_1: 2949 your name?\n\n[0:02:56] spk_0: Sue Yoga s u Y o G.\n\n[0:03:03] spk_1: Yes. We Y\n\n[0:03:04] spk_0: S u\n\n[0:03:07] spk_1: Y l\n\n[0:03:08] spk_0: Y O\n\n[0:03:11] spk_1: fine.\n\n[0:03:14] spk_0: Okay, Please provide this number to the customer and tell him to call me. I am the relationship manager and I am available on WhatsApp. Also on this number.\n\n[0:03:23] spk_1: Do you want to propose too,\n\n[0:03:25] spk_0: sir? Just wanted to check with the customer that how is his banking going on? Good. Does he require any sort of help from my end or in future? If he needs any help pertaining to the account? I am the one point of contact and relationship manager of his account.\n\n[0:03:42] spk_1: Okay, fine.\n\n[0:03:43] spk_0: Yeah, sir. Can you tell me again? Your name, sir? I am so sorry.\n\n[0:03:48] spk_1: Sorry.\n\n[0:03:50] spk_0: your name is sad. I am\n\n[0:03:52] spk_1: a right. Yes.\n\n[0:03:54] spk_0: Okay. Not a problem, sir. Yes, sir. Thank you so much for giving a valuable time. Please provide this number to the customer. Okay.\n\n[0:04:01] spk_1: Okay. Fine.\n\n[0:04:02] spk_0: Okay. Thank you so much.\n\n"

Evaluation

Metrics

Label Accuracy
all 0.4

Uses

Direct Use for Inference

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("Megatron17/setfit-paraphrase-mpnet-base-v2-sst2")
# Run inference
preds = model("[0:00:00] null: 

[0:00:03] spk_0: good afternoon. Am I speaking to supra Priya, ma'am? ma'am, this is Hi, Krishna. Ma'am, Your A newly appointed as your relationship manager from I D S C Falls Bank.

[0:00:15] spk_1: okay?

[0:00:17] spk_0: Yeah, ma'am. In future. So whenever you have any queries or whenever you have any requirement Okay, you can contact me. So

[0:00:24] spk_1: in terms of

[0:00:25] spk_0: account related information or if you want to go for any kind of loans, even for investment related suggestions for a building. Yeah. Allow me banking and tell on the name.

[0:00:37] spk_1: Yeah, it's

[0:00:39] spk_0: Okay, so every month interest is credit out the number. so whatever the balance you maintaining. Okay. So you'll get interest, ma'am.

[0:00:52] spk_1: Yeah. Yeah, I think I'm getting it.

[0:00:54] spk_0: Okay. And how much rate of interest are you getting at all?

[0:00:59] spk_1: Ah, it's okay. I like. I'm not that much into it. My husband take care of all that.

[0:01:04] spk_0: Okay. Okay, ma'am. I'll give you the information and please inform to your husband as well. Because all banks are giving a quarterly basis. Interest, ma'am. Okay. So that too only maximum 3%. But only our bank is giving a monthly interest. Credit that the minimum 4% per annum.

[0:01:23] spk_1: so

[0:01:24] spk_0: war and about 10 lakhs. If you maintain up to Pike Row, we are providing 7% rate of interest, ma'am. again it monthly. Okay, so if you aware about this definitely will maintain a mobile because you'll get a more interest credit year. And even if you have any idle funds, please do fixed deposits. We are giving 7.5 rate of interest for just one year. One day, ma'am.

[0:01:49] spk_1: Okay.

[0:01:51] spk_0: So your husband also holding account address?

[0:01:53] spk_1: No, I don't think so. He is like I don't know about.

[0:02:01] spk_0: OK, ma'am. Yeah, but please save my number. Okay? You can able to see my details in net banking and mobile app. So there is an option called my relationship ing.

[0:02:10] spk_1: Okay.

[0:02:11] spk_0: Yeah. So just save my number, ma'am, okay? Yeah. Thank you, ma'am. Thanks for your time. Have a nice day.

")

Training Details

Training Set Metrics

Training set Min Median Max
Word count 137 709.3718 2510
Label Training Sample Count
0 37
1 41

Training Hyperparameters

  • batch_size: (4, 4)
  • num_epochs: (1, 1)
  • max_steps: -1
  • sampling_strategy: oversampling
  • num_iterations: 20
  • 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.0013 1 0.2239 -
0.0641 50 0.2657 -
0.1282 100 0.1753 -
0.1923 150 0.22 -
0.2564 200 0.2309 -
0.3205 250 0.1526 -
0.3846 300 0.3479 -
0.4487 350 0.0581 -
0.5128 400 0.0137 -
0.5769 450 0.0013 -
0.6410 500 0.005 -
0.7051 550 0.001 -
0.7692 600 0.0023 -
0.8333 650 0.0011 -
0.8974 700 0.0001 -
0.9615 750 0.0004 -

Framework Versions

  • Python: 3.10.12
  • SetFit: 1.0.3
  • Sentence Transformers: 2.7.0
  • Transformers: 4.40.0
  • PyTorch: 2.2.1+cu121
  • Datasets: 2.19.0
  • Tokenizers: 0.19.1

Citation

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}
}
Downloads last month
3
Safetensors
Model size
109M params
Tensor type
F32
·
Inference Examples
Inference API (serverless) is not available, repository is disabled.

Model tree for Megatron17/setfit-paraphrase-mpnet-base-v2-sst2

Finetuned
this model

Evaluation results