vidhi0206 commited on
Commit
ee38ffd
1 Parent(s): 115c1d2

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +13 -13
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. model_head.pkl +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ model-index:
41
  split: test
42
  metrics:
43
  - type: accuracy
44
- value: 0.8393421052631579
45
  name: Accuracy
46
  ---
47
 
@@ -73,19 +73,19 @@ The model has been trained using an efficient few-shot learning technique that i
73
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
74
 
75
  ### Model Labels
76
- | Label | Examples |
77
- |:------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
78
- | 1 | <ul><li>'Titans QB to sit out final three games, undergo surgery for &lt;b&gt;...&lt;/b&gt; Tennessee quarterback Steve McNair will not play the final three games of the season and will have surgery to strengthen the bruised sternum that has plagued him most of the year.'</li><li>'Mental miscues hurt the Gators Flinching in the trenches, holding around quarterback Chris Leak and even a late hit by punter Eric Wilbur plagued Florida throughout the game.'</li><li>'Arsenal boss admits admiration for Man City #39;s SWP Arsenal boss Arsene Wenger admits he is keeping tabs on Manchester City winger Shaun Wright-Phillips. Wenger said: quot;He is getting higher every year.'</li></ul> |
79
- | 0 | <ul><li>'Sharon Allows 1,000 More Settler Homes in West Bank JERUSALEM (Reuters) - Prime Minister Ariel Sharon, facing a party mutiny over his plan to quit the Gaza Strip, has approved 1,000 more Israeli settler homes in the West Bank in a move that drew a cautious response Tuesday from Washington.'</li><li>' #39;US arms to Islamabad could impact India-Pakistan ties #39; (LEADS &lt;b&gt;...&lt;/b&gt; India News: New Delhi, Dec 9 : India Thursday expressed concern at a US decision to sell sophisticated weapons to Pakistan, saying it would adversely affect the quot;sensitive quot; India-Pakistan peace process as well as growing India-US ties.'</li><li>"Stars Arrive by Yacht at MTV Video Awards MIAMI - An already broiling Miami had even more sizzle on Sunday as MTV brought the annual party known as the Video Music Awards to the city for the first time in the awards' 21-year history. The change of scenery for the awards, typically held in New York or Los Angeles, helped raise the decadence level at the already raucous, celebrity-soaked affair..."</li></ul> |
80
- | 2 | <ul><li>'Merck begins search for new CEO NEW YORK, October 12 (newratings.com) - The global pharmaceutical giant, Merck amp; Company (MRK.NYS) plans to appoint a new CEO by the end of next year.'</li><li>'Dollar Jumps as the G7 Fades LONDON (Reuters) - The dollar surged against the euro, yen and Swiss franc on Monday as, with a Group of Seven rich nations meeting out of the way, the greenback was free to join a wave of optimism about the U.S. economy.'</li><li>'Fed Seen Boosting Rates Despite Worries (Reuters) Reuters - Federal Reserve policy-makers were\\expected to raise U.S. interest rates on Tuesday for a third\\time this year, continuing to lift borrowing costs from\\rock-bottom levels despite some signs of economic softness.'</li></ul> |
81
- | 3 | <ul><li>'Grand Theft Auto ... Stolen! First it was Halo 2. Now the newest version of Grand Theft Auto has been leaked to the Internet. Rockstar Games #39; latest entry in its highly successful crime/action series, San Andreas, is scheduled for an '</li><li>'Satellite boosts Olympic security An enhanced satellite location system aims to help Olympic security guards react more quickly to emergencies.'</li><li>'Regulator vows to ease way for Net phone use BOSTON The United States #39; top telecommunications regulator plans to protect fledgling Internet telephone services from being taxed and heavily regulated by the 50 state governments.'</li></ul> |
82
 
83
  ## Evaluation
84
 
85
  ### Metrics
86
  | Label | Accuracy |
87
  |:--------|:---------|
88
- | **all** | 0.8393 |
89
 
90
  ## Uses
91
 
@@ -137,7 +137,7 @@ preds = model("Mauresmo confident of LA victory Amelie Mauresmo insists she can
137
  ### Training Set Metrics
138
  | Training set | Min | Median | Max |
139
  |:-------------|:----|:--------|:----|
140
- | Word count | 20 | 38.7812 | 73 |
141
 
142
  | Label | Training Sample Count |
143
  |:------|:----------------------|
@@ -167,10 +167,10 @@ preds = model("Mauresmo confident of LA victory Amelie Mauresmo insists she can
167
  ### Training Results
168
  | Epoch | Step | Training Loss | Validation Loss |
169
  |:------:|:----:|:-------------:|:---------------:|
170
- | 0.0063 | 1 | 0.1416 | - |
171
- | 0.3125 | 50 | 0.0677 | - |
172
- | 0.625 | 100 | 0.0006 | - |
173
- | 0.9375 | 150 | 0.0006 | - |
174
 
175
  ### Framework Versions
176
  - Python: 3.8.10
 
41
  split: test
42
  metrics:
43
  - type: accuracy
44
+ value: 0.8522368421052632
45
  name: Accuracy
46
  ---
47
 
 
73
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
74
 
75
  ### Model Labels
76
+ | Label | Examples |
77
+ |:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
78
+ | 3 | <ul><li>'The virtual girlfriend is here Hong Kong citizens famously told a survey last year they were too busy with work for relationships; now a new technology will enable them to go dating using their famous passion for mobile phones.'</li><li>"Multifunction Devices Draw Back-To-School Crowd (Reuters) Reuters - The consumer electronics gizmo\\that offers many functions in a small package is what's\\compelling back-to-school shoppers to open their wallets."</li><li>'Intel goes #39;Extreme The Intel Pentium 4 processor Extreme Edition supporting Hyper-Threading (HT) Technology and a higher-speed system bus enabled by the new Intel 925XE Express chipset form the foundation of this new enthusiast platform.'</li></ul> |
79
+ | 1 | <ul><li>'Final plunge for 10m platform There was nothing much to choose between the top four of world silver medallist Helm, Canada #39;s double Commonwealth champion Despatie and 2000 Olympic gold and silver medallists Tian and Hu after Saturday #39;s semi-final round.'</li><li>'Athens Paralympics ends with China on top China turned out a great surprise in the 12-day-long 12th Paralympic Games which closed here on Tuesday, topping the gold medal tally with 63.'</li><li>'Sri Lanka reach final after Zimbabwe match called off Sri Lanka qualified for the final of a three-nation one-day tournament today after their match with Zimbabwe was called off due to overnight rain.'</li></ul> |
80
+ | 2 | <ul><li>'Cox brings VoIP service to more cities com October 4, 2004, 12:22 PM PT. ZDNet #39;s survey of IT professionals in August kept Wired amp; Wireless on top for the 18th month in a row.'</li><li>'US audits find fewer business tax cheats, data show The push by the head of the US tax agency for quick completion of audits of big corporations - a move criticized by many longtime agency auditors - has led to a sharp drop in the discovery of tax cheating at the 11,000 largest businesses, according to new '</li><li>'SEC Seeks Accounting Information from GM and Ford US regulators asked automotive giants General Motors Corp. and Ford Motor Co. for information on how they account for pension and health care plans, the companies said on Tuesday.'</li></ul> |
81
+ | 0 | <ul><li>'Mother of Dead UK Soldier to Sue Government -Report LONDON (Reuters) - The mother of a young British soldier killed in Iraq plans to sue the government for breaching its duty of care to her son by not supplying key defensive equipment, the Guardian newspaper reported on Monday.'</li><li>'Bomb warnings show airlines are hostage to hoaxers German airline Lufthansa diverted an Israel-bound plane to Cyprus on Tuesday in the sixth mid-air bomb scare over Europe in 10 days, acting at Israel #39;s insistence despite concluding the threat was a hoax.'</li><li>"World Bank unveils 12 billion dollar plan to cut poverty in India (AFP) AFP - The World Bank unveiled plans to lend up to 12 billion dollars to India under a fresh four-year program beginning in 2005 to alleviate poverty in the world's second most populous nation."</li></ul> |
82
 
83
  ## Evaluation
84
 
85
  ### Metrics
86
  | Label | Accuracy |
87
  |:--------|:---------|
88
+ | **all** | 0.8522 |
89
 
90
  ## Uses
91
 
 
137
  ### Training Set Metrics
138
  | Training set | Min | Median | Max |
139
  |:-------------|:----|:--------|:----|
140
+ | Word count | 20 | 39.1875 | 76 |
141
 
142
  | Label | Training Sample Count |
143
  |:------|:----------------------|
 
167
  ### Training Results
168
  | Epoch | Step | Training Loss | Validation Loss |
169
  |:------:|:----:|:-------------:|:---------------:|
170
+ | 0.0063 | 1 | 0.3233 | - |
171
+ | 0.3125 | 50 | 0.1039 | - |
172
+ | 0.625 | 100 | 0.0022 | - |
173
+ | 0.9375 | 150 | 0.0014 | - |
174
 
175
  ### Framework Versions
176
  - Python: 3.8.10
config_setfit.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "normalize_embeddings": false,
3
- "labels": null
4
  }
 
1
  {
2
+ "labels": null,
3
+ "normalize_embeddings": false
4
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45e6cd589a3615c5066de742cf155dd65d8b92273c9d5cca497f06ba669cd4ea
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7f846e4f7855a59c53a028c340d60cacb877e073c8f67242b8660dbebd3d20
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:83580604a395003258f29ad60f9c1bd79102b38aed277c28ac2e98caab611851
3
  size 25463
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beed96cc7ee8053d4c842212b2cf3ed91a50c6b9e443329c59a6223b78ba4089
3
  size 25463