Add SetFit model
Browse files- README.md +27 -22
- config_setfit.json +2 -2
- model.safetensors +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
|
@@ -60,13 +60,13 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
| 60 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
| 61 |
|
| 62 |
### Model Labels
|
| 63 |
-
| Label | Examples
|
| 64 |
-
|:-----------------------------|:--------------------------------------------------------------------------------------------------------------|
|
| 65 |
-
| sacre composé doux | <ul><li>'
|
| 66 |
-
| sacre ponctuation intense | <ul><li>'
|
| 67 |
-
| sacre composé intense | <ul><li>'
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
|
| 71 |
## Evaluation
|
| 72 |
|
|
@@ -125,7 +125,7 @@ preds = model("esti")
|
|
| 125 |
### Training Set Metrics
|
| 126 |
| Training set | Min | Median | Max |
|
| 127 |
|:-------------|:----|:-------|:----|
|
| 128 |
-
| Word count | 1 | 2.
|
| 129 |
|
| 130 |
| Label | Training Sample Count |
|
| 131 |
|:--------------------------|:----------------------|
|
|
@@ -155,20 +155,25 @@ preds = model("esti")
|
|
| 155 |
### Training Results
|
| 156 |
| Epoch | Step | Training Loss | Validation Loss |
|
| 157 |
|:-------:|:----:|:-------------:|:---------------:|
|
| 158 |
-
| 0.0175 | 1 | 0.
|
| 159 |
-
| 0.8772 | 50 | 0.
|
| 160 |
-
| 1.7544 | 100 | 0.
|
| 161 |
-
| 2.6316 | 150 | 0.
|
| 162 |
-
| 3.5088 | 200 | 0.
|
| 163 |
-
| 4.3860 | 250 | 0.
|
| 164 |
-
| 5.2632 | 300 | 0.0003 | 0.
|
| 165 |
-
| 6.1404 | 350 | 0.
|
| 166 |
-
| 7.0175 | 400 | 0.0002 | 0.
|
| 167 |
-
| 7.8947 | 450 | 0.0002 | 0.
|
| 168 |
-
| 8.7719 | 500 | 0.0002 | 0.
|
| 169 |
-
| 9.6491 | 550 | 0.0002 | 0.
|
| 170 |
-
| 10.5263 | 600 | 0.
|
| 171 |
-
| 11.4035 | 650 | 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
|
| 173 |
### Framework Versions
|
| 174 |
- Python: 3.12.10
|
|
|
|
| 60 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
| 61 |
|
| 62 |
### Model Labels
|
| 63 |
+
| Label | Examples |
|
| 64 |
+
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------------|
|
| 65 |
+
| sacre composé doux | <ul><li>'Saint-cimonaque de sainte-viarge'</li><li>'Cibolac de cibouleau'</li><li>'câline de bines!'</li></ul> |
|
| 66 |
+
| sacre ponctuation intense | <ul><li>'sacrament!'</li><li>'siboire!'</li><li>'câlisse!'</li></ul> |
|
| 67 |
+
| sacre composé intense | <ul><li>'Ciboire de ciarge'</li><li>"ciboire de viarge de bout d'crisse"</li><li>"sacrement d'tarbarnak de câlisse"</li></ul> |
|
| 68 |
+
| sacre ponctuation doux | <ul><li>'tabarouette!'</li><li>'cibole'</li><li>'baptême'</li></ul> |
|
| 69 |
+
| "sacre ponctuation intense" | <ul><li>'sti!'</li></ul> |
|
| 70 |
|
| 71 |
## Evaluation
|
| 72 |
|
|
|
|
| 125 |
### Training Set Metrics
|
| 126 |
| Training set | Min | Median | Max |
|
| 127 |
|:-------------|:----|:-------|:----|
|
| 128 |
+
| Word count | 1 | 2.2653 | 6 |
|
| 129 |
|
| 130 |
| Label | Training Sample Count |
|
| 131 |
|:--------------------------|:----------------------|
|
|
|
|
| 155 |
### Training Results
|
| 156 |
| Epoch | Step | Training Loss | Validation Loss |
|
| 157 |
|:-------:|:----:|:-------------:|:---------------:|
|
| 158 |
+
| 0.0175 | 1 | 0.2373 | - |
|
| 159 |
+
| 0.8772 | 50 | 0.2157 | 0.0794 |
|
| 160 |
+
| 1.7544 | 100 | 0.0818 | 0.0061 |
|
| 161 |
+
| 2.6316 | 150 | 0.0014 | 0.0069 |
|
| 162 |
+
| 3.5088 | 200 | 0.0004 | 0.0086 |
|
| 163 |
+
| 4.3860 | 250 | 0.0003 | 0.0057 |
|
| 164 |
+
| 5.2632 | 300 | 0.0003 | 0.0103 |
|
| 165 |
+
| 6.1404 | 350 | 0.0002 | 0.0092 |
|
| 166 |
+
| 7.0175 | 400 | 0.0002 | 0.0169 |
|
| 167 |
+
| 7.8947 | 450 | 0.0002 | 0.0110 |
|
| 168 |
+
| 8.7719 | 500 | 0.0002 | 0.0135 |
|
| 169 |
+
| 9.6491 | 550 | 0.0002 | 0.0131 |
|
| 170 |
+
| 10.5263 | 600 | 0.0001 | 0.0120 |
|
| 171 |
+
| 11.4035 | 650 | 0.0001 | 0.0114 |
|
| 172 |
+
| 12.2807 | 700 | 0.0001 | 0.0128 |
|
| 173 |
+
| 13.1579 | 750 | 0.0001 | 0.0135 |
|
| 174 |
+
| 14.0351 | 800 | 0.0001 | 0.0142 |
|
| 175 |
+
| 14.9123 | 850 | 0.0001 | 0.0156 |
|
| 176 |
+
| 15.7895 | 900 | 0.0001 | 0.0160 |
|
| 177 |
|
| 178 |
### Framework Versions
|
| 179 |
- Python: 3.12.10
|
config_setfit.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"normalize_embeddings": false,
|
| 3 |
"labels": [
|
| 4 |
"sacre ponctuation intense",
|
| 5 |
"sacre ponctuation doux",
|
| 6 |
"sacre compos\u00e9 intense",
|
| 7 |
"sacre compos\u00e9 doux"
|
| 8 |
-
]
|
|
|
|
| 9 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"labels": [
|
| 3 |
"sacre ponctuation intense",
|
| 4 |
"sacre ponctuation doux",
|
| 5 |
"sacre compos\u00e9 intense",
|
| 6 |
"sacre compos\u00e9 doux"
|
| 7 |
+
],
|
| 8 |
+
"normalize_embeddings": false
|
| 9 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1112197096
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f560cb215e7638a135db656da192436020d775932bcf4465f06c8672a6f70330
|
| 3 |
size 1112197096
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 32159
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f9956302a9fa640e71c5c62330e6f942505d6db8038fefb9f145a70bea62964
|
| 3 |
size 32159
|