Push model using huggingface_hub.
Browse files- README.md +2 -212
- config.json +1 -1
- config_setfit.json +31 -1
- tokenizer_config.json +7 -0
README.md
CHANGED
@@ -8,35 +8,9 @@ tags:
|
|
8 |
base_model: sentence-transformers/paraphrase-mpnet-base-v2
|
9 |
metrics:
|
10 |
- accuracy
|
11 |
-
widget:
|
12 |
-
- text: in some aspects of it its individual and some aspects of these locations we
|
13 |
-
could have very granular you know type of changes we find its almost impossible
|
14 |
-
to communicate those to people you know that it just sounds like a smear and so
|
15 |
-
we cluster things at the at the boundary of what is a smear able sounding thing
|
16 |
-
for the most part and so thats what allows me to listen to an experience like
|
17 |
-
yours and think you know dont think that was so much a location three experience
|
18 |
-
probably as maybe something more in location two layer three yeah all right
|
19 |
-
- text: great for relationships
|
20 |
-
- text: i feel like i no longer decide to do things i just end up doing them
|
21 |
-
- text: merged with experience
|
22 |
-
- text: reductions in both conditioning and the importance of outcomes make goal attainment
|
23 |
-
increasingly less pertinent
|
24 |
pipeline_tag: text-classification
|
25 |
inference: true
|
26 |
-
model-index:
|
27 |
-
- name: SetFit with sentence-transformers/paraphrase-mpnet-base-v2
|
28 |
-
results:
|
29 |
-
- task:
|
30 |
-
type: text-classification
|
31 |
-
name: Text Classification
|
32 |
-
dataset:
|
33 |
-
name: Unknown
|
34 |
-
type: unknown
|
35 |
-
split: test
|
36 |
-
metrics:
|
37 |
-
- type: accuracy
|
38 |
-
value: 0.36705882352941177
|
39 |
-
name: Accuracy
|
40 |
---
|
41 |
|
42 |
# SetFit with sentence-transformers/paraphrase-mpnet-base-v2
|
@@ -66,46 +40,6 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
66 |
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
67 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
68 |
|
69 |
-
### Model Labels
|
70 |
-
| Label | Examples |
|
71 |
-
|:------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
72 |
-
| 16 | <ul><li>'visual effects and the sensory glitches'</li><li>'intrinsic to the unfolding'</li><li>'the reason for this lies in the brain regions involved and the impact that even rudimentary language use can have on the deepening process versus silence'</li></ul> |
|
73 |
-
| 7 | <ul><li>'nothing appears to have individual existence of itself distinctions begin to fade into the flatness which happens increasingly the further out in locations one goes'</li><li>'and if you really deepen into layer four in location two your system will sooner or later be unable to really stabilize that in location two and it will shift into location four'</li><li>'those are such subjective qualities that dont necessarily apply to layer four and so but lets go earlier here and make sure that you know you really are switching between location one and location two yeah thats a little unusual so lets make sure thats happening you actually feel like youre at times when youre in the world your system is literally going from our our nondual perception tests right which involve like a looker in here'</li></ul> |
|
74 |
-
| 24 | <ul><li>'fundamental for wellbeing for a long time very deepened got into the no emotion sort of place with it you know perhaps'</li><li>'because thats a tough place to be so if you and they doubt probably and they often doubt that they are even in fundamental being at that point because its such a difficult place to be it feels like they left fundamental wellbeing and entered a dark night of the soul of some kind'</li><li>'was able to settle back into fundamental wellbeing after it got shaken up'</li></ul> |
|
75 |
-
| 13 | <ul><li>'so i think you probably said that in your document but in that experience that sounded like location four probably layer two'</li><li>'there was no choice and it kept unfolding'</li><li>'the loss of perceptual access to layer 2 can affect things like dimensionality of perception which becomes progressively flat in later locations'</li></ul> |
|
76 |
-
| 5 | <ul><li>'and everything arises is objects and the subject is this space which is me so it is the'</li><li>'in location 2 this is a nondual experience of layer 2that is the perception of separation between subject observer and object observed is dissolvedand so it feels as though one is indistinct from the space in which everything arises and deeper into the layer that one is indistinct from the substance of everything arising as well'</li><li>'something into this experience of two so my experience of this has its just now releasing a lot of the as of a couple of days ago thought it might be wise to look at this yeah so ive been experiencing you know this very strange weird nonduality type'</li></ul> |
|
77 |
-
| 19 | <ul><li>'roommates and spouses can find what seem like irrational and imposing demands to be a common annoyance and their counter perspectives met with unyielding expectations by the finder'</li><li>'healing'</li><li>'divine or being in union'</li></ul> |
|
78 |
-
| 26 | <ul><li>'you have a sense of perception arising from spaciousness in terms of the thoughts in terms of the vision and auditory based exercises in terms of whats noticing it'</li><li>'i think the emptiness is a different one'</li><li>'it sounds a little bit like you might in a way you sound like almost locked in to layer two'</li></ul> |
|
79 |
-
| 6 | <ul><li>'i can see the broadband'</li><li>'and but theres this is like one very positive feeling where i in a very strong connectedness to to to other people um i so there is a sense of self but its not its not important so its but but i can feel the difference'</li><li>'and what you would be what would really indicate that shift is that duality returning to your experience where there really is a sense of something that is dissolving into or merging with the divine presence and everything and in addition to that meta emotion of love joy compassion um but you can also begin to experience in location two layer three'</li></ul> |
|
80 |
-
| 14 | <ul><li>'highly functioning'</li><li>'there is also some return of emotion on the path of humanity usually impersonal forms of love which also relate to layer 3 '</li><li>'it becomes more difficult access to layer 3 and to return to previous locations'</li></ul> |
|
81 |
-
| 1 | <ul><li>'silence and stillness'</li><li>'and its very its not what i am you know like theres no continuity between me and that spaciousness you know i can feel some spaciousness maybe but man theres you know no continuity between me and that and that would be fine that would be a location one layer two type experience certainly fine'</li><li>'and layer two of location one'</li></ul> |
|
82 |
-
| 10 | <ul><li>'it feels untouched and untouchable'</li><li>'so that would mean you know any qualities of joy or love compassion anything that feels sort of sacred or divine if you are prone to that experience and location three or otherwise that sense of presence pervading everything especially if you can get a sense of it being somehow conscious or intelligent those are sort of location three type layer three experiences'</li><li>'an all pervading field of presence or beingness that feels profoundly rich complete full alive'</li></ul> |
|
83 |
-
| 3 | <ul><li>'in location 1 layer 4 the marketplace is a forum of exchange not just of goods but of ideas cultures and kindness'</li><li>'expanded sense of self where my attention is most of the time feels more real than anything previous'</li><li>'the boundaries between work and play blur in location 1 layer 4 each act imbued with purpose and the joy of being'</li></ul> |
|
84 |
-
| 12 | <ul><li>'i think having introspect is a bit more i had some i was getting married in may this year so i had some resistance to the idea of progressing beyond layer two or maybe layer three because i felt that it would be doing a disservice to my partner to go into marriage without experiencing love'</li><li>'the most distinctive quality of layer 1 in location 4 and later is that the mind is experienced as functioning autonomously'</li><li>'instead of action being experienced as the consequence of thought and intentionality it feels intrinsic to the unfolding itself and is silent and selfrevealing'</li></ul> |
|
85 |
-
| 27 | <ul><li>'awareness knowingness'</li><li>'theres a quietness theres a vividness to the visual field things look more beautiful theres more appreciation was kind of a question that kind of had for you is it feels like for me beauty is a little bit of a gateway when i notice and im not talking about something that has to be you know prototypically beautiful but just like the pot sitting in the kitchen that suddenly look beautiful and'</li><li>'centralis and connected'</li></ul> |
|
86 |
-
| 20 | <ul><li>'theres no sense of divinity or anything theres no sense of panpsychist thing all there is things become very very alive everything is full of life and theres a joy i was thinking about love actually just this morning and theres really no sense of love because theres not a sense of other to be loved'</li><li>'it felt like my vision was going back like like something was wrong with my vision um so thats the only the only thing it just seems to mean it cant be more flat but you know whatever that sort of you know sense of just you know no extension you know it again it seems like there can be extension but its not the default at all you know like i said i wake up i wake up and everythings flat'</li><li>'life is just unfolding'</li></ul> |
|
87 |
-
| 21 | <ul><li>'i saw shapes in language'</li><li>'seeing transparent shapes'</li><li>'geometric shapes'</li></ul> |
|
88 |
-
| 17 | <ul><li>'news junkies may find themselves much less interested in the news'</li><li>'deconditioning and reconditioning'</li><li>'that on a deep level'</li></ul> |
|
89 |
-
| 2 | <ul><li>'as with layer 2 the movement in and out of these temporary experiences can give location 1 finders a sense of not being there yet which is usually not correctthere are simply more locations and depths within them to explore and they are at the beginning of that process unfolding'</li><li>'at the early end of layer 3 it feels like an essence or presence infusing but different from experience this is typically initially perceived as beginning to infuse the spaciousness of layer 2'</li><li>'the body can relax and the blocks can relax as well and a feeling of being of being connected to my environment feeling that around me and more through the center of the heart area and feeling like it is looking back at me and and yeah feeling a sense of of emptiness or loneliness or loneliness but but then it can change and it feels quite quite full and and that arises also within within the center of my heart or my space when my heart is and if i sort of feel feel feel into my heart theres a sense of sacredness or our maternal beingness there like a like a feeling of of of purity of purity of timelessness like like a sense of a sense of perfection um expression or play and um yeah sort of so thats when i do the exercises where i stop and look and thats what i tend to find but i guess sort of in my day to day life i feel as though me and i still have i still feel like im a self ive got a body but but i can just take a moment and i can feel that spaciousness around me and and often like ill work quite a lot so often ill be quite tired and i do that energy that really changes i feel much more energized and relaxed when i do that'</li></ul> |
|
90 |
-
| 0 | <ul><li>'most of the time curious and open rather than fearful'</li><li>'fundamental wellbeing also does not typically show up as persistent equanimity or bliss in location 1 as some also believe will be the case'</li><li>'very attached to my mind'</li></ul> |
|
91 |
-
| 15 | <ul><li>'there is an ever greater depth of stillnesssilence and an incomparable quality of freedom and peace which is the classical freedom from suffering pursued by spiritual traditions for millennia'</li><li>'the thing the thing to keep in mind is that for a system for a layer four location four especially but youre sort of close enough you know youre like a hair away from the thing type system what reading those books will do is basically prime you basically primes the system'</li><li>'the untouchable quality of layer 3 becomes irrelevant untouchable in relation to what because nothing but reality could ever be the peace feels absolute and of a different dimension than emotional or psychological peace'</li></ul> |
|
92 |
-
| 9 | <ul><li>'so if it were like for instance location three layer two you know it would be a spacious emptiness mixed with the divine or the panpsychist presence or whatever which is kind of a distance from god you know kind of a separation in a way'</li><li>'the quality of spaciousness emptiness expansiveness openness and so on feels as though it pervades everything as the presence of divinity or as the panpsychist presence depending on how location 3 is showing up for that person'</li><li>'feeling like youre dissolving into it'</li></ul> |
|
93 |
-
| 28 | <ul><li>'layer four and sort of more primed and ready when we make it to that content'</li><li>'something is just revealed in a moment'</li><li>'the losing of that illusion nothing is gained'</li></ul> |
|
94 |
-
| 4 | <ul><li>'location two layer one'</li><li>'normal enhanced functioning of the mind'</li><li>'the thing about all the things that youre mentioning is that they really you know for someone else could be something that might you know trigger them going to a lower location or something like that but theyre not necessarily things that would hold someone in a location you know like you can be in location one layer two as your dominant experience and still have you know triggers that pull you down to layer one or something but nonetheless be anchored you know at a higher layer than that or even over in location two'</li></ul> |
|
95 |
-
| 11 | <ul><li>'it is common for layer 4 to be experienced as an unknowable or a mystery'</li><li>'we want to think about it that i think part of it is always with someone that we have to you know really come to grips with that really give our systems permission for that really communicate that were okay with that youve spent a long time now telling your system this is what i want experience wise something like this it doesnt have to be exactly like this im open to some variation but you know within these boundaries right and now youre more or less saying something very different than that to go to location four layer four and location three'</li><li>'layer 4 is not easily accessible in location 3'</li></ul> |
|
96 |
-
| 23 | <ul><li>'since ive been in fundamental wellbeing ive been communicating'</li><li>'increased or total focus on the present moment'</li><li>'when that timer goes off and youre taking time to sink into fundamental well being'</li></ul> |
|
97 |
-
| 22 | <ul><li>'fundamental wellbeing prior to where youve landed'</li><li>'it just sounds like its in the direction of fundamental well being type of stuff to me'</li><li>'wellbeing'</li></ul> |
|
98 |
-
| 8 | <ul><li>'layer 1 is not the default layer that people transition to or experience in location 3 however it can remainquite accessible'</li><li>'location three layer one'</li><li>' it will often be experienced from perception being centered in deeper layers'</li></ul> |
|
99 |
-
| 25 | <ul><li>'its not necessarily because its temporary and because the reference point is remaining at layer one um its kind of its not necessarily reflecting on and deepening into the sense of actually being that all pervading presence even though that is your subjective experience if i ask you about it yeah'</li><li>'just whatever is noticing'</li><li>'emotion kind of the mind'</li></ul> |
|
100 |
-
| 18 | <ul><li>'location two because youve got that single meta emotion'</li><li>'deeply into nonduality and location two'</li><li>'make logical sense or would be considered the'</li></ul> |
|
101 |
-
|
102 |
-
## Evaluation
|
103 |
-
|
104 |
-
### Metrics
|
105 |
-
| Label | Accuracy |
|
106 |
-
|:--------|:---------|
|
107 |
-
| **all** | 0.3671 |
|
108 |
-
|
109 |
## Uses
|
110 |
|
111 |
### Direct Use for Inference
|
@@ -124,7 +58,7 @@ from setfit import SetFitModel
|
|
124 |
# Download from the 🤗 Hub
|
125 |
model = SetFitModel.from_pretrained("dendimaki/few-shots-apeiron-model-v3")
|
126 |
# Run inference
|
127 |
-
preds = model("
|
128 |
```
|
129 |
|
130 |
<!--
|
@@ -153,150 +87,6 @@ preds = model("merged with experience")
|
|
153 |
|
154 |
## Training Details
|
155 |
|
156 |
-
### Training Set Metrics
|
157 |
-
| Training set | Min | Median | Max |
|
158 |
-
|:-------------|:----|:--------|:----|
|
159 |
-
| Word count | 1 | 23.8579 | 246 |
|
160 |
-
|
161 |
-
| Label | Training Sample Count |
|
162 |
-
|:------|:----------------------|
|
163 |
-
| 0 | 20 |
|
164 |
-
| 1 | 20 |
|
165 |
-
| 2 | 11 |
|
166 |
-
| 3 | 20 |
|
167 |
-
| 4 | 20 |
|
168 |
-
| 5 | 20 |
|
169 |
-
| 6 | 20 |
|
170 |
-
| 7 | 19 |
|
171 |
-
| 8 | 20 |
|
172 |
-
| 9 | 15 |
|
173 |
-
| 10 | 20 |
|
174 |
-
| 11 | 18 |
|
175 |
-
| 12 | 20 |
|
176 |
-
| 13 | 20 |
|
177 |
-
| 14 | 20 |
|
178 |
-
| 15 | 20 |
|
179 |
-
| 16 | 20 |
|
180 |
-
| 17 | 20 |
|
181 |
-
| 18 | 20 |
|
182 |
-
| 19 | 20 |
|
183 |
-
| 20 | 20 |
|
184 |
-
| 21 | 20 |
|
185 |
-
| 22 | 20 |
|
186 |
-
| 23 | 20 |
|
187 |
-
| 24 | 20 |
|
188 |
-
| 25 | 20 |
|
189 |
-
| 26 | 20 |
|
190 |
-
| 27 | 20 |
|
191 |
-
| 28 | 20 |
|
192 |
-
|
193 |
-
### Training Hyperparameters
|
194 |
-
- batch_size: (16, 16)
|
195 |
-
- num_epochs: (3, 3)
|
196 |
-
- max_steps: -1
|
197 |
-
- sampling_strategy: oversampling
|
198 |
-
- num_iterations: 20
|
199 |
-
- body_learning_rate: (2e-05, 2e-05)
|
200 |
-
- head_learning_rate: 2e-05
|
201 |
-
- loss: CosineSimilarityLoss
|
202 |
-
- distance_metric: cosine_distance
|
203 |
-
- margin: 0.25
|
204 |
-
- end_to_end: False
|
205 |
-
- use_amp: False
|
206 |
-
- warmup_proportion: 0.1
|
207 |
-
- seed: 42
|
208 |
-
- eval_max_steps: -1
|
209 |
-
- load_best_model_at_end: False
|
210 |
-
|
211 |
-
### Training Results
|
212 |
-
| Epoch | Step | Training Loss | Validation Loss |
|
213 |
-
|:------:|:----:|:-------------:|:---------------:|
|
214 |
-
| 0.0007 | 1 | 0.2504 | - |
|
215 |
-
| 0.0355 | 50 | 0.2577 | - |
|
216 |
-
| 0.0710 | 100 | 0.2139 | - |
|
217 |
-
| 0.1065 | 150 | 0.1838 | - |
|
218 |
-
| 0.1420 | 200 | 0.2082 | - |
|
219 |
-
| 0.1776 | 250 | 0.2038 | - |
|
220 |
-
| 0.2131 | 300 | 0.186 | - |
|
221 |
-
| 0.2486 | 350 | 0.1733 | - |
|
222 |
-
| 0.2841 | 400 | 0.2002 | - |
|
223 |
-
| 0.3196 | 450 | 0.1911 | - |
|
224 |
-
| 0.3551 | 500 | 0.1404 | - |
|
225 |
-
| 0.3906 | 550 | 0.1506 | - |
|
226 |
-
| 0.4261 | 600 | 0.1356 | - |
|
227 |
-
| 0.4616 | 650 | 0.1458 | - |
|
228 |
-
| 0.4972 | 700 | 0.1048 | - |
|
229 |
-
| 0.5327 | 750 | 0.1125 | - |
|
230 |
-
| 0.5682 | 800 | 0.0842 | - |
|
231 |
-
| 0.6037 | 850 | 0.0391 | - |
|
232 |
-
| 0.6392 | 900 | 0.1178 | - |
|
233 |
-
| 0.6747 | 950 | 0.0856 | - |
|
234 |
-
| 0.7102 | 1000 | 0.0909 | - |
|
235 |
-
| 0.7457 | 1050 | 0.1068 | - |
|
236 |
-
| 0.7812 | 1100 | 0.0535 | - |
|
237 |
-
| 0.8168 | 1150 | 0.0673 | - |
|
238 |
-
| 0.8523 | 1200 | 0.0234 | - |
|
239 |
-
| 0.8878 | 1250 | 0.0625 | - |
|
240 |
-
| 0.9233 | 1300 | 0.0841 | - |
|
241 |
-
| 0.9588 | 1350 | 0.0508 | - |
|
242 |
-
| 0.9943 | 1400 | 0.05 | - |
|
243 |
-
| 1.0298 | 1450 | 0.0494 | - |
|
244 |
-
| 1.0653 | 1500 | 0.0135 | - |
|
245 |
-
| 1.1009 | 1550 | 0.0063 | - |
|
246 |
-
| 1.1364 | 1600 | 0.0938 | - |
|
247 |
-
| 1.1719 | 1650 | 0.0445 | - |
|
248 |
-
| 1.2074 | 1700 | 0.0108 | - |
|
249 |
-
| 1.2429 | 1750 | 0.0236 | - |
|
250 |
-
| 1.2784 | 1800 | 0.0108 | - |
|
251 |
-
| 1.3139 | 1850 | 0.0153 | - |
|
252 |
-
| 1.3494 | 1900 | 0.0051 | - |
|
253 |
-
| 1.3849 | 1950 | 0.0288 | - |
|
254 |
-
| 1.4205 | 2000 | 0.022 | - |
|
255 |
-
| 1.4560 | 2050 | 0.0058 | - |
|
256 |
-
| 1.4915 | 2100 | 0.0092 | - |
|
257 |
-
| 1.5270 | 2150 | 0.0134 | - |
|
258 |
-
| 1.5625 | 2200 | 0.0073 | - |
|
259 |
-
| 1.5980 | 2250 | 0.0103 | - |
|
260 |
-
| 1.6335 | 2300 | 0.0029 | - |
|
261 |
-
| 1.6690 | 2350 | 0.0049 | - |
|
262 |
-
| 1.7045 | 2400 | 0.0586 | - |
|
263 |
-
| 1.7401 | 2450 | 0.0457 | - |
|
264 |
-
| 1.7756 | 2500 | 0.0132 | - |
|
265 |
-
| 1.8111 | 2550 | 0.0585 | - |
|
266 |
-
| 1.8466 | 2600 | 0.0025 | - |
|
267 |
-
| 1.8821 | 2650 | 0.0118 | - |
|
268 |
-
| 1.9176 | 2700 | 0.0012 | - |
|
269 |
-
| 1.9531 | 2750 | 0.0618 | - |
|
270 |
-
| 1.9886 | 2800 | 0.0036 | - |
|
271 |
-
| 2.0241 | 2850 | 0.0079 | - |
|
272 |
-
| 2.0597 | 2900 | 0.0034 | - |
|
273 |
-
| 2.0952 | 2950 | 0.0496 | - |
|
274 |
-
| 2.1307 | 3000 | 0.0041 | - |
|
275 |
-
| 2.1662 | 3050 | 0.0523 | - |
|
276 |
-
| 2.2017 | 3100 | 0.0055 | - |
|
277 |
-
| 2.2372 | 3150 | 0.007 | - |
|
278 |
-
| 2.2727 | 3200 | 0.0493 | - |
|
279 |
-
| 2.3082 | 3250 | 0.0055 | - |
|
280 |
-
| 2.3438 | 3300 | 0.0649 | - |
|
281 |
-
| 2.3793 | 3350 | 0.005 | - |
|
282 |
-
| 2.4148 | 3400 | 0.0028 | - |
|
283 |
-
| 2.4503 | 3450 | 0.0564 | - |
|
284 |
-
| 2.4858 | 3500 | 0.0436 | - |
|
285 |
-
| 2.5213 | 3550 | 0.0018 | - |
|
286 |
-
| 2.5568 | 3600 | 0.0077 | - |
|
287 |
-
| 2.5923 | 3650 | 0.0067 | - |
|
288 |
-
| 2.6278 | 3700 | 0.0029 | - |
|
289 |
-
| 2.6634 | 3750 | 0.0031 | - |
|
290 |
-
| 2.6989 | 3800 | 0.0283 | - |
|
291 |
-
| 2.7344 | 3850 | 0.1042 | - |
|
292 |
-
| 2.7699 | 3900 | 0.055 | - |
|
293 |
-
| 2.8054 | 3950 | 0.0689 | - |
|
294 |
-
| 2.8409 | 4000 | 0.0031 | - |
|
295 |
-
| 2.8764 | 4050 | 0.0014 | - |
|
296 |
-
| 2.9119 | 4100 | 0.0017 | - |
|
297 |
-
| 2.9474 | 4150 | 0.0033 | - |
|
298 |
-
| 2.9830 | 4200 | 0.0634 | - |
|
299 |
-
|
300 |
### Framework Versions
|
301 |
- Python: 3.10.12
|
302 |
- SetFit: 1.0.3
|
|
|
8 |
base_model: sentence-transformers/paraphrase-mpnet-base-v2
|
9 |
metrics:
|
10 |
- accuracy
|
11 |
+
widget: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
pipeline_tag: text-classification
|
13 |
inference: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
# SetFit with sentence-transformers/paraphrase-mpnet-base-v2
|
|
|
40 |
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
41 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
## Uses
|
44 |
|
45 |
### Direct Use for Inference
|
|
|
58 |
# Download from the 🤗 Hub
|
59 |
model = SetFitModel.from_pretrained("dendimaki/few-shots-apeiron-model-v3")
|
60 |
# Run inference
|
61 |
+
preds = model("I loved the spiderman movie!")
|
62 |
```
|
63 |
|
64 |
<!--
|
|
|
87 |
|
88 |
## Training Details
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
### Framework Versions
|
91 |
- Python: 3.10.12
|
92 |
- SetFit: 1.0.3
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"MPNetModel"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dendimaki/few-shots-apeiron-model-v3",
|
3 |
"architectures": [
|
4 |
"MPNetModel"
|
5 |
],
|
config_setfit.json
CHANGED
@@ -1,4 +1,34 @@
|
|
1 |
{
|
2 |
-
"labels":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"normalize_embeddings": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"labels": [
|
3 |
+
"loc1lay1",
|
4 |
+
"loc1lay2",
|
5 |
+
"loc1lay3",
|
6 |
+
"loc1lay4",
|
7 |
+
"loc2lay1",
|
8 |
+
"loc2lay2",
|
9 |
+
"loc2lay3",
|
10 |
+
"loc2lay4",
|
11 |
+
"loc3lay1",
|
12 |
+
"loc3lay2",
|
13 |
+
"loc3lay3",
|
14 |
+
"loc3lay4",
|
15 |
+
"loc4lay1",
|
16 |
+
"loc4lay2",
|
17 |
+
"loc4lay3",
|
18 |
+
"loc4lay4",
|
19 |
+
"loc5+",
|
20 |
+
"loc1",
|
21 |
+
"loc2",
|
22 |
+
"loc3",
|
23 |
+
"loc4",
|
24 |
+
"nfw",
|
25 |
+
"tfw",
|
26 |
+
"tfwc",
|
27 |
+
"tfwp",
|
28 |
+
"lay1",
|
29 |
+
"lay2",
|
30 |
+
"lay3",
|
31 |
+
"lay4"
|
32 |
+
],
|
33 |
"normalize_embeddings": false
|
34 |
}
|
tokenizer_config.json
CHANGED
@@ -48,12 +48,19 @@
|
|
48 |
"do_lower_case": true,
|
49 |
"eos_token": "</s>",
|
50 |
"mask_token": "<mask>",
|
|
|
51 |
"model_max_length": 512,
|
52 |
"never_split": null,
|
|
|
53 |
"pad_token": "<pad>",
|
|
|
|
|
54 |
"sep_token": "</s>",
|
|
|
55 |
"strip_accents": null,
|
56 |
"tokenize_chinese_chars": true,
|
57 |
"tokenizer_class": "MPNetTokenizer",
|
|
|
|
|
58 |
"unk_token": "[UNK]"
|
59 |
}
|
|
|
48 |
"do_lower_case": true,
|
49 |
"eos_token": "</s>",
|
50 |
"mask_token": "<mask>",
|
51 |
+
"max_length": 512,
|
52 |
"model_max_length": 512,
|
53 |
"never_split": null,
|
54 |
+
"pad_to_multiple_of": null,
|
55 |
"pad_token": "<pad>",
|
56 |
+
"pad_token_type_id": 0,
|
57 |
+
"padding_side": "right",
|
58 |
"sep_token": "</s>",
|
59 |
+
"stride": 0,
|
60 |
"strip_accents": null,
|
61 |
"tokenize_chinese_chars": true,
|
62 |
"tokenizer_class": "MPNetTokenizer",
|
63 |
+
"truncation_side": "right",
|
64 |
+
"truncation_strategy": "longest_first",
|
65 |
"unk_token": "[UNK]"
|
66 |
}
|