Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +273 -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,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mini1013/master_domain
|
3 |
+
library_name: setfit
|
4 |
+
metrics:
|
5 |
+
- metric
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- setfit
|
9 |
+
- sentence-transformers
|
10 |
+
- text-classification
|
11 |
+
- generated_from_setfit_trainer
|
12 |
+
widget:
|
13 |
+
- text: 솔가 콜라겐 히알루론산 콤플렉스 30정 37에비뉴(37avenue)
|
14 |
+
- text: 네추럴 라이즈 프리미엄 차전자피 식이섬유 (30포) 주식회사 오베론컴퍼니
|
15 |
+
- text: 커클랜드 프로틴 바 60g x 20개입 하이세일즈
|
16 |
+
- text: 태양의 마테차 500ml 1개 중패트_하이트진로 토닉워터 홍차 300ML X 24병 주식회사 송민
|
17 |
+
- text: 레몬밤차 레몬밤 추출물 티 잎 허브차 티백 68.라벤더 로즈마리 로즈힙 자스민 50개입_3개(무료배송 + 1 개 추가증정)(이벤트)
|
18 |
+
주식회사 수명원
|
19 |
+
inference: true
|
20 |
+
model-index:
|
21 |
+
- name: SetFit with mini1013/master_domain
|
22 |
+
results:
|
23 |
+
- task:
|
24 |
+
type: text-classification
|
25 |
+
name: Text Classification
|
26 |
+
dataset:
|
27 |
+
name: Unknown
|
28 |
+
type: unknown
|
29 |
+
split: test
|
30 |
+
metrics:
|
31 |
+
- type: metric
|
32 |
+
value: 0.8307964751022473
|
33 |
+
name: Metric
|
34 |
+
---
|
35 |
+
|
36 |
+
# SetFit with mini1013/master_domain
|
37 |
+
|
38 |
+
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.
|
39 |
+
|
40 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
41 |
+
|
42 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
43 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
44 |
+
|
45 |
+
## Model Details
|
46 |
+
|
47 |
+
### Model Description
|
48 |
+
- **Model Type:** SetFit
|
49 |
+
- **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
|
50 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
51 |
+
- **Maximum Sequence Length:** 512 tokens
|
52 |
+
- **Number of Classes:** 15 classes
|
53 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
54 |
+
<!-- - **Language:** Unknown -->
|
55 |
+
<!-- - **License:** Unknown -->
|
56 |
+
|
57 |
+
### Model Sources
|
58 |
+
|
59 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
60 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
61 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
62 |
+
|
63 |
+
### Model Labels
|
64 |
+
| Label | Examples |
|
65 |
+
|:------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
66 |
+
| 1.0 | <ul><li>'팍시다이어트 맨즈(FCCE) 1개월 주식회사 킥더허들'</li><li>'[3 BOX] 5일에이드 클렌즈 복숭아맛 1BOX_모로오렌지맛 1BOX_청포도맛 1BOX 케이프 주식회사'</li><li>'[7일/34%] 비거너리 비건 다이어트 젤리 4200mg 1박스 7포 / 가르시니아 [7일분]다이어트젤리 1BOX 7포 주식회사 달바글로벌'</li></ul> |
|
67 |
+
| 14.0 | <ul><li>'CJ웰케어 이너비 아쿠아뱅크 4주분 먹는 히알루론산 주식회사 바인컴퍼니'</li><li>'에스더포뮬러 스킨케어 포뮬러 500mg x 60캡슐 더트레이드'</li><li>'퓨리카 뮤신 에버 청포도맛 (1box ,10포) 주식회사 에이지엣랩스'</li></ul> |
|
68 |
+
| 10.0 | <ul><li>'프롬바이오 아프리카망고 스틱 복숭아맛 2주 14포x1박스 아프리카망고 스틱 복숭아 2주 주식회사 프롬바이오'</li><li>'미국산 와일드망고 씨앗 분말 150g 2.와일드망고종자추출분말_미국산 200g 주식회사 그린허브'</li><li>'와일드망고 씨앗 가루 분말 2팩 (유통기한 임박/ 4월1일까지) (주)메디앤케어'</li></ul> |
|
69 |
+
| 6.0 | <ul><li>'레몬밤차 레몬밤 추출물 티 잎 허브차 티백 41.연잎차 50개입_3개(무료배송 + 1 개 추가증정)(이벤트) 주식회사 수명원'</li><li>'웰빙곳간 레몬밤 민들레 추출복합물 600mg X 120정 120캡슐, 1개 유럽 살다'</li><li>'순수한집 레몬밤차 티백 50개입 35. 귤피차 50티백x2개 (총100개입) (주)순수코퍼레이션'</li></ul> |
|
70 |
+
| 7.0 | <ul><li>'스키니랩 시네트롤 자몽 다이어트 4g x 14포 (주)씨티케이이비전코리아'</li><li>'로얄캐네디언 캐나다 시네트롤 슬림 60정 자몽 주식회사 부스트업'</li><li>'스키니랩 마시는시네트롤 자몽다이어트 14포 리(lee)마켓'</li></ul> |
|
71 |
+
| 2.0 | <ul><li>'닥터바른 다이너티 올인원 이뮨 다이어트 이너뷰티 7개 4주플랜 28개 (예약:8/20출고) (주)테크러브'</li><li>'휴온스 살사라진 락토페린 다이어트 800mg x 14정 1박스 소현유통'</li><li>'자연정 찰곤약쌀 200g x 15개 묶음 알파푸드 주식회사'</li></ul> |
|
72 |
+
| 3.0 | <ul><li>'그라비올라 300g 3팩 그라비올라 효능 효과 유희 Co.'</li><li>'발효구기자추출분말 250g 정든팜 이중밀폐 청양구기자 킴스컴퍼니'</li><li>'피지오로지컬 클렌징 젤 1000ml x 10개 생활꿀템마켓'</li></ul> |
|
73 |
+
| 12.0 | <ul><li>'바이탈뷰티 메타그린 슬림업 30일(new) 1개 (주)아모레퍼시픽'</li><li>'바이탈뷰티 메타그린 슬림업 420mg x 90정 1개월분+5일치 미니 사이즈 휴대용이 1. 슬림업 캡슐통 90정 (주)준광아이티'</li><li>'엠뉴 시크릿 제로컷 알파 (60포) 주식회사제이윤코스메틱'</li></ul> |
|
74 |
+
| 4.0 | <ul><li>'랩노쉬 단백쿠키 5종 20개입 골라담기 (더블초코/피넛버터/아몬드앤그린티/화이트초코오렌지/리치코코넛) 프로틴쿠키 [원산지:상세설명에 표시] 화이트초코오렌지10+리치코코넛10 메가글로벌001'</li><li>'랩노쉬 단백쿠키 5종 10개입 더블초코/피넛버터/아몬드앤그린티/화이트초코오렌지/리치코코넛) 프로틴쿠키259238 피넛버터 10개입 오씨제이(OCJ)'</li><li>'셀렉스 프로틴 오리지널 190ml x 24개 [음료] 탄산수_씨그램라벨프리레몬450mlx20개 옐로우로켓'</li></ul> |
|
75 |
+
| 11.0 | <ul><li>'닥터블릿 푸응 나이트버닝 601mg x 10캡슐 셀러고메즈'</li><li>'뉴트리디데이 잔티젠 올뉴 600 500mg x 30캡슐 / H 엠 스토리(M STORY)'</li><li>'티르티르 퍼펙트 시크릿 컷 605mg 30캡슐 주문(JOO MOON)'</li></ul> |
|
76 |
+
| 8.0 | <ul><li>'푸드센스 시서스 가루 50배 농축 추출 분말 250g 1팩 한승철'</li><li>'앱소뉴트릭스 시서스 맥시멈 스트렝스 1600mg 120 캡슐 2개월분 추출물 그레이트몰'</li><li>'뉴온 시서스 워터필 다이어트 (25ml + 850mg) x 7개입 주식회사 더클라우드세븐'</li></ul> |
|
77 |
+
| 13.0 | <ul><li>'비비랩 저분자 콜라겐 글루타치온 화이트 2g x 30포 와이즈블루'</li><li>'에버콜라겐 타임비오틴 업 3g x 30포 주식회사 더클라우드세븐'</li><li>'줄리스초이스 더마 뷰티 콜라겐 비오틴 앰플, 300ml, 12개입 . 비오틴앰플 앰플 이메이트'</li></ul> |
|
78 |
+
| 0.0 | <ul><li>'네츄럴굿띵스 잇츠 버닝 CLA 180캡슐 1박스 공액리놀레산 체지방 다이어트 주식회사 네츄럴굿띵스'</li><li>'슬림플래닛 토날린 CLA 3400mg 팻번 1개월분 공액리놀레산 다이어트식품 홍화씨유 [10%] 1병(1개월분) 케이바이오'</li><li>'[1+1] 닥터블릿 푸응 팻버닝 30캡슐 푸웅 나이트버닝 다이어트 CLA 30캡슐 [1박스] 나고(NAGO)'</li></ul> |
|
79 |
+
| 9.0 | <ul><li>'동화약품 시원하게 비우는 배러라이트 120ml 10개입 / 난소화성 말토덱스트린 식이섬유 음료 01_동화약품 배러라이트 120g 10개 세정유통'</li><li>'네추럴라이즈 프리미엄 차전자피 식이섬유 6g x 30포 주식회사 지유오투'</li><li>'바이오스 라이프 S 성원아토'</li></ul> |
|
80 |
+
| 5.0 | <ul><li>'팔레오 슈퍼플러스 락토페린 350 2g x 30포 팔레오'</li><li>'더좋은 이뮤업 오리진 CBP 락토페린 / 초유단백질 별이네 건강스토어'</li><li>'셀트리온 이너랩 데일리 락토페린S 3박스 셀트리온 이너���'</li></ul> |
|
81 |
+
|
82 |
+
## Evaluation
|
83 |
+
|
84 |
+
### Metrics
|
85 |
+
| Label | Metric |
|
86 |
+
|:--------|:-------|
|
87 |
+
| **all** | 0.8308 |
|
88 |
+
|
89 |
+
## Uses
|
90 |
+
|
91 |
+
### Direct Use for Inference
|
92 |
+
|
93 |
+
First install the SetFit library:
|
94 |
+
|
95 |
+
```bash
|
96 |
+
pip install setfit
|
97 |
+
```
|
98 |
+
|
99 |
+
Then you can load this model and run inference.
|
100 |
+
|
101 |
+
```python
|
102 |
+
from setfit import SetFitModel
|
103 |
+
|
104 |
+
# Download from the 🤗 Hub
|
105 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_fd6")
|
106 |
+
# Run inference
|
107 |
+
preds = model("커클랜드 프로틴 바 60g x 20개입 하이세일즈")
|
108 |
+
```
|
109 |
+
|
110 |
+
<!--
|
111 |
+
### Downstream Use
|
112 |
+
|
113 |
+
*List how someone could finetune this model on their own dataset.*
|
114 |
+
-->
|
115 |
+
|
116 |
+
<!--
|
117 |
+
### Out-of-Scope Use
|
118 |
+
|
119 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
120 |
+
-->
|
121 |
+
|
122 |
+
<!--
|
123 |
+
## Bias, Risks and Limitations
|
124 |
+
|
125 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
126 |
+
-->
|
127 |
+
|
128 |
+
<!--
|
129 |
+
### Recommendations
|
130 |
+
|
131 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
132 |
+
-->
|
133 |
+
|
134 |
+
## Training Details
|
135 |
+
|
136 |
+
### Training Set Metrics
|
137 |
+
| Training set | Min | Median | Max |
|
138 |
+
|:-------------|:----|:--------|:----|
|
139 |
+
| Word count | 3 | 10.1113 | 23 |
|
140 |
+
|
141 |
+
| Label | Training Sample Count |
|
142 |
+
|:------|:----------------------|
|
143 |
+
| 0.0 | 50 |
|
144 |
+
| 1.0 | 50 |
|
145 |
+
| 2.0 | 100 |
|
146 |
+
| 3.0 | 50 |
|
147 |
+
| 4.0 | 100 |
|
148 |
+
| 5.0 | 23 |
|
149 |
+
| 6.0 | 50 |
|
150 |
+
| 7.0 | 50 |
|
151 |
+
| 8.0 | 50 |
|
152 |
+
| 9.0 | 50 |
|
153 |
+
| 10.0 | 27 |
|
154 |
+
| 11.0 | 50 |
|
155 |
+
| 12.0 | 50 |
|
156 |
+
| 13.0 | 50 |
|
157 |
+
| 14.0 | 50 |
|
158 |
+
|
159 |
+
### Training Hyperparameters
|
160 |
+
- batch_size: (512, 512)
|
161 |
+
- num_epochs: (20, 20)
|
162 |
+
- max_steps: -1
|
163 |
+
- sampling_strategy: oversampling
|
164 |
+
- num_iterations: 40
|
165 |
+
- body_learning_rate: (2e-05, 2e-05)
|
166 |
+
- head_learning_rate: 2e-05
|
167 |
+
- loss: CosineSimilarityLoss
|
168 |
+
- distance_metric: cosine_distance
|
169 |
+
- margin: 0.25
|
170 |
+
- end_to_end: False
|
171 |
+
- use_amp: False
|
172 |
+
- warmup_proportion: 0.1
|
173 |
+
- seed: 42
|
174 |
+
- eval_max_steps: -1
|
175 |
+
- load_best_model_at_end: False
|
176 |
+
|
177 |
+
### Training Results
|
178 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
179 |
+
|:-----:|:----:|:-------------:|:---------------:|
|
180 |
+
| 0.008 | 1 | 0.4754 | - |
|
181 |
+
| 0.4 | 50 | 0.3988 | - |
|
182 |
+
| 0.8 | 100 | 0.2252 | - |
|
183 |
+
| 1.2 | 150 | 0.1544 | - |
|
184 |
+
| 1.6 | 200 | 0.0825 | - |
|
185 |
+
| 2.0 | 250 | 0.0414 | - |
|
186 |
+
| 2.4 | 300 | 0.0315 | - |
|
187 |
+
| 2.8 | 350 | 0.0171 | - |
|
188 |
+
| 3.2 | 400 | 0.0084 | - |
|
189 |
+
| 3.6 | 450 | 0.0109 | - |
|
190 |
+
| 4.0 | 500 | 0.0072 | - |
|
191 |
+
| 4.4 | 550 | 0.0023 | - |
|
192 |
+
| 4.8 | 600 | 0.0007 | - |
|
193 |
+
| 5.2 | 650 | 0.0005 | - |
|
194 |
+
| 5.6 | 700 | 0.0004 | - |
|
195 |
+
| 6.0 | 750 | 0.0003 | - |
|
196 |
+
| 6.4 | 800 | 0.0003 | - |
|
197 |
+
| 6.8 | 850 | 0.0002 | - |
|
198 |
+
| 7.2 | 900 | 0.0001 | - |
|
199 |
+
| 7.6 | 950 | 0.0004 | - |
|
200 |
+
| 8.0 | 1000 | 0.0002 | - |
|
201 |
+
| 8.4 | 1050 | 0.0002 | - |
|
202 |
+
| 8.8 | 1100 | 0.0002 | - |
|
203 |
+
| 9.2 | 1150 | 0.0001 | - |
|
204 |
+
| 9.6 | 1200 | 0.0001 | - |
|
205 |
+
| 10.0 | 1250 | 0.0001 | - |
|
206 |
+
| 10.4 | 1300 | 0.0001 | - |
|
207 |
+
| 10.8 | 1350 | 0.0002 | - |
|
208 |
+
| 11.2 | 1400 | 0.0001 | - |
|
209 |
+
| 11.6 | 1450 | 0.0001 | - |
|
210 |
+
| 12.0 | 1500 | 0.0001 | - |
|
211 |
+
| 12.4 | 1550 | 0.0001 | - |
|
212 |
+
| 12.8 | 1600 | 0.0001 | - |
|
213 |
+
| 13.2 | 1650 | 0.0001 | - |
|
214 |
+
| 13.6 | 1700 | 0.0001 | - |
|
215 |
+
| 14.0 | 1750 | 0.0001 | - |
|
216 |
+
| 14.4 | 1800 | 0.0001 | - |
|
217 |
+
| 14.8 | 1850 | 0.0001 | - |
|
218 |
+
| 15.2 | 1900 | 0.0001 | - |
|
219 |
+
| 15.6 | 1950 | 0.0001 | - |
|
220 |
+
| 16.0 | 2000 | 0.0001 | - |
|
221 |
+
| 16.4 | 2050 | 0.0001 | - |
|
222 |
+
| 16.8 | 2100 | 0.0001 | - |
|
223 |
+
| 17.2 | 2150 | 0.0001 | - |
|
224 |
+
| 17.6 | 2200 | 0.0001 | - |
|
225 |
+
| 18.0 | 2250 | 0.0001 | - |
|
226 |
+
| 18.4 | 2300 | 0.0001 | - |
|
227 |
+
| 18.8 | 2350 | 0.0001 | - |
|
228 |
+
| 19.2 | 2400 | 0.0001 | - |
|
229 |
+
| 19.6 | 2450 | 0.0001 | - |
|
230 |
+
| 20.0 | 2500 | 0.0001 | - |
|
231 |
+
|
232 |
+
### Framework Versions
|
233 |
+
- Python: 3.10.12
|
234 |
+
- SetFit: 1.1.0.dev0
|
235 |
+
- Sentence Transformers: 3.1.1
|
236 |
+
- Transformers: 4.46.1
|
237 |
+
- PyTorch: 2.4.0+cu121
|
238 |
+
- Datasets: 2.20.0
|
239 |
+
- Tokenizers: 0.20.0
|
240 |
+
|
241 |
+
## Citation
|
242 |
+
|
243 |
+
### BibTeX
|
244 |
+
```bibtex
|
245 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
246 |
+
doi = {10.48550/ARXIV.2209.11055},
|
247 |
+
url = {https://arxiv.org/abs/2209.11055},
|
248 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
249 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
250 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
251 |
+
publisher = {arXiv},
|
252 |
+
year = {2022},
|
253 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
254 |
+
}
|
255 |
+
```
|
256 |
+
|
257 |
+
<!--
|
258 |
+
## Glossary
|
259 |
+
|
260 |
+
*Clearly define terms in order to be accessible across audiences.*
|
261 |
+
-->
|
262 |
+
|
263 |
+
<!--
|
264 |
+
## Model Card Authors
|
265 |
+
|
266 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
267 |
+
-->
|
268 |
+
|
269 |
+
<!--
|
270 |
+
## Model Card Contact
|
271 |
+
|
272 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
273 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_fd",
|
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.46.1",
|
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.1.1",
|
4 |
+
"transformers": "4.46.1",
|
5 |
+
"pytorch": "2.4.0+cu121"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": null
|
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:1387c65bd8a5c4a511ac0c4108b4b396e98f82d8704e404b93f370b85ce389fe
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e265f6bd29141d96664e1ceefaaa62890571423e50ba12a3cb9dad3a369d04b
|
3 |
+
size 93215
|
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
|
|