Add SetFit model
Browse files- README.md +40 -35
- model.safetensors +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
@@ -106,10 +106,10 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
106 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
107 |
|
108 |
### Model Labels
|
109 |
-
| Label | Examples
|
110 |
-
|
111 |
-
| 1 | <ul><li>'Reasoning:\nThe answer
|
112 |
-
| 0 | <ul><li>'Reasoning:\nThe answer
|
113 |
|
114 |
## Evaluation
|
115 |
|
@@ -171,16 +171,16 @@ Evaluation:")
|
|
171 |
### Training Set Metrics
|
172 |
| Training set | Min | Median | Max |
|
173 |
|:-------------|:----|:--------|:----|
|
174 |
-
| Word count | 33 |
|
175 |
|
176 |
| Label | Training Sample Count |
|
177 |
|:------|:----------------------|
|
178 |
-
| 0 |
|
179 |
-
| 1 |
|
180 |
|
181 |
### Training Hyperparameters
|
182 |
- batch_size: (16, 16)
|
183 |
-
- num_epochs: (
|
184 |
- max_steps: -1
|
185 |
- sampling_strategy: oversampling
|
186 |
- num_iterations: 20
|
@@ -200,33 +200,38 @@ Evaluation:")
|
|
200 |
### Training Results
|
201 |
| Epoch | Step | Training Loss | Validation Loss |
|
202 |
|:------:|:----:|:-------------:|:---------------:|
|
203 |
-
| 0.
|
204 |
-
| 0.
|
205 |
-
| 0.
|
206 |
-
| 0.
|
207 |
-
| 0.
|
208 |
-
| 0.
|
209 |
-
| 0.
|
210 |
-
| 0.
|
211 |
-
| 0.
|
212 |
-
| 0.
|
213 |
-
| 0.
|
214 |
-
| 0.
|
215 |
-
| 0.
|
216 |
-
| 0.
|
217 |
-
|
|
218 |
-
|
|
219 |
-
|
|
220 |
-
|
|
221 |
-
|
|
222 |
-
|
|
223 |
-
|
|
224 |
-
|
|
225 |
-
|
|
226 |
-
|
|
227 |
-
|
|
228 |
-
|
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
### Framework Versions
|
232 |
- Python: 3.10.14
|
|
|
106 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
107 |
|
108 |
### Model Labels
|
109 |
+
| Label | Examples |
|
110 |
+
|:------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
111 |
+
| 1 | <ul><li>'Reasoning:\nThe given answer is directly aligned with the context provided by the document. It accurately identifies Ennita Manyumwa as a 26-year-old African woman who is HIV-free. It further elaborates on her significance in the fight against AIDS by highlighting her resistance to older men who offer gifts for sex, a behavior that helps prevent the spread of AIDS. This information is consistent with the document and directly answers the question without any unnecessary details.\n\nFinal Evaluation:'</li><li>'Reasoning:\nThe answer directly addresses the question by listing the benefits the author has experienced from their regular yoga practice. These benefits include unapologetic "me" time, improved health, self-growth, increased patience, the ability to be still, acceptance of daily changes, the realization that happiness is their responsibility, a deeper appreciation for their body, the understanding that yoga exists off the mat, and the importance of being open. Each of these points is explicitly mentioned in the provided document, making the answer well-supported and contextually accurate. The answer is concise and relevant, sticking closely to the specifics asked for in the question.\n\nFinal Evaluation:'</li><li>'Reasoning:\nThe answer accurately identifies that the work on germ-free-life conducted at Notre Dame University resulted in the establishment of the Lobund Institute. This directly aligns with the information provided in the document, which details the evolution of the research from its beginnings in 1928 to the establishment of the Lobund Institute. The response is relevant, well-grounded in the context of the document, and concise.\n\nEvaluation:'</li></ul> |
|
112 |
+
| 0 | <ul><li>'Reasoning:\nThe answer provided accurately addresses the question by explaining how to enable approval for appointment bookings, which subsequently changes the booking process for clients from immediate booking to a "request to book" process. This may be a solution to the issue if clients are currently experiencing difficulties due to the lack of this feature. The steps given are clear, concise, and directly supported by the provided document, aligning well with the instructions mentioned for enabling approval.\n\nHowever, it is important to note that the answer does not directly state why clients might be unable to book appointments online, nor does it explore other potential reasons beyond the approval setting. Directly stating that clients cannot book appointments online due to lack of enabling approval, and covering any other potential issues mentioned in the document, would make it even more thorough.\n\nEvaluation:'</li><li>'Reasoning:\nThe answer does cover the fundamental steps to write a nonfiction book, such as selecting a topic, conducting research, creating an outline, and starting the writing process. However, it includes an incorrect aside, stating that "The Old Man and the Sea" by Ernest Hemingway is nonfiction and based on true events, which detracts from the otherwise accurate guidance. Additionally, the answer could be more detailed and aligned with the extensive steps provided in the document, such as discussing the importance of understanding the genre, reading and analyzing examples, brainstorming, setting up interviews, organizing research, creating a writing schedule, and focusing on writing techniques.\n\nFinal Evaluation: \nEvaluation:'</li><li>'Reasoning:\nThe provided answer directly contradicts the guidelines given in the document on studying English literature. The answer suggests not taking notes, ignoring significant passages, and avoiding making character profiles, which are all contrary to the recommendations in the document. The document emphasizes the importance of thorough reading, taking detailed notes, creating character profiles, and paying attention to important passages and concepts, which are crucial for comprehensive understanding and analysis of English literature.\n\nFinal Evaluation: \nEvaluation:'</li></ul> |
|
113 |
|
114 |
## Evaluation
|
115 |
|
|
|
171 |
### Training Set Metrics
|
172 |
| Training set | Min | Median | Max |
|
173 |
|:-------------|:----|:--------|:----|
|
174 |
+
| Word count | 33 | 96.1280 | 289 |
|
175 |
|
176 |
| Label | Training Sample Count |
|
177 |
|:------|:----------------------|
|
178 |
+
| 0 | 312 |
|
179 |
+
| 1 | 321 |
|
180 |
|
181 |
### Training Hyperparameters
|
182 |
- batch_size: (16, 16)
|
183 |
+
- num_epochs: (1, 1)
|
184 |
- max_steps: -1
|
185 |
- sampling_strategy: oversampling
|
186 |
- num_iterations: 20
|
|
|
200 |
### Training Results
|
201 |
| Epoch | Step | Training Loss | Validation Loss |
|
202 |
|:------:|:----:|:-------------:|:---------------:|
|
203 |
+
| 0.0006 | 1 | 0.2154 | - |
|
204 |
+
| 0.0316 | 50 | 0.2575 | - |
|
205 |
+
| 0.0632 | 100 | 0.2525 | - |
|
206 |
+
| 0.0948 | 150 | 0.2567 | - |
|
207 |
+
| 0.1263 | 200 | 0.2345 | - |
|
208 |
+
| 0.1579 | 250 | 0.1831 | - |
|
209 |
+
| 0.1895 | 300 | 0.1548 | - |
|
210 |
+
| 0.2211 | 350 | 0.1225 | - |
|
211 |
+
| 0.2527 | 400 | 0.0948 | - |
|
212 |
+
| 0.2843 | 450 | 0.0578 | - |
|
213 |
+
| 0.3159 | 500 | 0.0309 | - |
|
214 |
+
| 0.3474 | 550 | 0.0241 | - |
|
215 |
+
| 0.3790 | 600 | 0.0212 | - |
|
216 |
+
| 0.4106 | 650 | 0.016 | - |
|
217 |
+
| 0.4422 | 700 | 0.007 | - |
|
218 |
+
| 0.4738 | 750 | 0.0037 | - |
|
219 |
+
| 0.5054 | 800 | 0.0045 | - |
|
220 |
+
| 0.5370 | 850 | 0.0046 | - |
|
221 |
+
| 0.5685 | 900 | 0.0047 | - |
|
222 |
+
| 0.6001 | 950 | 0.0028 | - |
|
223 |
+
| 0.6317 | 1000 | 0.0042 | - |
|
224 |
+
| 0.6633 | 1050 | 0.0024 | - |
|
225 |
+
| 0.6949 | 1100 | 0.0023 | - |
|
226 |
+
| 0.7265 | 1150 | 0.002 | - |
|
227 |
+
| 0.7581 | 1200 | 0.0023 | - |
|
228 |
+
| 0.7896 | 1250 | 0.0025 | - |
|
229 |
+
| 0.8212 | 1300 | 0.0022 | - |
|
230 |
+
| 0.8528 | 1350 | 0.0017 | - |
|
231 |
+
| 0.8844 | 1400 | 0.0019 | - |
|
232 |
+
| 0.9160 | 1450 | 0.0021 | - |
|
233 |
+
| 0.9476 | 1500 | 0.0019 | - |
|
234 |
+
| 0.9792 | 1550 | 0.0015 | - |
|
235 |
|
236 |
### Framework Versions
|
237 |
- Python: 3.10.14
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 437951328
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c88a2d0771f6b42018f7cc279e4f87dc060bcb68b7aa2159b2236ff8185e10be
|
3 |
size 437951328
|
model_head.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 7007
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eece35c86b02908ccffc7842a0741dc062d28939a95eb495e6830237af6f4f9
|
3 |
size 7007
|