Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +444 -0
- config.json +29 -0
- config_sentence_transformers.json +10 -0
- config_setfit.json +4 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +66 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mini1013/master_domain
|
3 |
+
library_name: setfit
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- setfit
|
9 |
+
- sentence-transformers
|
10 |
+
- text-classification
|
11 |
+
- generated_from_setfit_trainer
|
12 |
+
widget:
|
13 |
+
- text: '[기획세트][로레알파리] UV 디펜더 50ml+유브이 디펜더 베이지 15ml 매트&프레쉬 위메프 > 생활·주방·반려동물 > 바디/헤어
|
14 |
+
> 샴푸/린스/헤어케어;위메프 > 뷰티 > 메이크업 > 아이 메이크업;위메프 > 뷰티 > 바디/헤어 > 샴푸/린스/헤어케어 > 트리트먼트;위메프
|
15 |
+
> 뷰티 > 메이크업 > 베이스 메이크업 > 파운데이션;위메프 > 뷰티 > 메이크업 > 아이 메이크업 > 마스카라;위메프 > 뷰티 > 메이크업
|
16 |
+
> 립 메이크업;(#M)위메프 > 뷰티 > 선케어 > 선크림/선블록 > 선크림/선블록 위메프 > 뷰티 > 선케어 > 선크림/선블록 > 선크림/선블록'
|
17 |
+
- text: 이니스프리 트루 히알루론 수분 선크림 SPF50+ PA++++ 50ml × 4개 (#M)쿠팡 홈>뷰티>스킨케어>선케어/태닝>선케어>선블록/선크림/선로션
|
18 |
+
Coupang > 뷰티 > 로드샵 > 스킨케어 > 선케어/태닝
|
19 |
+
- text: 이니스프리 인텐시브 롱래스팅 선스크린 EX SPF50+ PA++++ 20개_50ml (#M)쿠팡 홈>뷰티>스킨케어>선케어/태닝>선케어>선블록/선크림/선로션
|
20 |
+
Coupang > 뷰티 > 로드샵 > 스킨케어 > 선케어/태닝 > 선케어 > 선블록/선크림/선로션
|
21 |
+
- text: 헤라 선 메이트 레포츠 프로 워터프루프 70ml(SPF50+) (#M)홈>화장품/미용>선케어>선크림 Naverstore > 화장품/미용
|
22 |
+
> 선케어 > 선크림
|
23 |
+
- text: 이니스프리 트루 마일드 시카 무기자차 선크림 SPF50+ PA4+ 50mL 1 +1 MinSellAmount (#M)화장품/향수>선케어>선크림
|
24 |
+
Gmarket > 뷰티 > 화장품/향수 > 선케어 > 선크림
|
25 |
+
inference: true
|
26 |
+
model-index:
|
27 |
+
- name: SetFit with mini1013/master_domain
|
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.3319713993871297
|
39 |
+
name: Accuracy
|
40 |
+
---
|
41 |
+
|
42 |
+
# SetFit with mini1013/master_domain
|
43 |
+
|
44 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [mini1013/master_domain](https://huggingface.co/mini1013/master_domain) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.
|
45 |
+
|
46 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
47 |
+
|
48 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
49 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
50 |
+
|
51 |
+
## Model Details
|
52 |
+
|
53 |
+
### Model Description
|
54 |
+
- **Model Type:** SetFit
|
55 |
+
- **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
|
56 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
57 |
+
- **Maximum Sequence Length:** 512 tokens
|
58 |
+
- **Number of Classes:** 5 classes
|
59 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
60 |
+
<!-- - **Language:** Unknown -->
|
61 |
+
<!-- - **License:** Unknown -->
|
62 |
+
|
63 |
+
### Model Sources
|
64 |
+
|
65 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
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 |
+
| 2 | <ul><li>'이니스프리 노세범 선쿠션 SPF50+ PA++++ 14g × 8개 LotteOn > 뷰티 > 스킨케어 > 선케어 > 선크림 LotteOn > 뷰티 > 스킨케어 > 선케어 > 선크림'</li><li>'1+1 / 달바 비건 톤업 선쿠션 15gX2개 / 촉촉 간편하게 혼합자차 핑크빛 물광 윤광 / 베이스 프리 데일리 필수템 [단품] 톤업 선쿠션 15g(1개) (#M)홈>제품유형별>선케어 Naverstore > 화장품/미용 > 선케어 > 선파우더/쿠션'</li><li>'UV 프로텍티브 컴팩트 파운데이션(리필+케이스) SPF35/PA+++ 12g 페어 아이보리 DepartmentLotteOn > 뷰티 > 스킨케어 > 선케어 > 선크림/선로션 DepartmentLotteOn > 뷰티 > 스킨케어 > 선케어 > 선크림/선로션'</li></ul> |
|
73 |
+
| 1 | <ul><li>'비쉬 까삐탈 솔레일 선 스프레이 LSF50 200ml ssg > 뷰티 > 스킨케어 > 선케어 > 선크림 ssg > 뷰티 > 스킨케어 > 선케어 > 선크림'</li><li>'끈적임없는 SNP 선스프레이 자외선차단 쿨링 뿌리는 선크림 (#M)홈>화장품/미용>선케어>선스프레이 Naverstore > 화장품/미용 > 선케어 > 선스프레이'</li><li>'리더스 자외선차단 썬버디 올 오버 선 스프레이 180ml MinSellAmount (#M)화장품/향수>선케어>선스프레이 Gmarket > 뷰티 > 화장품/향수 > 선케어 > 선스프레이'</li></ul> |
|
74 |
+
| 0 | <ul><li>'[AHC 썸머세일] 박세리감독 기획 마스터즈 에어리치 선스틱 14g+[ ] 마... 옵션선택:002P01)선스틱 LotteOn > 뷰티 > 헤어/바디 > 바디케어 > 바디케어용품 LotteOn > 뷰티 > 헤어/바디 > 바디케어 > 바디케어용품'</li><li>'3CE PRIMER SUN STICK 프라이머 선스틱 BEIGE_FRE ssg > 뷰티 > 메이크업 > 립메이크업 > 립스틱;ssg > 뷰티 > 스킨케어 > 선케어 > 선스틱 ssg > 뷰티 > 스킨케어 > 선케어'</li><li>'에스케이-투 피테라 풀라인 세트 1개 Coupang > 뷰티 > 선물세트/키트 > 선물세트 > 스킨케어;쿠팡 홈;(#M)쿠팡 홈>뷰티>선물세트/키트>선물세트>스킨케어 Coupang > 뷰티 > 선물세트/키트 > 선물세트 > 스킨케어'</li></ul> |
|
75 |
+
| 4 | <ul><li>'마몽드 로즈워터 수딩젤 300 ml ssg > 뷰티 > 스킨케어 > 크림 ssg > 뷰티 > 스킨케어 > 크림'</li><li>'푸드어홀릭 알로에/스네일 수딩젤 300ml MinSellAmount 화장품/향수>크림>안티에이징크림;(#M)화장품/향수>스킨케어>크림/젤 Gmarket > 뷰티 > 화장품/향수 > 스킨케어 > 크림/젤'</li><li>'메디플라워 알로에베라 프레시 수딩젤 300ml 300ml × 1개 쿠팡 홈>뷰티>스킨케어>기초화장품>크림/올인원>페이셜크림;쿠팡 홈;Coupang > 뷰티 > 스킨케어 > 기초화장품;(#M)쿠팡 홈>뷰티>스킨케어>크림/올인원>페이셜크림 Coupang > 뷰티 > 스킨케어 > 크림/올인원 > 페이셜크림'</li></ul> |
|
76 |
+
| 3 | <ul><li>'싸이닉 엔조이 올라운드 워터리 선크림 200g 2개 LotteOn > 뷰티 > 남성화장품 > 선크림 LotteOn > 뷰티 > 남성화장품 > 선크림'</li><li>' 상백크림 30ml/50ml SPF50+/PA++++ 1호 크리미 글로우 30ml LotteOn > 뷰티 > 스킨케어 > 크림 LotteOn > 뷰티 > 스킨케어 > 크림'</li><li>'(485387) 이니스프리 트루히알루론수분선크림기획 SPF50+ PA4+ 50mL+20mL 무료배송 (#M)SSG.COM/스킨케어/스킨케어세트 ssg > 뷰티 > 스킨케어 > 스킨케어세트'</li></ul> |
|
77 |
+
|
78 |
+
## Evaluation
|
79 |
+
|
80 |
+
### Metrics
|
81 |
+
| Label | Accuracy |
|
82 |
+
|:--------|:---------|
|
83 |
+
| **all** | 0.3320 |
|
84 |
+
|
85 |
+
## Uses
|
86 |
+
|
87 |
+
### Direct Use for Inference
|
88 |
+
|
89 |
+
First install the SetFit library:
|
90 |
+
|
91 |
+
```bash
|
92 |
+
pip install setfit
|
93 |
+
```
|
94 |
+
|
95 |
+
Then you can load this model and run inference.
|
96 |
+
|
97 |
+
```python
|
98 |
+
from setfit import SetFitModel
|
99 |
+
|
100 |
+
# Download from the 🤗 Hub
|
101 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_bt7_test_flat_top_cate")
|
102 |
+
# Run inference
|
103 |
+
preds = model("헤라 선 메이트 레포츠 프로 워터프루프 70ml(SPF50+) (#M)홈>화장품/미용>선케어>선크림 Naverstore > 화장품/미용 > 선케어 > 선크림")
|
104 |
+
```
|
105 |
+
|
106 |
+
<!--
|
107 |
+
### Downstream Use
|
108 |
+
|
109 |
+
*List how someone could finetune this model on their own dataset.*
|
110 |
+
-->
|
111 |
+
|
112 |
+
<!--
|
113 |
+
### Out-of-Scope Use
|
114 |
+
|
115 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
116 |
+
-->
|
117 |
+
|
118 |
+
<!--
|
119 |
+
## Bias, Risks and Limitations
|
120 |
+
|
121 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
122 |
+
-->
|
123 |
+
|
124 |
+
<!--
|
125 |
+
### Recommendations
|
126 |
+
|
127 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
128 |
+
-->
|
129 |
+
|
130 |
+
## Training Details
|
131 |
+
|
132 |
+
### Training Set Metrics
|
133 |
+
| Training set | Min | Median | Max |
|
134 |
+
|:-------------|:----|:-------|:----|
|
135 |
+
| Word count | 11 | 21.836 | 72 |
|
136 |
+
|
137 |
+
| Label | Training Sample Count |
|
138 |
+
|:------|:----------------------|
|
139 |
+
| 0 | 50 |
|
140 |
+
| 1 | 50 |
|
141 |
+
| 2 | 50 |
|
142 |
+
| 3 | 50 |
|
143 |
+
| 4 | 50 |
|
144 |
+
|
145 |
+
### Training Hyperparameters
|
146 |
+
- batch_size: (64, 64)
|
147 |
+
- num_epochs: (30, 30)
|
148 |
+
- max_steps: -1
|
149 |
+
- sampling_strategy: oversampling
|
150 |
+
- num_iterations: 100
|
151 |
+
- body_learning_rate: (2e-05, 1e-05)
|
152 |
+
- head_learning_rate: 0.01
|
153 |
+
- loss: CosineSimilarityLoss
|
154 |
+
- distance_metric: cosine_distance
|
155 |
+
- margin: 0.25
|
156 |
+
- end_to_end: False
|
157 |
+
- use_amp: False
|
158 |
+
- warmup_proportion: 0.1
|
159 |
+
- l2_weight: 0.01
|
160 |
+
- seed: 42
|
161 |
+
- eval_max_steps: -1
|
162 |
+
- load_best_model_at_end: False
|
163 |
+
|
164 |
+
### Training Results
|
165 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
166 |
+
|:-------:|:-----:|:-------------:|:---------------:|
|
167 |
+
| 0.0026 | 1 | 0.4309 | - |
|
168 |
+
| 0.1279 | 50 | 0.4454 | - |
|
169 |
+
| 0.2558 | 100 | 0.4001 | - |
|
170 |
+
| 0.3836 | 150 | 0.3616 | - |
|
171 |
+
| 0.5115 | 200 | 0.3104 | - |
|
172 |
+
| 0.6394 | 250 | 0.2446 | - |
|
173 |
+
| 0.7673 | 300 | 0.1921 | - |
|
174 |
+
| 0.8951 | 350 | 0.1521 | - |
|
175 |
+
| 1.0230 | 400 | 0.1177 | - |
|
176 |
+
| 1.1509 | 450 | 0.0973 | - |
|
177 |
+
| 1.2788 | 500 | 0.0926 | - |
|
178 |
+
| 1.4066 | 550 | 0.0866 | - |
|
179 |
+
| 1.5345 | 600 | 0.0826 | - |
|
180 |
+
| 1.6624 | 650 | 0.078 | - |
|
181 |
+
| 1.7903 | 700 | 0.0741 | - |
|
182 |
+
| 1.9182 | 750 | 0.0709 | - |
|
183 |
+
| 2.0460 | 800 | 0.0658 | - |
|
184 |
+
| 2.1739 | 850 | 0.0657 | - |
|
185 |
+
| 2.3018 | 900 | 0.0566 | - |
|
186 |
+
| 2.4297 | 950 | 0.0549 | - |
|
187 |
+
| 2.5575 | 1000 | 0.043 | - |
|
188 |
+
| 2.6854 | 1050 | 0.0391 | - |
|
189 |
+
| 2.8133 | 1100 | 0.0197 | - |
|
190 |
+
| 2.9412 | 1150 | 0.0108 | - |
|
191 |
+
| 3.0691 | 1200 | 0.0085 | - |
|
192 |
+
| 3.1969 | 1250 | 0.0082 | - |
|
193 |
+
| 3.3248 | 1300 | 0.0067 | - |
|
194 |
+
| 3.4527 | 1350 | 0.0082 | - |
|
195 |
+
| 3.5806 | 1400 | 0.0077 | - |
|
196 |
+
| 3.7084 | 1450 | 0.007 | - |
|
197 |
+
| 3.8363 | 1500 | 0.0046 | - |
|
198 |
+
| 3.9642 | 1550 | 0.0049 | - |
|
199 |
+
| 4.0921 | 1600 | 0.0041 | - |
|
200 |
+
| 4.2199 | 1650 | 0.003 | - |
|
201 |
+
| 4.3478 | 1700 | 0.0003 | - |
|
202 |
+
| 4.4757 | 1750 | 0.0002 | - |
|
203 |
+
| 4.6036 | 1800 | 0.0 | - |
|
204 |
+
| 4.7315 | 1850 | 0.0 | - |
|
205 |
+
| 4.8593 | 1900 | 0.0 | - |
|
206 |
+
| 4.9872 | 1950 | 0.0 | - |
|
207 |
+
| 5.1151 | 2000 | 0.0 | - |
|
208 |
+
| 5.2430 | 2050 | 0.0 | - |
|
209 |
+
| 5.3708 | 2100 | 0.0 | - |
|
210 |
+
| 5.4987 | 2150 | 0.0 | - |
|
211 |
+
| 5.6266 | 2200 | 0.0 | - |
|
212 |
+
| 5.7545 | 2250 | 0.0001 | - |
|
213 |
+
| 5.8824 | 2300 | 0.0001 | - |
|
214 |
+
| 6.0102 | 2350 | 0.0 | - |
|
215 |
+
| 6.1381 | 2400 | 0.0003 | - |
|
216 |
+
| 6.2660 | 2450 | 0.0 | - |
|
217 |
+
| 6.3939 | 2500 | 0.0 | - |
|
218 |
+
| 6.5217 | 2550 | 0.0002 | - |
|
219 |
+
| 6.6496 | 2600 | 0.0007 | - |
|
220 |
+
| 6.7775 | 2650 | 0.0008 | - |
|
221 |
+
| 6.9054 | 2700 | 0.0028 | - |
|
222 |
+
| 7.0332 | 2750 | 0.0024 | - |
|
223 |
+
| 7.1611 | 2800 | 0.0002 | - |
|
224 |
+
| 7.2890 | 2850 | 0.0 | - |
|
225 |
+
| 7.4169 | 2900 | 0.0 | - |
|
226 |
+
| 7.5448 | 2950 | 0.0 | - |
|
227 |
+
| 7.6726 | 3000 | 0.0 | - |
|
228 |
+
| 7.8005 | 3050 | 0.0 | - |
|
229 |
+
| 7.9284 | 3100 | 0.0 | - |
|
230 |
+
| 8.0563 | 3150 | 0.0001 | - |
|
231 |
+
| 8.1841 | 3200 | 0.0 | - |
|
232 |
+
| 8.3120 | 3250 | 0.0 | - |
|
233 |
+
| 8.4399 | 3300 | 0.0002 | - |
|
234 |
+
| 8.5678 | 3350 | 0.0002 | - |
|
235 |
+
| 8.6957 | 3400 | 0.0 | - |
|
236 |
+
| 8.8235 | 3450 | 0.0002 | - |
|
237 |
+
| 8.9514 | 3500 | 0.0 | - |
|
238 |
+
| 9.0793 | 3550 | 0.0 | - |
|
239 |
+
| 9.2072 | 3600 | 0.0 | - |
|
240 |
+
| 9.3350 | 3650 | 0.0 | - |
|
241 |
+
| 9.4629 | 3700 | 0.0 | - |
|
242 |
+
| 9.5908 | 3750 | 0.0 | - |
|
243 |
+
| 9.7187 | 3800 | 0.0 | - |
|
244 |
+
| 9.8465 | 3850 | 0.0 | - |
|
245 |
+
| 9.9744 | 3900 | 0.0 | - |
|
246 |
+
| 10.1023 | 3950 | 0.0 | - |
|
247 |
+
| 10.2302 | 4000 | 0.0 | - |
|
248 |
+
| 10.3581 | 4050 | 0.0 | - |
|
249 |
+
| 10.4859 | 4100 | 0.0 | - |
|
250 |
+
| 10.6138 | 4150 | 0.0 | - |
|
251 |
+
| 10.7417 | 4200 | 0.0 | - |
|
252 |
+
| 10.8696 | 4250 | 0.0 | - |
|
253 |
+
| 10.9974 | 4300 | 0.0 | - |
|
254 |
+
| 11.1253 | 4350 | 0.0 | - |
|
255 |
+
| 11.2532 | 4400 | 0.0 | - |
|
256 |
+
| 11.3811 | 4450 | 0.0 | - |
|
257 |
+
| 11.5090 | 4500 | 0.0 | - |
|
258 |
+
| 11.6368 | 4550 | 0.0 | - |
|
259 |
+
| 11.7647 | 4600 | 0.0002 | - |
|
260 |
+
| 11.8926 | 4650 | 0.0 | - |
|
261 |
+
| 12.0205 | 4700 | 0.0 | - |
|
262 |
+
| 12.1483 | 4750 | 0.0 | - |
|
263 |
+
| 12.2762 | 4800 | 0.0 | - |
|
264 |
+
| 12.4041 | 4850 | 0.0 | - |
|
265 |
+
| 12.5320 | 4900 | 0.0 | - |
|
266 |
+
| 12.6598 | 4950 | 0.0 | - |
|
267 |
+
| 12.7877 | 5000 | 0.0 | - |
|
268 |
+
| 12.9156 | 5050 | 0.0 | - |
|
269 |
+
| 13.0435 | 5100 | 0.0 | - |
|
270 |
+
| 13.1714 | 5150 | 0.0 | - |
|
271 |
+
| 13.2992 | 5200 | 0.0 | - |
|
272 |
+
| 13.4271 | 5250 | 0.0 | - |
|
273 |
+
| 13.5550 | 5300 | 0.0 | - |
|
274 |
+
| 13.6829 | 5350 | 0.0 | - |
|
275 |
+
| 13.8107 | 5400 | 0.0 | - |
|
276 |
+
| 13.9386 | 5450 | 0.0 | - |
|
277 |
+
| 14.0665 | 5500 | 0.0 | - |
|
278 |
+
| 14.1944 | 5550 | 0.0 | - |
|
279 |
+
| 14.3223 | 5600 | 0.0 | - |
|
280 |
+
| 14.4501 | 5650 | 0.0 | - |
|
281 |
+
| 14.5780 | 5700 | 0.0 | - |
|
282 |
+
| 14.7059 | 5750 | 0.0 | - |
|
283 |
+
| 14.8338 | 5800 | 0.0005 | - |
|
284 |
+
| 14.9616 | 5850 | 0.0 | - |
|
285 |
+
| 15.0895 | 5900 | 0.0 | - |
|
286 |
+
| 15.2174 | 5950 | 0.0 | - |
|
287 |
+
| 15.3453 | 6000 | 0.0 | - |
|
288 |
+
| 15.4731 | 6050 | 0.0 | - |
|
289 |
+
| 15.6010 | 6100 | 0.0 | - |
|
290 |
+
| 15.7289 | 6150 | 0.0 | - |
|
291 |
+
| 15.8568 | 6200 | 0.0 | - |
|
292 |
+
| 15.9847 | 6250 | 0.0 | - |
|
293 |
+
| 16.1125 | 6300 | 0.0 | - |
|
294 |
+
| 16.2404 | 6350 | 0.0 | - |
|
295 |
+
| 16.3683 | 6400 | 0.0 | - |
|
296 |
+
| 16.4962 | 6450 | 0.0 | - |
|
297 |
+
| 16.6240 | 6500 | 0.0 | - |
|
298 |
+
| 16.7519 | 6550 | 0.0 | - |
|
299 |
+
| 16.8798 | 6600 | 0.0 | - |
|
300 |
+
| 17.0077 | 6650 | 0.0 | - |
|
301 |
+
| 17.1355 | 6700 | 0.0 | - |
|
302 |
+
| 17.2634 | 6750 | 0.0 | - |
|
303 |
+
| 17.3913 | 6800 | 0.0 | - |
|
304 |
+
| 17.5192 | 6850 | 0.0 | - |
|
305 |
+
| 17.6471 | 6900 | 0.0 | - |
|
306 |
+
| 17.7749 | 6950 | 0.0 | - |
|
307 |
+
| 17.9028 | 7000 | 0.0 | - |
|
308 |
+
| 18.0307 | 7050 | 0.0 | - |
|
309 |
+
| 18.1586 | 7100 | 0.0004 | - |
|
310 |
+
| 18.2864 | 7150 | 0.0008 | - |
|
311 |
+
| 18.4143 | 7200 | 0.0012 | - |
|
312 |
+
| 18.5422 | 7250 | 0.001 | - |
|
313 |
+
| 18.6701 | 7300 | 0.0002 | - |
|
314 |
+
| 18.7980 | 7350 | 0.0001 | - |
|
315 |
+
| 18.9258 | 7400 | 0.0 | - |
|
316 |
+
| 19.0537 | 7450 | 0.0 | - |
|
317 |
+
| 19.1816 | 7500 | 0.0 | - |
|
318 |
+
| 19.3095 | 7550 | 0.0 | - |
|
319 |
+
| 19.4373 | 7600 | 0.0 | - |
|
320 |
+
| 19.5652 | 7650 | 0.0 | - |
|
321 |
+
| 19.6931 | 7700 | 0.0 | - |
|
322 |
+
| 19.8210 | 7750 | 0.0 | - |
|
323 |
+
| 19.9488 | 7800 | 0.0 | - |
|
324 |
+
| 20.0767 | 7850 | 0.0 | - |
|
325 |
+
| 20.2046 | 7900 | 0.0003 | - |
|
326 |
+
| 20.3325 | 7950 | 0.0 | - |
|
327 |
+
| 20.4604 | 8000 | 0.0 | - |
|
328 |
+
| 20.5882 | 8050 | 0.0 | - |
|
329 |
+
| 20.7161 | 8100 | 0.0 | - |
|
330 |
+
| 20.8440 | 8150 | 0.0 | - |
|
331 |
+
| 20.9719 | 8200 | 0.0 | - |
|
332 |
+
| 21.0997 | 8250 | 0.0 | - |
|
333 |
+
| 21.2276 | 8300 | 0.0 | - |
|
334 |
+
| 21.3555 | 8350 | 0.0 | - |
|
335 |
+
| 21.4834 | 8400 | 0.0 | - |
|
336 |
+
| 21.6113 | 8450 | 0.0 | - |
|
337 |
+
| 21.7391 | 8500 | 0.0 | - |
|
338 |
+
| 21.8670 | 8550 | 0.0 | - |
|
339 |
+
| 21.9949 | 8600 | 0.0 | - |
|
340 |
+
| 22.1228 | 8650 | 0.0 | - |
|
341 |
+
| 22.2506 | 8700 | 0.0 | - |
|
342 |
+
| 22.3785 | 8750 | 0.0 | - |
|
343 |
+
| 22.5064 | 8800 | 0.0 | - |
|
344 |
+
| 22.6343 | 8850 | 0.0 | - |
|
345 |
+
| 22.7621 | 8900 | 0.0 | - |
|
346 |
+
| 22.8900 | 8950 | 0.0 | - |
|
347 |
+
| 23.0179 | 9000 | 0.0 | - |
|
348 |
+
| 23.1458 | 9050 | 0.0 | - |
|
349 |
+
| 23.2737 | 9100 | 0.0 | - |
|
350 |
+
| 23.4015 | 9150 | 0.0 | - |
|
351 |
+
| 23.5294 | 9200 | 0.0 | - |
|
352 |
+
| 23.6573 | 9250 | 0.0 | - |
|
353 |
+
| 23.7852 | 9300 | 0.0 | - |
|
354 |
+
| 23.9130 | 9350 | 0.0 | - |
|
355 |
+
| 24.0409 | 9400 | 0.0 | - |
|
356 |
+
| 24.1688 | 9450 | 0.0 | - |
|
357 |
+
| 24.2967 | 9500 | 0.0 | - |
|
358 |
+
| 24.4246 | 9550 | 0.0 | - |
|
359 |
+
| 24.5524 | 9600 | 0.0 | - |
|
360 |
+
| 24.6803 | 9650 | 0.0 | - |
|
361 |
+
| 24.8082 | 9700 | 0.0 | - |
|
362 |
+
| 24.9361 | 9750 | 0.0 | - |
|
363 |
+
| 25.0639 | 9800 | 0.0 | - |
|
364 |
+
| 25.1918 | 9850 | 0.0 | - |
|
365 |
+
| 25.3197 | 9900 | 0.0 | - |
|
366 |
+
| 25.4476 | 9950 | 0.0 | - |
|
367 |
+
| 25.5754 | 10000 | 0.0 | - |
|
368 |
+
| 25.7033 | 10050 | 0.0 | - |
|
369 |
+
| 25.8312 | 10100 | 0.0 | - |
|
370 |
+
| 25.9591 | 10150 | 0.0 | - |
|
371 |
+
| 26.0870 | 10200 | 0.0 | - |
|
372 |
+
| 26.2148 | 10250 | 0.0 | - |
|
373 |
+
| 26.3427 | 10300 | 0.0 | - |
|
374 |
+
| 26.4706 | 10350 | 0.0 | - |
|
375 |
+
| 26.5985 | 10400 | 0.0 | - |
|
376 |
+
| 26.7263 | 10450 | 0.0 | - |
|
377 |
+
| 26.8542 | 10500 | 0.0 | - |
|
378 |
+
| 26.9821 | 10550 | 0.0 | - |
|
379 |
+
| 27.1100 | 10600 | 0.0 | - |
|
380 |
+
| 27.2379 | 10650 | 0.0 | - |
|
381 |
+
| 27.3657 | 10700 | 0.0 | - |
|
382 |
+
| 27.4936 | 10750 | 0.0 | - |
|
383 |
+
| 27.6215 | 10800 | 0.0 | - |
|
384 |
+
| 27.7494 | 10850 | 0.0 | - |
|
385 |
+
| 27.8772 | 10900 | 0.0 | - |
|
386 |
+
| 28.0051 | 10950 | 0.0 | - |
|
387 |
+
| 28.1330 | 11000 | 0.0 | - |
|
388 |
+
| 28.2609 | 11050 | 0.0 | - |
|
389 |
+
| 28.3887 | 11100 | 0.0 | - |
|
390 |
+
| 28.5166 | 11150 | 0.0 | - |
|
391 |
+
| 28.6445 | 11200 | 0.0 | - |
|
392 |
+
| 28.7724 | 11250 | 0.0 | - |
|
393 |
+
| 28.9003 | 11300 | 0.0 | - |
|
394 |
+
| 29.0281 | 11350 | 0.0 | - |
|
395 |
+
| 29.1560 | 11400 | 0.0 | - |
|
396 |
+
| 29.2839 | 11450 | 0.0 | - |
|
397 |
+
| 29.4118 | 11500 | 0.0 | - |
|
398 |
+
| 29.5396 | 11550 | 0.0 | - |
|
399 |
+
| 29.6675 | 11600 | 0.0 | - |
|
400 |
+
| 29.7954 | 11650 | 0.0 | - |
|
401 |
+
| 29.9233 | 11700 | 0.0 | - |
|
402 |
+
|
403 |
+
### Framework Versions
|
404 |
+
- Python: 3.10.12
|
405 |
+
- SetFit: 1.1.0
|
406 |
+
- Sentence Transformers: 3.3.1
|
407 |
+
- Transformers: 4.44.2
|
408 |
+
- PyTorch: 2.2.0a0+81ea7a4
|
409 |
+
- Datasets: 3.2.0
|
410 |
+
- Tokenizers: 0.19.1
|
411 |
+
|
412 |
+
## Citation
|
413 |
+
|
414 |
+
### BibTeX
|
415 |
+
```bibtex
|
416 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
417 |
+
doi = {10.48550/ARXIV.2209.11055},
|
418 |
+
url = {https://arxiv.org/abs/2209.11055},
|
419 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
420 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
421 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
422 |
+
publisher = {arXiv},
|
423 |
+
year = {2022},
|
424 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
425 |
+
}
|
426 |
+
```
|
427 |
+
|
428 |
+
<!--
|
429 |
+
## Glossary
|
430 |
+
|
431 |
+
*Clearly define terms in order to be accessible across audiences.*
|
432 |
+
-->
|
433 |
+
|
434 |
+
<!--
|
435 |
+
## Model Card Authors
|
436 |
+
|
437 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
438 |
+
-->
|
439 |
+
|
440 |
+
<!--
|
441 |
+
## Model Card Contact
|
442 |
+
|
443 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
444 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_bt_test_flat_top",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 514,
|
18 |
+
"model_type": "roberta",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"tokenizer_class": "BertTokenizer",
|
24 |
+
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.44.2",
|
26 |
+
"type_vocab_size": 1,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 32000
|
29 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.3.1",
|
4 |
+
"transformers": "4.44.2",
|
5 |
+
"pytorch": "2.2.0a0+81ea7a4"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": "cosine"
|
10 |
+
}
|
config_setfit.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"labels": null,
|
3 |
+
"normalize_embeddings": false
|
4 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddd0ae56d6a423dce86ab19533a5da463b24b798b479ab1c6fc876575c616a03
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:073902e871f3f27847f12e027dddfd951659b16ca14550f3d9e9604808e5907e
|
3 |
+
size 31647
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
}
|
14 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "[CLS]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "[SEP]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "[PAD]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "[SEP]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[CLS]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": false,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": false,
|
49 |
+
"eos_token": "[SEP]",
|
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": "[SEP]",
|
59 |
+
"stride": 0,
|
60 |
+
"strip_accents": null,
|
61 |
+
"tokenize_chinese_chars": true,
|
62 |
+
"tokenizer_class": "BertTokenizer",
|
63 |
+
"truncation_side": "right",
|
64 |
+
"truncation_strategy": "longest_first",
|
65 |
+
"unk_token": "[UNK]"
|
66 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|