Add SetFit model
Browse files- README.md +12 -13
- model.safetensors +1 -1
- model_head.pkl +2 -2
README.md
CHANGED
@@ -9,12 +9,13 @@ base_model: sentence-transformers/paraphrase-mpnet-base-v2
|
|
9 |
metrics:
|
10 |
- accuracy
|
11 |
widget:
|
12 |
-
- text:
|
13 |
-
|
14 |
-
- text:
|
15 |
-
- text:
|
16 |
-
|
17 |
-
- text:
|
|
|
18 |
pipeline_tag: text-classification
|
19 |
inference: false
|
20 |
---
|
@@ -64,7 +65,7 @@ from setfit import SetFitModel
|
|
64 |
# Download from the 🤗 Hub
|
65 |
model = SetFitModel.from_pretrained("Chernoffface/fs-setfit-multilable-model")
|
66 |
# Run inference
|
67 |
-
preds = model("
|
68 |
```
|
69 |
|
70 |
<!--
|
@@ -96,7 +97,7 @@ preds = model("Airborne Data Acquisition")
|
|
96 |
### Training Set Metrics
|
97 |
| Training set | Min | Median | Max |
|
98 |
|:-------------|:----|:--------|:----|
|
99 |
-
| Word count | 2 |
|
100 |
|
101 |
### Training Hyperparameters
|
102 |
- batch_size: (16, 16)
|
@@ -120,11 +121,9 @@ preds = model("Airborne Data Acquisition")
|
|
120 |
### Training Results
|
121 |
| Epoch | Step | Training Loss | Validation Loss |
|
122 |
|:------:|:----:|:-------------:|:---------------:|
|
123 |
-
| 0.
|
124 |
-
| 0.
|
125 |
-
| 0.
|
126 |
-
| 0.6818 | 150 | 0.0574 | - |
|
127 |
-
| 0.9091 | 200 | 0.0404 | - |
|
128 |
|
129 |
### Framework Versions
|
130 |
- Python: 3.12.3
|
|
|
9 |
metrics:
|
10 |
- accuracy
|
11 |
widget:
|
12 |
+
- text: The seminar offers a well-balanced mix of theory and case studies with a focus
|
13 |
+
on mitigation and adaptation within the context of climate change and economics.
|
14 |
+
- text: 'Juni Fachsprachliche Lehrwerke: Anspruche und Realitat 01.'
|
15 |
+
- text: Grundlagen der Fachdidaktik Padagogik
|
16 |
+
- text: Probleme losen lernen
|
17 |
+
- text: Im Rahmen dieses Praxisseminars sollen Studierende einen fundierten Einblick
|
18 |
+
in Ablaufe der Fragebogenkonstruktion, Datenerhebung und Datenanalyse erhalten.
|
19 |
pipeline_tag: text-classification
|
20 |
inference: false
|
21 |
---
|
|
|
65 |
# Download from the 🤗 Hub
|
66 |
model = SetFitModel.from_pretrained("Chernoffface/fs-setfit-multilable-model")
|
67 |
# Run inference
|
68 |
+
preds = model("Probleme losen lernen")
|
69 |
```
|
70 |
|
71 |
<!--
|
|
|
97 |
### Training Set Metrics
|
98 |
| Training set | Min | Median | Max |
|
99 |
|:-------------|:----|:--------|:----|
|
100 |
+
| Word count | 2 | 18.2917 | 74 |
|
101 |
|
102 |
### Training Hyperparameters
|
103 |
- batch_size: (16, 16)
|
|
|
121 |
### Training Results
|
122 |
| Epoch | Step | Training Loss | Validation Loss |
|
123 |
|:------:|:----:|:-------------:|:---------------:|
|
124 |
+
| 0.0083 | 1 | 0.1978 | - |
|
125 |
+
| 0.4167 | 50 | 0.1134 | - |
|
126 |
+
| 0.8333 | 100 | 0.0439 | - |
|
|
|
|
|
127 |
|
128 |
### Framework Versions
|
129 |
- Python: 3.12.3
|
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:21e8d519f1b08e5864723f20364921b88296cd50a13b9009b1d2f4afd9574b85
|
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
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95a2bad9927eda79596a3a3c5498183ac0efeb0f5105eae54b9594609d2ac75f
|
3 |
+
size 39828
|