Add SetFit model
Browse files- README.md +12 -12
- 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.0022 | - |
|
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.8567105263157895
|
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>'Injuries prevent Fox from continuing career Rick Fox made it official yesterday: He will not be coming through any door to have a second go-round with the Celtics. As shockers go, this one is slightly behind quot;Dewey Defeats Truman. quot;'</li><li>'Sack-happy #39;D #39; bags Bills defenders got a piece of Bledsoe, and the Raiders offense did just enough -- as in a 43-yard touchdown pass from Rich Gannon to Ronald Curry and two Sebastian Janikowski field '</li><li>'Aussies ready for Sachin On Wednesday morning Sachin Tendulkar was at the Brabourne stadium, to egg on his Mumbai teammates. Not only did he have a chat with the Mumbai captain and coach and see the practice session through, but also '</li></ul> |
|
79 |
+
| 2 | <ul><li>'Costello to steer Group of 20 TREASURER Peter Costello will chair the 2006 meeting of the Group of 20, which brings together the finance ministers and central bankers from the leading industrial and developing nations.'</li><li>'Bye-bye, floppy. It #39;s been good to know you If you #39;re a computer user, you may have several of them stacked on your desk. We #39;re talking about floppy disks - and they are pretty much becoming extinct.'</li><li>'Eisner #39;s Exit Plan Good for Disney -Analysts While fans of Michael Eisner argue that his 20-year legacy of continued financial and stock growth at the Walt Disney Co. is a strong achievement, Wall Street observers say his record is more mixed.'</li></ul> |
|
80 |
+
| 0 | <ul><li>"Militants beat man thought to be from US HENDALA, Sri Lanka -- Day after day, locked in a cement room somewhere in Iraq, the hooded men beat him. They told him he would be beheaded. ''Ameriqi! quot; they shouted, even though he comes from this poor Sri Lankan fishing village."</li><li>'World News gt; Indians unfazed by Kathmandu blockade - but panic in India: Kanaiyalal Jiwanlal, a businessman from Valsad in Gujarat, has seen sectarian violence and a killer earthquake devastate parts of the western Indian state. Compared to such upheavals, the blockade of Kathmandu, called by Maoists, holds no terror for him. '</li><li>'Mosque on Fire After U.S. Air Strikes in West Iraq BAGHDAD (Reuters) - U.S. marines engaged in heavy clashes with scores of insurgents near a mosque in western Iraq on Monday, leading to U.S. air strikes which damaged the shrine and left it ablaze, the U.S. military said.'</li></ul> |
|
81 |
+
| 3 | <ul><li>'Philips Electronics resumes marketing PCs After an absence of a decade, Philips Electronics is making personal computers again, the company said yesterday. The Netherlands-based electronics conglomerate, which abandoned the PC business in the early '</li><li>'Microsoft is ready to remove media player for EU Microsoft will be ready to comply with European Commission demands for changes to its Windows operating systems if a European court does not suspend the antitrust remedy, a company spokesman said today.'</li><li>'NASA #39;s chief quitting post Sean O #39;Keefe on Monday officially resigned as the head of NASA to interview as the chancellor at Louisiana State University in Baton Rouge.'</li></ul> |
|
82 |
|
83 |
## Evaluation
|
84 |
|
85 |
### Metrics
|
86 |
| Label | Accuracy |
|
87 |
|:--------|:---------|
|
88 |
+
| **all** | 0.8567 |
|
89 |
|
90 |
## Uses
|
91 |
|
|
|
137 |
### Training Set Metrics
|
138 |
| Training set | Min | Median | Max |
|
139 |
|:-------------|:----|:--------|:----|
|
140 |
+
| Word count | 25 | 40.0938 | 56 |
|
141 |
|
142 |
| Label | Training Sample Count |
|
143 |
|:------|:----------------------|
|
|
|
167 |
### Training Results
|
168 |
| Epoch | Step | Training Loss | Validation Loss |
|
169 |
|:------:|:----:|:-------------:|:---------------:|
|
170 |
+
| 0.0063 | 1 | 0.1756 | - |
|
171 |
+
| 0.3125 | 50 | 0.0433 | - |
|
172 |
| 0.625 | 100 | 0.0022 | - |
|
173 |
+
| 0.9375 | 150 | 0.0011 | - |
|
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:aaa666dd16204848d64c30beb219d72e1e1478db4fc8022265df2ef31ec2c60b
|
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:e22a1a198c59edf23b5e80d21e6c7a73b1a674c013bc6e28ae5de2167a1b94e8
|
3 |
size 25463
|