Add SetFit model
Browse files- README.md +13 -13
- config_setfit.json +2 -2
- 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 |
-
| 0 | <ul><li>
|
80 |
-
|
|
81 |
-
| 3 | <ul><li>'
|
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.8393421052631579
|
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 |
+
| 1 | <ul><li>'Titans QB to sit out final three games, undergo surgery for <b>...</b> 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 <b>...</b> 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 |
### 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 |
### 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
|
config_setfit.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"normalize_embeddings": false,
|
3 |
+
"labels": null
|
4 |
}
|
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:45e6cd589a3615c5066de742cf155dd65d8b92273c9d5cca497f06ba669cd4ea
|
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:83580604a395003258f29ad60f9c1bd79102b38aed277c28ac2e98caab611851
|
3 |
size 25463
|