Add SetFit model
Browse files- README.md +13 -13
- model.safetensors +1 -1
- 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.
|
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 |
-
|
|
79 |
-
|
|
80 |
-
|
|
81 |
-
|
|
82 |
|
83 |
## Evaluation
|
84 |
|
85 |
### Metrics
|
86 |
| Label | Accuracy |
|
87 |
|:--------|:---------|
|
88 |
-
| **all** | 0.
|
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 |
|
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.
|
171 |
-
| 0.3125 | 50 | 0.
|
172 |
-
| 0.625 | 100 | 0.
|
173 |
-
| 0.9375 | 150 | 0.
|
174 |
|
175 |
### Framework Versions
|
176 |
- Python: 3.8.10
|
|
|
41 |
split: test
|
42 |
metrics:
|
43 |
- type: accuracy
|
44 |
+
value: 0.8636842105263158
|
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 |
+
| 2 | <ul><li>'It girl turned sole trader makes millions as Jimmy Choo deal is <b>...</b> Tamara Mellon, the former It girl and fashion PR, yesterday saw a 150,000 loan from her father turn into a 50m fortune when the Jimmy Choo shoes business was bought by the American '</li><li>'Airport stands to lose big if ATA departs With ATA Airlines having crash-landed into bankruptcy court last week, the future of the airlines Fort Wayne-to-Chicago air service isnt the only thing up in the air.'</li><li>'\\$149 million lottery winner: #39;No idea #39; what comes next Newly minted multimillionaire Juan Rodriguez, who won the \\$149 million Mega Millions lottery jackpot, said Sunday he hasn #39;t quit his job at a midtown Manhattan parking garage yet.'</li></ul> |
|
79 |
+
| 0 | <ul><li>"Musharraf ally wins prime minister vote Pakistan's parliament elected former finance minister Shaukat Aziz, a close ally of President Pervez Musharraf, as prime minister yesterday after the opposition boycotted the vote, saying it was undemocratic. Aziz, 55, worked 30 years as a Citibank executive before becoming finance minister when Musharraf took power in a bloodless military coup in 1999. Suave, articulate, and media-savvy, Aziz is credited ..."</li><li>'World ; Mexico Opposition Has Early Lead in State Voting Victories would put the PRI on track to win back the presidency after losing it in 2000 to President Vicente Fox #39;s center-right National Action Party (PAN) after 71 years of uninterrupted rule.'</li><li>'Schwarzenegger Lauds Bush on Terror Fight (AP) AP - California Gov. Arnold Schwarzenegger drew on his childhood in Soviet-occupied Austria to endorse President Bush\'s war on terror. "Terrorism is more insidious than communism," the bodybuilder-turned-politician said Tuesday in a speech to the Republican convention.'</li></ul> |
|
80 |
+
| 1 | <ul><li>'Security for Olympics Successful, Greek Defense Minister Says Greece #39;s defense minister says his country #39;s security preparations for the Athens Olympics have been so successful that it is now in a position to advise China, the host of the 2008 Summer Games, on how to avoid terrorist attacks. But the minister says ...'</li><li>'Gordo at Fenway: It #39;s slow-pitch softball with jacked-up fans First and foremost, the Red Sox can hit. They look like a slow-pitch softball team, with all that unruly hair, and they tee off on pitches like one.'</li><li>'Lara Proves the Undoing of Flintoff Brian Laras brilliance undermined Englands ICC Champions Trophy victory bid at the Oval this morning. West Indies captain Lara, who earlier won the toss, inflicted a major '</li></ul> |
|
81 |
+
| 3 | <ul><li>'Google and Mozilla Firefox Working Together Google have hosted a customized Internet Explorer search page for many years now specially designed to act as sidebar search. And with the launch of the first final release of the very popular Mozilla Firefox '</li><li>'Gaps in Intel Itanium, Xeon Road Maps During its bi-annual Developers Forum in San Francisco this week, the chipmaker focused on promoting its next-generation Itanium and Xeon processors.'</li><li>"Conway or the highway CNET News.com's Charles Cooper says the board is only telling half the story behind the surprise firing of PeopleSoft's CEO."</li></ul> |
|
82 |
|
83 |
## Evaluation
|
84 |
|
85 |
### Metrics
|
86 |
| Label | Accuracy |
|
87 |
|:--------|:---------|
|
88 |
+
| **all** | 0.8637 |
|
89 |
|
90 |
## Uses
|
91 |
|
|
|
137 |
### Training Set Metrics
|
138 |
| Training set | Min | Median | Max |
|
139 |
|:-------------|:----|:--------|:----|
|
140 |
+
| Word count | 22 | 36.1562 | 67 |
|
141 |
|
142 |
| Label | Training Sample Count |
|
143 |
|:------|:----------------------|
|
|
|
167 |
### Training Results
|
168 |
| Epoch | Step | Training Loss | Validation Loss |
|
169 |
|:------:|:----:|:-------------:|:---------------:|
|
170 |
+
| 0.0063 | 1 | 0.2415 | - |
|
171 |
+
| 0.3125 | 50 | 0.0396 | - |
|
172 |
+
| 0.625 | 100 | 0.0008 | - |
|
173 |
+
| 0.9375 | 150 | 0.0002 | - |
|
174 |
|
175 |
### Framework Versions
|
176 |
- Python: 3.8.10
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 437967672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05621b96c64c17df9f6825f6fe249127b73fc9fbe7e070d31520e20aa5bba94f
|
3 |
size 437967672
|
model_head.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 25463
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80cc79ec717ba8aec09482f6155c92170a4eff1a26b02cc740b18439e8db9b2a
|
3 |
size 25463
|