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 |
-
|
|
80 |
-
| 2 | <ul><li>'
|
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 | 20 |
|
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.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 |
-
"
|
3 |
-
"
|
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:
|
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:
|
3 |
size 25463
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:beed96cc7ee8053d4c842212b2cf3ed91a50c6b9e443329c59a6223b78ba4089
|
3 |
size 25463
|