Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +248 -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,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- setfit
|
4 |
+
- sentence-transformers
|
5 |
+
- text-classification
|
6 |
+
- generated_from_setfit_trainer
|
7 |
+
widget:
|
8 |
+
- text: 빨수있는 헝겊 공구가방 남자 아기 출산선물 육아템 캠핑장난감 유아놀이 장남감 1개 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이
|
9 |
+
- text: 꼬마실로폰 완구 원목블록 출산 매트 육아 출산/육아 > 완구/인형 > 음악/악기놀이
|
10 |
+
- text: 아이링고 뉴 스타터세트 212pcs 블럭장난감 유치원교구 출산/육아 > 완구/인형 > 블록
|
11 |
+
- text: 쿠쿠토이즈 코코몽 모래놀이 완구 출산 육아 매트 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이
|
12 |
+
- text: 유아용품 레드박스 뉴 주방놀이세트 완구 육아 출산 매트 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이
|
13 |
+
metrics:
|
14 |
+
- accuracy
|
15 |
+
pipeline_tag: text-classification
|
16 |
+
library_name: setfit
|
17 |
+
inference: true
|
18 |
+
base_model: mini1013/master_domain
|
19 |
+
---
|
20 |
+
|
21 |
+
# SetFit with mini1013/master_domain
|
22 |
+
|
23 |
+
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.
|
24 |
+
|
25 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
26 |
+
|
27 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
28 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
29 |
+
|
30 |
+
## Model Details
|
31 |
+
|
32 |
+
### Model Description
|
33 |
+
- **Model Type:** SetFit
|
34 |
+
- **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
|
35 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
36 |
+
- **Maximum Sequence Length:** 512 tokens
|
37 |
+
- **Number of Classes:** 18 classes
|
38 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
39 |
+
<!-- - **Language:** Unknown -->
|
40 |
+
<!-- - **License:** Unknown -->
|
41 |
+
|
42 |
+
### Model Sources
|
43 |
+
|
44 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
45 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
46 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
47 |
+
|
48 |
+
### Model Labels
|
49 |
+
| Label | Examples |
|
50 |
+
|:------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
51 |
+
| 17.0 | <ul><li>'포켓몬카드 오리진 디아루가 Vstar UR 유니버스 [S] 출산/육아 > 완구/인형 > 캐릭터카드/딱지'</li><li>'[리틀램스쿨][칭찬교구] 칭찬딱지(Chips Collector) C_2 출산/육아 > 완구/인형 > 캐릭터카드/딱지'</li><li>'매직 MH3 SPG 커스텀 TCG 카드 네크로도미넌스 나두 날개 달린 Wisdom Kozilek 부정한 출산 의식 대리인의 깨진 현실 플레어 출산/육아 > 완구/인형 > 캐릭터카드/딱지'</li></ul> |
|
52 |
+
| 7.0 | <ul><li>'꿈나라 자동 오르골모빌 흑백 컬러 신생아 아기 침대 수동 동물 도형 인형 애기 하트흑백 모빌 출산/육아 > 완구/인형 > 신생아/영유아완구'</li><li>'에뜨와 임신출산선물 코니딸랑이세트 07P083101 출산/육아 > 완구/인형 > 신생아/영유아완구'</li><li>'[모노레임] [단품][2025 뱀띠 출산선물][태명자수]햇뱀 딸랑이 인형(toy) 출산/육아 > 완구/인형 > 신생아/영유아완구'</li></ul> |
|
53 |
+
| 13.0 | <ul><li>'영유아용품 비키즈 투칸 피아노놀이 육아 완구 신생아 매트 출산 출산/육아 > 완구/인형 > 음악/악기놀이'</li><li>'핑크퐁 육아 출산 음악 악기놀이 아기상어 피아노 둥이선물 키즈카페 음량 출산/육아 > 완구/인형 > 음악/악기놀이'</li><li>'유아악기 파도소리 핸드드럼 구슬탬버린 출산선물 출산/육아 > 완구/인형 > 음악/악기놀이'</li></ul> |
|
54 |
+
| 0.0 | <ul><li>'애플비 신생아 초점책 아기초점책 4권 출산/육아 > 완구/인형 > 감각발달완구'</li><li>'아기 헝겊책 모음 코야 누가숨었지 초점 헝겊책 무당벌레 출산/육아 > 완구/인형 > 감각발달완구'</li><li>'1+1 정품 국민 애벌레 인형 촉감 감각 애착인형 백일 아기 장난감 출산/육아 > 완구/인형 > 감각발달완구'</li></ul> |
|
55 |
+
| 12.0 | <ul><li>'꼭지퍼즐 핑크퐁 탈것 그림퍼즐 육아 완구 매트 출산 유아동퍼즐 출산/육아 > 완구/인형 > 유아동퍼즐'</li><li>'멜로디 동물퍼즐 유아장난감 출산선물 아기장난감 출산/육아 > 완구/인형 > 유아동퍼즐'</li><li>'쌍문상회 캐치티니핑 시즌3 직소퍼즐 150pcs 액자 유아동퍼즐 완구 매트 출산 육아 출산/육아 > 완구/인형 > 유아동퍼즐'</li></ul> |
|
56 |
+
| 16.0 | <ul><li>'손오공 탑블레이드 드래셀S 출산/육아 > 완구/인형 > 작동완구'</li><li>'포켓몬스터 팽이 세트 포켓몬팽이 2개 배틀판 출산/육아 > 완구/인형 > 작동완구'</li><li>'손오공 메탈베이블레이드 4D 엘드라고디스트로이 F:S 출산/육아 > 완구/인형 > 작동완구'</li></ul> |
|
57 |
+
| 14.0 | <ul><li>'뽀로로 봉제인형 패티 루피 크롱 에디 해리 포비 출산/육아 > 완구/인형 > 인형'</li><li>'옹알이 콩콩이 콩순이 동생 인형 장난감 출산/육아 > 완구/인형 > 인형'</li><li>'젤리캣 국민애착인형 블라썸 크림 버니 L 출산/육아 > 완구/인형 > 인형'</li></ul> |
|
58 |
+
| 2.0 | <ul><li>'아기 전신운동 방울 손잡이 유아 목튜브 대근육 출산선물 출산/육아 > 완구/인형 > 물놀이용품'</li><li>'즈램린 애니멀 미니 워터건 물총 매트 육아 완구 물놀이용품 출산 출산/육아 > 완구/인형 > 물놀이용품'</li><li>'유아 놀이풀장 엠보싱바닥 아기풀장 수영장 소형 출산/육아 > 완구/인형 > 물놀이용품'</li></ul> |
|
59 |
+
| 3.0 | <ul><li>'엉뚱발랄콩순이 물감색칠놀이3 출산/육아 > 완구/인형 > 미술놀이'</li><li>'스크레치페이퍼출산/육아완구/매트미술놀이기타미술놀이 출산/육아 > 완구/인형 > 미술놀이'</li><li>'치킨만들기 미니어쳐 양념후라이드 패스트푸드 출산 육아 미술놀이 위블센 출산/육아 > 완구/인형 > 미술놀이'</li></ul> |
|
60 |
+
| 6.0 | <ul><li>'비바 뉴 프리미엄 145 킥보드 스쿠터 씽씽이 접이식 출산/육아 > 완구/인형 > 승용완구 > 킥보드/씽씽이'</li><li>'마이크로킥보드 마이크로킥보드 미니 핸드 디럭스 LED 라벤더 출산/육아 > 완구/인형 > 승용완구 > 킥보드/씽씽이'</li><li>'마이크로킥보드 미니 투고 디럭스 플러스 LED 푸쉬바 세트 출산/육아 > 완구/인형 > 승용완구 > 킥보드/씽씽이'</li></ul> |
|
61 |
+
| 4.0 | <ul><li>'아이링고 뉴 스타터세트 212pcs 블럭장난감 유치원교구 출산/육아 > 완구/인형 > 블록'</li><li>'18개월~3세 안심 장난감 블록 테이블 세트 출산/육아 > 완구/인형 > 블록'</li><li>'듀플로호환 유아대형블럭장난감 통큰블럭 소방 경찰 병원 출산/육아 > 완구/인형 > 블록'</li></ul> |
|
62 |
+
| 9.0 | <ul><li>'영유아용품 레드박스 뉴 피자놀이세트 매트 완구 출산 육아 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이'</li><li>'김밥가게놀이 매트 육아 완구 출산 원목블록 민릿느 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이'</li><li>'과일썰기놀이 완구 원목블록 출산 육아 매트 출산/육아 > 완구/인형 > 역할놀이/소꿉놀이'</li></ul> |
|
63 |
+
| 5.0 | <ul><li>'세계유통 말랑말랑 키즈볼세트 육아 완구 출산 매트 소프트볼 공 출산/육아 > 완구/인형 > 스포츠완구'</li><li>'쿠쿠토이즈 동물볼링 육아 매트 출산 완구 출산/육아 > 완구/인형 > 스포츠완구'</li><li>'농구놀이 농구대 스포츠완구 완구 매트 출산 육아 출산/육아 > 완구/인형 > 스포츠완구'</li></ul> |
|
64 |
+
| 11.0 | <ul><li>'어린이 세발 자전거 1-3-6 세 아기 영 유아 5세 임산부 출산 신혼부부 집들이 선물 덮게 없는 블루 1개 출산/육아 > 완구/인형 > 유아/어린이자전거'</li><li>'48개월 세발자전거 유모차 보호자 손잡이 캐노피자전거(그레이) 주행 튼튼한 1개 출산/육아 > 완구/인형 > 유아/어린이자전거'</li><li>'돌아기자전거 두돌 아기 자전거 3살 트라이크 36개월 30개월 출산/육아 > 완구/인형 > 유아/어린이자전거'</li></ul> |
|
65 |
+
| 8.0 | <ul><li>'아리아띠 얼굴 몸통 두조각 동물 퍼즐 두돌 두뇌활동 출산선물 출산/육아 > 완구/인형 > 언어/학습완구'</li><li>'어린이 놀이영어 원목 알파벳자석블럭 4세 유치원생 출산선물 출산/육아 > 완구/인형 > 언어/학습완구'</li><li>'뚜뚜아트 세이펜 아기포스터 유아병풍 아기벽보 코팅 종이 숫자1-100 출산/육아 > 완구/인형 > 언어/학습완구'</li></ul> |
|
66 |
+
| 15.0 | <ul><li>'프레파라트 생물 과학교구 출산 자연 프레파라트 육아 생물 학습교구 출산/육아 > 완구/인형 > 자연/과학완구'</li><li>'어린이완구소프트 안킬로 사우르스 반디 공룡 출산 자연 매트 출산/육아 > 완구/인형 > 자연/과학완구'</li><li>'반디 소프트 카르노타우르스 공룡 완구 자연 매트 출산 육아 출산/육아 > 완구/인형 > 자연/과학완구'</li></ul> |
|
67 |
+
| 1.0 | <ul><li>'주택 마당 튼튼살대 2인용 어린이 그네 출산선물 유치부 출산/육아 > 완구/인형 > 공간놀이기구'</li><li>'출산선물 오래타는 튼튼 국산 방문그네 키카 유아그네 흔들그네 출산/육아 > 완구/인형 > 공간놀이기구'</li><li>'쿠쿠토이즈 에듀플레이하우스 바이올렛 완구 놀이집 매트 육아 출산 출산/육아 > 완구/인형 > 공간놀이기구'</li></ul> |
|
68 |
+
| 10.0 | <ul><li>'유치원 4세반 학습교구 손가락발달 큐브 구슬타워 성취감 돌아기 성장 출산/육아 > 완구/인형 > 원목교구/가베'</li><li>'원목링쌓기 롤러코스터 아기상어 핑크퐁 가베 출산 원목교구 카룰빈 출산/육아 > 완구/인형 > 원목교구/가베'</li><li>'다채로운 모양 블록 분류 게임 몬테소리 학습 교육 완구 비비 출산 인니 퍼즐 선물 출산/육아 > 완구/인형 > 원목교구/가베'</li></ul> |
|
69 |
+
|
70 |
+
## Uses
|
71 |
+
|
72 |
+
### Direct Use for Inference
|
73 |
+
|
74 |
+
First install the SetFit library:
|
75 |
+
|
76 |
+
```bash
|
77 |
+
pip install setfit
|
78 |
+
```
|
79 |
+
|
80 |
+
Then you can load this model and run inference.
|
81 |
+
|
82 |
+
```python
|
83 |
+
from setfit import SetFitModel
|
84 |
+
|
85 |
+
# Download from the 🤗 Hub
|
86 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_bc13")
|
87 |
+
# Run inference
|
88 |
+
preds = model("꼬마실로폰 완구 원목블록 출산 매트 육아 출산/육아 > 완구/인형 > 음악/악기놀이")
|
89 |
+
```
|
90 |
+
|
91 |
+
<!--
|
92 |
+
### Downstream Use
|
93 |
+
|
94 |
+
*List how someone could finetune this model on their own dataset.*
|
95 |
+
-->
|
96 |
+
|
97 |
+
<!--
|
98 |
+
### Out-of-Scope Use
|
99 |
+
|
100 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
101 |
+
-->
|
102 |
+
|
103 |
+
<!--
|
104 |
+
## Bias, Risks and Limitations
|
105 |
+
|
106 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
107 |
+
-->
|
108 |
+
|
109 |
+
<!--
|
110 |
+
### Recommendations
|
111 |
+
|
112 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
113 |
+
-->
|
114 |
+
|
115 |
+
## Training Details
|
116 |
+
|
117 |
+
### Training Set Metrics
|
118 |
+
| Training set | Min | Median | Max |
|
119 |
+
|:-------------|:----|:--------|:----|
|
120 |
+
| Word count | 7 | 14.3937 | 25 |
|
121 |
+
|
122 |
+
| Label | Training Sample Count |
|
123 |
+
|:------|:----------------------|
|
124 |
+
| 0.0 | 20 |
|
125 |
+
| 1.0 | 20 |
|
126 |
+
| 2.0 | 20 |
|
127 |
+
| 3.0 | 20 |
|
128 |
+
| 4.0 | 20 |
|
129 |
+
| 5.0 | 20 |
|
130 |
+
| 6.0 | 8 |
|
131 |
+
| 7.0 | 20 |
|
132 |
+
| 8.0 | 20 |
|
133 |
+
| 9.0 | 20 |
|
134 |
+
| 10.0 | 20 |
|
135 |
+
| 11.0 | 20 |
|
136 |
+
| 12.0 | 20 |
|
137 |
+
| 13.0 | 20 |
|
138 |
+
| 14.0 | 20 |
|
139 |
+
| 15.0 | 20 |
|
140 |
+
| 16.0 | 20 |
|
141 |
+
| 17.0 | 20 |
|
142 |
+
|
143 |
+
### Training Hyperparameters
|
144 |
+
- batch_size: (256, 256)
|
145 |
+
- num_epochs: (30, 30)
|
146 |
+
- max_steps: -1
|
147 |
+
- sampling_strategy: oversampling
|
148 |
+
- num_iterations: 50
|
149 |
+
- body_learning_rate: (2e-05, 1e-05)
|
150 |
+
- head_learning_rate: 0.01
|
151 |
+
- loss: CosineSimilarityLoss
|
152 |
+
- distance_metric: cosine_distance
|
153 |
+
- margin: 0.25
|
154 |
+
- end_to_end: False
|
155 |
+
- use_amp: False
|
156 |
+
- warmup_proportion: 0.1
|
157 |
+
- l2_weight: 0.01
|
158 |
+
- seed: 42
|
159 |
+
- eval_max_steps: -1
|
160 |
+
- load_best_model_at_end: False
|
161 |
+
|
162 |
+
### Training Results
|
163 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
164 |
+
|:-------:|:----:|:-------------:|:---------------:|
|
165 |
+
| 0.0147 | 1 | 0.4769 | - |
|
166 |
+
| 0.7353 | 50 | 0.4673 | - |
|
167 |
+
| 1.4706 | 100 | 0.1769 | - |
|
168 |
+
| 2.2059 | 150 | 0.0467 | - |
|
169 |
+
| 2.9412 | 200 | 0.012 | - |
|
170 |
+
| 3.6765 | 250 | 0.0068 | - |
|
171 |
+
| 4.4118 | 300 | 0.0067 | - |
|
172 |
+
| 5.1471 | 350 | 0.0043 | - |
|
173 |
+
| 5.8824 | 400 | 0.0022 | - |
|
174 |
+
| 6.6176 | 450 | 0.0001 | - |
|
175 |
+
| 7.3529 | 500 | 0.0001 | - |
|
176 |
+
| 8.0882 | 550 | 0.0001 | - |
|
177 |
+
| 8.8235 | 600 | 0.0001 | - |
|
178 |
+
| 9.5588 | 650 | 0.0001 | - |
|
179 |
+
| 10.2941 | 700 | 0.0001 | - |
|
180 |
+
| 11.0294 | 750 | 0.0001 | - |
|
181 |
+
| 11.7647 | 800 | 0.0 | - |
|
182 |
+
| 12.5 | 850 | 0.0 | - |
|
183 |
+
| 13.2353 | 900 | 0.0 | - |
|
184 |
+
| 13.9706 | 950 | 0.0 | - |
|
185 |
+
| 14.7059 | 1000 | 0.0 | - |
|
186 |
+
| 15.4412 | 1050 | 0.0 | - |
|
187 |
+
| 16.1765 | 1100 | 0.0 | - |
|
188 |
+
| 16.9118 | 1150 | 0.0 | - |
|
189 |
+
| 17.6471 | 1200 | 0.0 | - |
|
190 |
+
| 18.3824 | 1250 | 0.0 | - |
|
191 |
+
| 19.1176 | 1300 | 0.0 | - |
|
192 |
+
| 19.8529 | 1350 | 0.0 | - |
|
193 |
+
| 20.5882 | 1400 | 0.0 | - |
|
194 |
+
| 21.3235 | 1450 | 0.0 | - |
|
195 |
+
| 22.0588 | 1500 | 0.0 | - |
|
196 |
+
| 22.7941 | 1550 | 0.0 | - |
|
197 |
+
| 23.5294 | 1600 | 0.0 | - |
|
198 |
+
| 24.2647 | 1650 | 0.0 | - |
|
199 |
+
| 25.0 | 1700 | 0.0 | - |
|
200 |
+
| 25.7353 | 1750 | 0.0 | - |
|
201 |
+
| 26.4706 | 1800 | 0.0 | - |
|
202 |
+
| 27.2059 | 1850 | 0.0 | - |
|
203 |
+
| 27.9412 | 1900 | 0.0 | - |
|
204 |
+
| 28.6765 | 1950 | 0.0 | - |
|
205 |
+
| 29.4118 | 2000 | 0.0 | - |
|
206 |
+
|
207 |
+
### Framework Versions
|
208 |
+
- Python: 3.10.12
|
209 |
+
- SetFit: 1.1.0
|
210 |
+
- Sentence Transformers: 3.3.1
|
211 |
+
- Transformers: 4.44.2
|
212 |
+
- PyTorch: 2.2.0a0+81ea7a4
|
213 |
+
- Datasets: 3.2.0
|
214 |
+
- Tokenizers: 0.19.1
|
215 |
+
|
216 |
+
## Citation
|
217 |
+
|
218 |
+
### BibTeX
|
219 |
+
```bibtex
|
220 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
221 |
+
doi = {10.48550/ARXIV.2209.11055},
|
222 |
+
url = {https://arxiv.org/abs/2209.11055},
|
223 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
224 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
225 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
226 |
+
publisher = {arXiv},
|
227 |
+
year = {2022},
|
228 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
229 |
+
}
|
230 |
+
```
|
231 |
+
|
232 |
+
<!--
|
233 |
+
## Glossary
|
234 |
+
|
235 |
+
*Clearly define terms in order to be accessible across audiences.*
|
236 |
+
-->
|
237 |
+
|
238 |
+
<!--
|
239 |
+
## Model Card Authors
|
240 |
+
|
241 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
242 |
+
-->
|
243 |
+
|
244 |
+
<!--
|
245 |
+
## Model Card Contact
|
246 |
+
|
247 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
248 |
+
-->
|
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:edf2a9acf7f44a8d6df454f387d1907f15495197b3de4b57b2b1f006df151815
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:064e0ed3559ab0f5db5cd376130bf1d1311c7fadd9ef2cb63bb6318ab2e3917d
|
3 |
+
size 111687
|
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
|
|