Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +278 -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,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- setfit
|
4 |
+
- sentence-transformers
|
5 |
+
- text-classification
|
6 |
+
- generated_from_setfit_trainer
|
7 |
+
widget:
|
8 |
+
- text: LSA 흡착식판 친환경 아이 캠핑 실리콘 이유식 식판 접시 블루 출산/육아 > 이유식용품 > 유아식기
|
9 |
+
- text: "캐치티니핑 수저세트 교정젓가락 유아 교정용 아기젓가락 어린이젓가락 연습용 5.\uFEFF티니핑 물컵 스텐컵_3.퐁당핑 논슬립 스텐컵\
|
10 |
+
\ 출산/육아 > 이유식용품 > 연습용젓가락"
|
11 |
+
- text: 닥터브라운 흘림방지 360도컵 3개 (반투명 트레이닝 아기안전컵 - 9종 중 택3) 3) 300ml(손잡이) 블루_4) 300ml(손잡이)
|
12 |
+
그린_3) 300ml(손잡이) 블루 출산/육아 > 이유식용품 > 유아컵
|
13 |
+
- text: 귀여운 유아식기 흡착볼 접시 컵 스푼 포크 세트 이유식식기 돌아기식판 아기선물 3.디너세트(식판+볼+컵+스푼&포크)_01 Rainy
|
14 |
+
출산/육아 > 이유식용품 > 유아식기
|
15 |
+
- text: 4p 투데코 이유식 도자기 조리기세트 화이트 출산/육아 > 이유식용품 > 조리기
|
16 |
+
metrics:
|
17 |
+
- accuracy
|
18 |
+
pipeline_tag: text-classification
|
19 |
+
library_name: setfit
|
20 |
+
inference: true
|
21 |
+
base_model: mini1013/master_domain
|
22 |
+
model-index:
|
23 |
+
- name: SetFit with mini1013/master_domain
|
24 |
+
results:
|
25 |
+
- task:
|
26 |
+
type: text-classification
|
27 |
+
name: Text Classification
|
28 |
+
dataset:
|
29 |
+
name: Unknown
|
30 |
+
type: unknown
|
31 |
+
split: test
|
32 |
+
metrics:
|
33 |
+
- type: accuracy
|
34 |
+
value: 1.0
|
35 |
+
name: Accuracy
|
36 |
+
---
|
37 |
+
|
38 |
+
# SetFit with mini1013/master_domain
|
39 |
+
|
40 |
+
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.
|
41 |
+
|
42 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
43 |
+
|
44 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
45 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
46 |
+
|
47 |
+
## Model Details
|
48 |
+
|
49 |
+
### Model Description
|
50 |
+
- **Model Type:** SetFit
|
51 |
+
- **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
|
52 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
53 |
+
- **Maximum Sequence Length:** 512 tokens
|
54 |
+
- **Number of Classes:** 8 classes
|
55 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
56 |
+
<!-- - **Language:** Unknown -->
|
57 |
+
<!-- - **License:** Unknown -->
|
58 |
+
|
59 |
+
### Model Sources
|
60 |
+
|
61 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
62 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
63 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
64 |
+
|
65 |
+
### Model Labels
|
66 |
+
| Label | Examples |
|
67 |
+
|:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
68 |
+
| 7.0 | <ul><li>'방수전신미술가운 올인원 수트지퍼형 204526 유아동 핑크120 출산/육아 > 이유식용품 > 턱받이'</li><li>'아가짱 실리콘턱받이 아기 이유식 턱받이 03.실리콘턱받이_원숭이 출산/육아 > 이유식용품 > 턱받이'</li><li>'무형광 침받이 토끼 출산/육아 > 이유식용품 > 턱받이'</li></ul> |
|
69 |
+
| 3.0 | <ul><li>'캐릭터 스푼 포크 젓가락 어린이 수저세트 유아 뽀로로 겨울왕국 어린이집 아기 144 헬로키티 올스텐 수저세트 출산/육아 > 이유식용품 > 유아스푼/포크'</li><li>'비박스 원터치 트라이탄 대용량 빨대컵 450ml 2개 TS 443931 블루슬레이트_오렌지핑크 출산/육아 > 이유식용품 > 유아스푼/포크'</li><li>'브릭오 애착스푼 초기 중기 후기 실리콘 이유식 수저 민트 출산/육아 > 이유식용품 > 유아스푼/포크'</li></ul> |
|
70 |
+
| 1.0 | <ul><li>'논슬립 흡착식 휴대용 사무실 보틀 피크닉 보온보냉 보냉 종류_350ml-핑크 출산/육아 > 이유식용품 > 기타이유식용품'</li><li>'더미누 방수요 아기 유아 방수패드 국내산/중형/대형 방수요 M 사이즈 (공 룡) 출산/육아 > 이유식용품 > 기타이유식용품'</li><li>'엘로니파파 이유식용기 실리콘 양면 흡착판 11컬러 인디핑크 출산/육아 > 이유식용품 > 기타이유식용품'</li></ul> |
|
71 |
+
| 5.0 | <ul><li>'[빠띠라인] 스마트 트레이닝컵 220ml 4종 택1 그린 출산/육아 > 이유식용품 > 유아컵'</li><li>'맘스모도 PPSU 원터치 빨대컵 250ml 1+1 11절 기념 코끼리 그린+베이지 출산/육아 > 이유식용품 > 유아컵'</li><li>'아이별프렌즈 유아 빨대컵 아기 젖병 모음전 01번 캐럿 추빨대컵+리필사은품_270ml 오렌지 출산/육아 > 이유식용품 > 유아컵'</li></ul> |
|
72 |
+
| 0.0 | <ul><li>'과즙망 바나나 실리콘 옐로우 출산/육아 > 이유식용품 > 과즙망'</li><li>'오가닉팩토리 실리콘 과즙망 유아용 아기과즙망 자기주도 이유식 치발기 과일망 과즙망 그레이 출산/육아 > 이유식용품 > 과즙망'</li><li>'아가프라 국산 실리콘 과즙망(소 중 망2개포함) 아기 이유식 준비물 국민 과즙망(오렌지) 출산/육아 > 이유식용품 > 과즙망'</li></ul> |
|
73 |
+
| 4.0 | <ul><li>'티지엠 실리콘 조가비 흡착 식판 자기주도 이유식 이유식판 흡착트레이 베이지_덮개 미선택_초콜릿(매트) 출산/육아 > 이유식용품 > 유아식기'</li><li>'옥수수 돌 아기식판 이유식그릇 이유식볼 유아 아기 수저포크식기세트 준비물 4칸접시_아이보리 출산/육아 > 이유식용품 > 유아식기'</li><li>'옥수수 내열 펭귄 식판 아기 그릇 나눔 선물 5P 스푼포크세트 아이보리 출산/육아 > 이유식용품 > 유아식기'</li></ul> |
|
74 |
+
| 2.0 | <ul><li>'에디슨 뽀로로 이지 스텐 수저 케이스세트 패티 출산/육아 > 이유식용품 > 연습용젓가락'</li><li>'에디슨 젓가락 1/2단계-뽀로로 패티 폴리 엠버 프렌즈 왼손 성인 경찰 소방관 부엉이 스텐 스푼포크 수저세트 16.프렌즈 젓가락 1단계 돼지 출산/육아 > 이유식용품 > 연습용젓가락'</li><li>'유아 아동 초등학생 어린이 아기 캐릭터 교정용 스텐 젓가락 수저집 수저케이스세트 모음 캐릭터세트(D)1단계_D05_입체교정젓가락-핑크퐁 큐티SET 출산/육아 > 이유식용품 > 연습용젓가락'</li></ul> |
|
75 |
+
| 6.0 | <ul><li>'원목뜰채 고운망 5호 AW1E2C93 출산/육아 > 이유식용품 > 조리기'</li><li>'[베이비리앙] 프리미엄 실리콘 이유식 스파츌라_유아 아기 자기주도 이유식 스푼 커틀러리 마일드 블루 출산/육아 > 이유식용품 > 조리기'</li><li>'유비맘 PPSU 시그니처 역류방지 유아빨대컵 280ml 2P 딸기_8.바나나 출산/육아 > 이유식용품 > 조리기'</li></ul> |
|
76 |
+
|
77 |
+
## Evaluation
|
78 |
+
|
79 |
+
### Metrics
|
80 |
+
| Label | Accuracy |
|
81 |
+
|:--------|:---------|
|
82 |
+
| **all** | 1.0 |
|
83 |
+
|
84 |
+
## Uses
|
85 |
+
|
86 |
+
### Direct Use for Inference
|
87 |
+
|
88 |
+
First install the SetFit library:
|
89 |
+
|
90 |
+
```bash
|
91 |
+
pip install setfit
|
92 |
+
```
|
93 |
+
|
94 |
+
Then you can load this model and run inference.
|
95 |
+
|
96 |
+
```python
|
97 |
+
from setfit import SetFitModel
|
98 |
+
|
99 |
+
# Download from the 🤗 Hub
|
100 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_bc26")
|
101 |
+
# Run inference
|
102 |
+
preds = model("4p 투데코 이유식 도자기 조리기세트 화이트 출산/육아 > 이유식용품 > 조리기")
|
103 |
+
```
|
104 |
+
|
105 |
+
<!--
|
106 |
+
### Downstream Use
|
107 |
+
|
108 |
+
*List how someone could finetune this model on their own dataset.*
|
109 |
+
-->
|
110 |
+
|
111 |
+
<!--
|
112 |
+
### Out-of-Scope Use
|
113 |
+
|
114 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
115 |
+
-->
|
116 |
+
|
117 |
+
<!--
|
118 |
+
## Bias, Risks and Limitations
|
119 |
+
|
120 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
121 |
+
-->
|
122 |
+
|
123 |
+
<!--
|
124 |
+
### Recommendations
|
125 |
+
|
126 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
127 |
+
-->
|
128 |
+
|
129 |
+
## Training Details
|
130 |
+
|
131 |
+
### Training Set Metrics
|
132 |
+
| Training set | Min | Median | Max |
|
133 |
+
|:-------------|:----|:-------|:----|
|
134 |
+
| Word count | 7 | 15.075 | 30 |
|
135 |
+
|
136 |
+
| Label | Training Sample Count |
|
137 |
+
|:------|:----------------------|
|
138 |
+
| 0.0 | 70 |
|
139 |
+
| 1.0 | 70 |
|
140 |
+
| 2.0 | 70 |
|
141 |
+
| 3.0 | 70 |
|
142 |
+
| 4.0 | 70 |
|
143 |
+
| 5.0 | 70 |
|
144 |
+
| 6.0 | 70 |
|
145 |
+
| 7.0 | 70 |
|
146 |
+
|
147 |
+
### Training Hyperparameters
|
148 |
+
- batch_size: (256, 256)
|
149 |
+
- num_epochs: (30, 30)
|
150 |
+
- max_steps: -1
|
151 |
+
- sampling_strategy: oversampling
|
152 |
+
- num_iterations: 50
|
153 |
+
- body_learning_rate: (2e-05, 1e-05)
|
154 |
+
- head_learning_rate: 0.01
|
155 |
+
- loss: CosineSimilarityLoss
|
156 |
+
- distance_metric: cosine_distance
|
157 |
+
- margin: 0.25
|
158 |
+
- end_to_end: False
|
159 |
+
- use_amp: False
|
160 |
+
- warmup_proportion: 0.1
|
161 |
+
- l2_weight: 0.01
|
162 |
+
- seed: 42
|
163 |
+
- eval_max_steps: -1
|
164 |
+
- load_best_model_at_end: False
|
165 |
+
|
166 |
+
### Training Results
|
167 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
168 |
+
|:-------:|:----:|:-------------:|:---------------:|
|
169 |
+
| 0.0091 | 1 | 0.4946 | - |
|
170 |
+
| 0.4545 | 50 | 0.5017 | - |
|
171 |
+
| 0.9091 | 100 | 0.4932 | - |
|
172 |
+
| 1.3636 | 150 | 0.3697 | - |
|
173 |
+
| 1.8182 | 200 | 0.0968 | - |
|
174 |
+
| 2.2727 | 250 | 0.0213 | - |
|
175 |
+
| 2.7273 | 300 | 0.0175 | - |
|
176 |
+
| 3.1818 | 350 | 0.0186 | - |
|
177 |
+
| 3.6364 | 400 | 0.0187 | - |
|
178 |
+
| 4.0909 | 450 | 0.0136 | - |
|
179 |
+
| 4.5455 | 500 | 0.0007 | - |
|
180 |
+
| 5.0 | 550 | 0.0001 | - |
|
181 |
+
| 5.4545 | 600 | 0.0001 | - |
|
182 |
+
| 5.9091 | 650 | 0.0001 | - |
|
183 |
+
| 6.3636 | 700 | 0.0001 | - |
|
184 |
+
| 6.8182 | 750 | 0.0001 | - |
|
185 |
+
| 7.2727 | 800 | 0.0001 | - |
|
186 |
+
| 7.7273 | 850 | 0.0001 | - |
|
187 |
+
| 8.1818 | 900 | 0.0 | - |
|
188 |
+
| 8.6364 | 950 | 0.0 | - |
|
189 |
+
| 9.0909 | 1000 | 0.0 | - |
|
190 |
+
| 9.5455 | 1050 | 0.0 | - |
|
191 |
+
| 10.0 | 1100 | 0.0 | - |
|
192 |
+
| 10.4545 | 1150 | 0.0 | - |
|
193 |
+
| 10.9091 | 1200 | 0.0 | - |
|
194 |
+
| 11.3636 | 1250 | 0.0 | - |
|
195 |
+
| 11.8182 | 1300 | 0.0 | - |
|
196 |
+
| 12.2727 | 1350 | 0.0 | - |
|
197 |
+
| 12.7273 | 1400 | 0.0 | - |
|
198 |
+
| 13.1818 | 1450 | 0.0 | - |
|
199 |
+
| 13.6364 | 1500 | 0.0 | - |
|
200 |
+
| 14.0909 | 1550 | 0.0 | - |
|
201 |
+
| 14.5455 | 1600 | 0.0 | - |
|
202 |
+
| 15.0 | 1650 | 0.0 | - |
|
203 |
+
| 15.4545 | 1700 | 0.0 | - |
|
204 |
+
| 15.9091 | 1750 | 0.0 | - |
|
205 |
+
| 16.3636 | 1800 | 0.0 | - |
|
206 |
+
| 16.8182 | 1850 | 0.0 | - |
|
207 |
+
| 17.2727 | 1900 | 0.0 | - |
|
208 |
+
| 17.7273 | 1950 | 0.0 | - |
|
209 |
+
| 18.1818 | 2000 | 0.0 | - |
|
210 |
+
| 18.6364 | 2050 | 0.0 | - |
|
211 |
+
| 19.0909 | 2100 | 0.0 | - |
|
212 |
+
| 19.5455 | 2150 | 0.0 | - |
|
213 |
+
| 20.0 | 2200 | 0.0 | - |
|
214 |
+
| 20.4545 | 2250 | 0.0 | - |
|
215 |
+
| 20.9091 | 2300 | 0.0 | - |
|
216 |
+
| 21.3636 | 2350 | 0.0 | - |
|
217 |
+
| 21.8182 | 2400 | 0.0 | - |
|
218 |
+
| 22.2727 | 2450 | 0.0 | - |
|
219 |
+
| 22.7273 | 2500 | 0.0 | - |
|
220 |
+
| 23.1818 | 2550 | 0.0 | - |
|
221 |
+
| 23.6364 | 2600 | 0.0 | - |
|
222 |
+
| 24.0909 | 2650 | 0.0 | - |
|
223 |
+
| 24.5455 | 2700 | 0.0 | - |
|
224 |
+
| 25.0 | 2750 | 0.0 | - |
|
225 |
+
| 25.4545 | 2800 | 0.0 | - |
|
226 |
+
| 25.9091 | 2850 | 0.0 | - |
|
227 |
+
| 26.3636 | 2900 | 0.0 | - |
|
228 |
+
| 26.8182 | 2950 | 0.0 | - |
|
229 |
+
| 27.2727 | 3000 | 0.0 | - |
|
230 |
+
| 27.7273 | 3050 | 0.0 | - |
|
231 |
+
| 28.1818 | 3100 | 0.0 | - |
|
232 |
+
| 28.6364 | 3150 | 0.0 | - |
|
233 |
+
| 29.0909 | 3200 | 0.0 | - |
|
234 |
+
| 29.5455 | 3250 | 0.0 | - |
|
235 |
+
| 30.0 | 3300 | 0.0 | - |
|
236 |
+
|
237 |
+
### Framework Versions
|
238 |
+
- Python: 3.10.12
|
239 |
+
- SetFit: 1.1.0
|
240 |
+
- Sentence Transformers: 3.3.1
|
241 |
+
- Transformers: 4.44.2
|
242 |
+
- PyTorch: 2.2.0a0+81ea7a4
|
243 |
+
- Datasets: 3.2.0
|
244 |
+
- Tokenizers: 0.19.1
|
245 |
+
|
246 |
+
## Citation
|
247 |
+
|
248 |
+
### BibTeX
|
249 |
+
```bibtex
|
250 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
251 |
+
doi = {10.48550/ARXIV.2209.11055},
|
252 |
+
url = {https://arxiv.org/abs/2209.11055},
|
253 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
254 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
255 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
256 |
+
publisher = {arXiv},
|
257 |
+
year = {2022},
|
258 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
259 |
+
}
|
260 |
+
```
|
261 |
+
|
262 |
+
<!--
|
263 |
+
## Glossary
|
264 |
+
|
265 |
+
*Clearly define terms in order to be accessible across audiences.*
|
266 |
+
-->
|
267 |
+
|
268 |
+
<!--
|
269 |
+
## Model Card Authors
|
270 |
+
|
271 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
272 |
+
-->
|
273 |
+
|
274 |
+
<!--
|
275 |
+
## Model Card Contact
|
276 |
+
|
277 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
278 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_bc",
|
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:5353354cde64f67c09b924e78883f4f399c47250f2655aab8fbe611be00d88f7
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8654fd26f32800060f75a4449f3b40cb69abb311b5f22e861312e01c4ad5e40
|
3 |
+
size 50087
|
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
|
|