mini1013 commited on
Commit
85dd161
·
verified ·
1 Parent(s): a82f562

Push model using huggingface_hub.

Browse files
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,452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 아가방 가을 골지 레깅스 아기 유아 바지 남아 여아 속바지 신생 쫄바지 베이비 키즈 아가방 레깅스/쫄바지_01 치치골지레깅스 그린_80
9
+ 출산/육아 > 유아동의류 > 레깅스
10
+ - text: 라고 세일러맨투맨 23겨울 아동복 아동 키즈 주니어 여아 JS_옐로 출산/육아 > 유아동의류 > 티셔츠
11
+ - text: 여아 드레스 원피스 겨울왕국2 캐주얼 안나 공주 원픽4 샴페인_120 출산/육아 > 유아동의류 > 공주드레스
12
+ - text: '[뉴발란스키즈]뉴키모 보이 다운(NK9PD4105U)100~160Size Black/110 출산/육아 > 유아동의류 > 점퍼'
13
+ - text: 데일리베베 겨울 뽀글이점퍼 유아집업 아기집업 주니어 토끼_JM 출산/육아 > 유아동의류 > 점퍼
14
+ metrics:
15
+ - accuracy
16
+ pipeline_tag: text-classification
17
+ library_name: setfit
18
+ inference: true
19
+ base_model: mini1013/master_domain
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: accuracy
32
+ value: 1.0
33
+ name: Accuracy
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:** 27 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>'구르미니트 아동복 키즈 23년 겨울 주니어까지 등원룩 초딩옷 남아 여아 핑크옐로우_XL 출산/육아 > 유아동의류 > 니트/스웨터'</li><li>'주니어니트 아동꽈배기니트 키즈스웨어 어린이 여아 니트티 CNT30920053 22.레이나 니트_레드_120 출산/육아 > 유아동의류 > 니트/스웨터'</li><li>'our아동복 플랫니트조끼 아워 상하복 남대문아동복 초등남아옷 초딩옷 S-JXL 겨울 아이_JL(17호) 출산/육아 > 유아동의류 > 니트/스웨터'</li></ul> |
67
+ | 26.0 | <ul><li>'정원한복 혜교 전통당의 청 여아한복 돌 백일 전통한복 어린이집 명절한복 9호 출산/육아 > 유아동의류 > 한복'</li><li>'[대여]남아 백일 돌 답호 모음 백일_네이비답호+백아이바지_봉황돌띠그레이 출산/육아 > 유아동의류 > 한복'</li><li>'정원한복 남아 한복 베스트 기획전 백일-15세 아동 어린이집 한복 11.현백 브라운_2호 출산/육아 > 유아동의류 > 한복'</li></ul> |
68
+ | 17.0 | <ul><li>'아동 유아 남아 아기 주니어 초등 학생 정장 하객룩 화동 돌 아기 교복 어린이 세트 바지_01.5부바지검정_11호 출산/육아 > 유아동의류 > 정장'</li><li>'[돌정장대여] 킹스맨(1호/7호)-남아정장 돌수트 남아턱시도 1호_150_반팔 출산/육아 > 유아동의류 > 정장'</li><li>'남아정장 스트라이프 가을 겨울 턱시도 아동 수트 그레이_150 출산/육아 > 유아동의류 > 정장'</li></ul> |
69
+ | 6.0 | <ul><li>'주니어겨울티셔츠 초등학생기모바지 중학생빅사이즈의류 남아트레이닝복 남학생면기모옷 특가302 초겨울 기능성바지_조거블랙-11호 출산/육아 > 유아동의류 > 바지'</li><li>'이엔 밍크 기모 부츠컷 제깅스 팬츠 제비_XL 출산/육아 > 유아동의류 > 바지'</li><li>'여아 바지 리본 벨루아바지 기모 겨울 벨벳 유아 초등 주니어 바지 핑크_11호 출산/육아 > 유아동의류 > 바지'</li></ul> |
70
+ | 14.0 | <ul><li>'[23가을] 토리자켓 베이지_100 출산/육아 > 유아동의류 > 재킷'</li><li>'[키즈] 밍크자켓 겨울 철수와영희 페이크퍼 재킷 크림_S 출산/육아 > 유아동의류 > 재킷'</li><li>'노스페이스 키즈 후리스 유아 점퍼 뽀글이 집업 아동 플리스 주니어 자켓 여아 조카 선물 크림_130 출산/육아 > 유아동의류 > 재킷'</li></ul> |
71
+ | 23.0 | <ul><li>'여아 트레이닝복 주니어 트레이닝 세트 초등학생 고학년 겨울 크롭 조거 팬츠 운동복 츄리닝 05.소녀시대 세트_블랙_150 출산/육아 > 유아동의류 > 트레이닝복'</li><li>'여아카라상하세트 세라 봄가을 트레이닝복 그레이_90 출산/육아 > 유아동의류 > 트레이닝복'</li><li>'노스페이스 키즈 주니어 아동 츄리닝 트레이닝복 세트 맨투맨 조거팬츠 NT7TN50S J 트레이닝 셋업_올 트레인 집업 블랙 1_140 출산/육아 > 유아동의류 > 트레이닝복'</li></ul> |
72
+ | 10.0 | <ul><li>'보니토 퀼팅남방 남아 여아 유아동 키즈 겨울 스타일 4온스 다이아퀼팅 남방 블랙_XL 출산/육아 > 유아동의류 > 셔츠/남방'</li><li>'보드리셔츠 키즈 아기 아동 셔츠 남방 10kg-45kg 베이지_L 출산/육아 > 유아동의류 > 셔츠/남방'</li><li>'비비드아이 겨울 골덴 체크 남방 남아 키즈 아동 유아 주니어 아기 셔츠 여아 흰남방 겨울체크남방 그린_XS 출산/육아 > 유아동의류 > 셔츠/남방'</li></ul> |
73
+ | 16.0 | <ul><li>'[갤러리아] (압소바출산,백일,돌선물)하랑상하+엘리인형딸랑이세트(AY7-13008SET)(한화갤러리아㈜ 센터시티) 80_분홍 출산/육아 > 유아동의류 > 점프슈트'</li><li>'모이몰른 클립몽글 폴리스 하프점퍼 겨울 PI_110 출산/육아 > 유아동의류 > 점프슈트'</li><li>'[블랙야크키즈](신세계하남점)23년 FW 신상 귀여운 전판 그래픽이 매력적인 [BKO코티지다운우주복] PURPLE_12M 출산/육아 > 유아동의류 > 점프슈트'</li></ul> |
74
+ | 20.0 | <ul><li>'울와이드립가디건 주니어가디건 our아동복 23가을 크림 차콜 주니어 아워 차콜_XL 출산/육아 > 유아동의류 > 카디건'</li><li>'바나나제이 다이애나가디건 23가을 XL_노랑 출산/육아 > 유아동의류 > 카디건'</li><li>'겨울기모 튤립가디건 핑크_S 출산/육아 > 유아동의류 > 카디건'</li></ul> |
75
+ | 19.0 | <ul><li>'크루 웜 기모 데님 와이드 팬츠 흑청_JM 출산/육아 > 유아동의류 > 청바지'</li><li>'아기 유아 기모청바지 / 아동 주니어 다트청바지 겨울청바지 데일리 데님팬츠 남아 여아 JS_청 출산/육아 > 유아동의류 > 청바지'</li><li>'바이오워싱 겨울 청바지 데미지기모청팬츠 중청_JS(2XL) 출산/육아 > 유아동의류 > 청바지'</li></ul> |
76
+ | 0.0 | <ul><li>'인어공주 수영복 꼬리 3piece A2(핫핑)_130 출산/육아 > 유아동의류 > 공주드레스'</li><li>'백설공주 라푼젤 엘사 소피아 인어 공주 벨 드레스 공주 드레스 원피스 19)안나공주 긴팔(망토포함)_120 출산/육아 > 유아동의류 > 공주드레스'</li><li>'여아 드레스 원피스 캐주얼공주 코스프레 공연 원픽4 블루_110 출산/육아 > 유아동의류 > 공주드레스'</li></ul> |
77
+ | 15.0 | <ul><li>'23겨울 데일리베베 뽀글이점퍼 유아 키즈 겨울등원복 파랑꽃_L 출산/육아 > 유아동의류 > 점퍼'</li><li>'[노스페이스키즈](대구신세계)NJ3NP50 키즈 뉴 퍼피 코트 KS NEW PUFFY COAT BLK_120 출산/육아 > 유아동의류 > 점퍼'</li><li>'뉴발란스 키즈 패딩 점퍼 조끼 자켓 바람막이 베스트 미디다운 18 에센셜 퀼팅점퍼_라이트핑크NK9QD1101U_150 출산/육아 > 유아동의류 > 점퍼'</li></ul> |
78
+ | 13.0 | <ul><li>'[23가을] 모니카원피스 네이비_90 출산/육아 > 유아동의류 > 원피스'</li><li>'겨울왕국 가을신상 드레스 엘사드레스 여아 아동 공주 망토 원피스옷 치마 뮤지컬의상 019원피스_핑크_L 출산/육아 > 유아동의류 > 원피스'</li><li>'초등학생 주니어 니트원피스 여아 가을 겨울 원피스 초등고학년옷 COP30922080 8.히즈 원피스_베이지_150 출산/육아 > 유아동의류 > 원피스'</li></ul> |
79
+ | 3.0 | <ul><li>'돌 백일 아기드레스 신생아 06 누벨르 드레스_80 (6-12개월) 출산/육아 > 유아동의류 > 드레스'</li><li>'초등학생 연주회 드레스 여아 주니어 콩쿨 드레스 11.미우 드레스_화이트_140 출산/육아 > 유아동의류 > 드레스'</li><li>'[화동드레스대여] 결혼식화동 미카도 아기돌드레스 주니어 연주회 콩쿨드레스 소피아드레스 23G03 7호(7-8세)+10.000_190_규정 동의 후 확인합니다 출산/육아 > 유아동의류 > 드레스'</li></ul> |
80
+ | 22.0 | <ul><li>'[현대백화점]블랙야크키즈[BKO코티지다운우주복]유아용 점프수트 신생아 방한 패딩 출산 선물 1BKOPW3903 [00005] MI(민트)/18M 출산/육아 > 유아동의류 > 코트'</li><li>'유아코트 르베브 멜로디퍼코트 아동 아기 애기 키즈 남아 여아 코트 S_핑크 출산/육아 > 유아동의류 > 코트'</li><li>'유아동 기모누빔코트 여아 토니 플라워꼬마돕바 블랙-7호 출산/육아 > 유아동의류 > 코트'</li></ul> |
81
+ | 9.0 | <ul><li>'아동 주니어 기모 포인트상하복 초등학생 남아 여아 스마일 운동복 트레이닝복세트 꼬)엘로포인트상하_크림_21호 출산/육아 > 유아동의류 > 상하세트'</li><li>'화이트스케치북 기모베이직세트 주문 후 취소/교환이 어려울 수 있습니다._스카이_17(+3200) 출산/육아 > 유아동의류 > 상하세트'</li><li>'초등여아스쿨룩 초등 상하복 학생가을옷 주니어상하세트 치마바지 투피스 21.쇼파드 상하세트_블랙_160 출산/육아 > 유아동의류 > 상하세트'</li></ul> |
82
+ | 24.0 | <ul><li>'(가을 50% 세일) 미니봉봉 메모리즈맨투맨 아동 주니어 검정_L 출산/육아 > 유아동의류 > 티셔츠'</li><li>'미니로브 벨라맨투맨 모카_L 출산/육아 > 유아동의류 > 티셔츠'</li><li>'mn 벨라맨투맨 모카_L 출산/육아 > 유아동의류 > 티셔츠'</li></ul> |
83
+ | 4.0 | <ul><li>'레깅스 아동 유아 아기 어린이 주니어 키즈 가을 남아 여아 쫄바지 치랭스 치마 속바지 배앓이방지 밍크 피치 피치트레이닝레깅스_인디핑크_5호 출산/육아 > 유아동의류 > 레깅스'</li><li>'여아 기모레깅스 겨울 유아 초등학생 아기 쫄바지 배색 레깅스 피치 기모 레깅스_초코브라운_9호 출산/육아 > 유아동의류 > 레깅스'</li><li>'아동레깅스 기본타이즈 골지타이즈 기모레깅스 NO.1_블랙_15호 출산/육아 > 유아동의류 > 레깅스'</li></ul> |
84
+ | 2.0 | <ul><li>'키즈 어린이 치어리더 댄스복 방송댄스 치어리딩 출산/육아 > 유아동의류 > 댄스복'</li><li>'여아 방송 댄스 치어리딩 주니어 주름치마 출산/육아 > 유아동의류 > 댄스복'</li><li>'아동댄스복 오렌지화이트세트 - 주니어방송댄스복 아동힙합 출산/육아 > 유아동의류 > 댄스복'</li></ul> |
85
+ | 21.0 | <ul><li>'할로윈 코스튬 의상 아동 남아 슈트 유치원 아이언맨 캡틴 스파이더맨 09.해리포터_L 출산/육아 > 유아동의류 > 코스튬의상'</li><li>'아동 여아 남아 유아할로윈 크리스마스 의상 코스튬 어벤져스 마녀코스튬 유치원 드레스 TS01 페퍼 루돌프 맨투맨_장갑루돌프(그린)_7 출산/육아 > 유아동의류 > 코스튬의상'</li><li>'토끼 파티복 장기자랑 공연 의상 유치원 어린이 댄스 토끼 1)170(신장 162-172cm) 출산/육아 > 유아동의류 > 코스튬의상'</li></ul> |
86
+ | 5.0 | <ul><li>'생활잡화 가정잡화 주방잡화 아동용비옷 욕실잡화 생활소품 10개묶음 출산/육아 > 유아동의류 > 레인코트'</li><li>'유아우비 아기 우비 어린이 남아 여아 초등 802 네이비_L(130/140) 출산/육아 > 유아동의류 > 레인코트'</li><li>'유아동 어린이 판초우의-꿀벌 / 우비 비옷 레인코트 03. 꿀벌(스카이)_3XL 출산/육아 > 유아동의류 > 레인코트'</li></ul> |
87
+ | 25.0 | <ul><li>'모녀 커플룩 패밀리룩 맘 모녀룩 사진 소품 임산부 드레스 출산 엄마 7 출산/육아 > 유아동의류 > 패밀리룩'</li><li>'컬러 하트 맘커플룩 엄마아기 패밀리룩 모녀룩 파자마 홈웨어 출산/육아 > 유아동의류 > 패밀리룩'</li><li>'풀잎 여행가족티 바캉스패밀리룩 단체 돌잔치 돌촬영 출산/육아 > 유아동의류 > 패밀리룩'</li></ul> |
88
+ | 8.0 | <ul><li>'23겨울 에이마켓 엠마스모크블라우스유아 아동 어린이 주니어 여아 플라워 티 XS-XL 밤색_XS 출산/육아 > 유아동의류 > 블라우스'</li><li>'바나나제이 솔방울블라우스 키즈 주니어 아동복 23겨울 핑크_JM 출산/육아 > 유아동의류 > 블라우스'</li><li>'세인트돌 패딩타이블라 유아 아동 여아 화이트 블랙 세일러카라 세라블라우스 L_화이트 출산/육아 > 유아동의류 > 블라우스'</li></ul> |
89
+ | 18.0 | <ul><li>'아워패딩조끼 주니어패딩조끼 유아 아기 키즈 OUR아동복(S-JXL) 카키_S_리오더시3주이상소요/단순변심취소불가 출산/육아 > 유아동의류 > 조끼'</li><li>'제제우노시티 리퍼베스트 투톤 배색조끼 카키_L 출산/육아 > 유아동의류 > 조끼'</li><li>'남아 여아 체온유지 후리스조끼 아이점퍼 이너조끼 핑크_JS 출산/육아 > 유아동의류 > 조끼'</li></ul> |
90
+ | 12.0 | <ul><li>'데이빗앤케이트 주니어 아동 스키복 보드복 세트 MANU ORANGE 12Y_12Y 출산/육아 > 유아동의류 > 스키복'</li><li>'유아 스키복 아기 키즈 아동 남아 여아 스키바지 눈썰매복 패딩멜빵 보드복 10 눈썰매 패딩 후드_그레이_S 출산/육아 > 유아동의류 > 스키복'</li><li>'유아 아동 키즈 스키바지 눈 썰매바지 썰매복 스키복 보드복 패딩 방수 방한바지 방한복 ★01.스키.썰매바지_05.옐로우_9호 출산/육아 > 유아동의류 > 스키복'</li></ul> |
91
+ | 11.0 | <ul><li>'[키즈] 앞포켓 트위드 스커트 여아 미니 가을 룩 핑크_JS 출산/육아 > 유아동의류 > 스커트'</li><li>'코첼라 플리츠 sk 여자아이 유아 여아 아동 키즈 초등 주니어 봄 가을 스커트 치마 면치마 여아스커트 키즈스커트 치마 체크스커트 밴딩치마 밴딩스커트 하객룩 스쿨룩 플리츠 스커트 블랙_07호 출산/육아 > 유아동의류 > 스커트'</li><li>'23가을 소예 패딩포켓스커트 (XS-XL) 네이비_L 출산/육아 > 유아동의류 > 스커트'</li></ul> |
92
+ | 7.0 | <ul><li>'유아발레복 8종 골라담기 분리형 여아 발레 출산/육아 > 유아동의류 > 발레복'</li><li>'튜튜 스커트 발레튜튜 유아 발레복세트 도미니코 여아 문센 발레복 출산/육아 > 유아동의류 > 발레복'</li><li>'슈크레 튜튜 유아발레복 / 발레복 분리형 아동 여아 유아 아기 문센 출산/육아 > 유아동의류 > 발레복'</li></ul> |
93
+
94
+ ## Evaluation
95
+
96
+ ### Metrics
97
+ | Label | Accuracy |
98
+ |:--------|:---------|
99
+ | **all** | 1.0 |
100
+
101
+ ## Uses
102
+
103
+ ### Direct Use for Inference
104
+
105
+ First install the SetFit library:
106
+
107
+ ```bash
108
+ pip install setfit
109
+ ```
110
+
111
+ Then you can load this model and run inference.
112
+
113
+ ```python
114
+ from setfit import SetFitModel
115
+
116
+ # Download from the 🤗 Hub
117
+ model = SetFitModel.from_pretrained("mini1013/master_cate_bc19")
118
+ # Run inference
119
+ preds = model("데일리베베 겨울 뽀글이점퍼 유아집업 아기집업 주니어 토끼_JM 출산/육아 > 유아동의류 > 점퍼")
120
+ ```
121
+
122
+ <!--
123
+ ### Downstream Use
124
+
125
+ *List how someone could finetune this model on their own dataset.*
126
+ -->
127
+
128
+ <!--
129
+ ### Out-of-Scope Use
130
+
131
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
132
+ -->
133
+
134
+ <!--
135
+ ## Bias, Risks and Limitations
136
+
137
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
138
+ -->
139
+
140
+ <!--
141
+ ### Recommendations
142
+
143
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
144
+ -->
145
+
146
+ ## Training Details
147
+
148
+ ### Training Set Metrics
149
+ | Training set | Min | Median | Max |
150
+ |:-------------|:----|:--------|:----|
151
+ | Word count | 7 | 15.2902 | 36 |
152
+
153
+ | Label | Training Sample Count |
154
+ |:------|:----------------------|
155
+ | 0.0 | 70 |
156
+ | 1.0 | 70 |
157
+ | 2.0 | 20 |
158
+ | 3.0 | 70 |
159
+ | 4.0 | 70 |
160
+ | 5.0 | 70 |
161
+ | 6.0 | 70 |
162
+ | 7.0 | 20 |
163
+ | 8.0 | 70 |
164
+ | 9.0 | 70 |
165
+ | 10.0 | 70 |
166
+ | 11.0 | 70 |
167
+ | 12.0 | 70 |
168
+ | 13.0 | 70 |
169
+ | 14.0 | 70 |
170
+ | 15.0 | 70 |
171
+ | 16.0 | 70 |
172
+ | 17.0 | 70 |
173
+ | 18.0 | 70 |
174
+ | 19.0 | 70 |
175
+ | 20.0 | 70 |
176
+ | 21.0 | 70 |
177
+ | 22.0 | 70 |
178
+ | 23.0 | 70 |
179
+ | 24.0 | 70 |
180
+ | 25.0 | 20 |
181
+ | 26.0 | 70 |
182
+
183
+ ### Training Hyperparameters
184
+ - batch_size: (256, 256)
185
+ - num_epochs: (30, 30)
186
+ - max_steps: -1
187
+ - sampling_strategy: oversampling
188
+ - num_iterations: 50
189
+ - body_learning_rate: (2e-05, 1e-05)
190
+ - head_learning_rate: 0.01
191
+ - loss: CosineSimilarityLoss
192
+ - distance_metric: cosine_distance
193
+ - margin: 0.25
194
+ - end_to_end: False
195
+ - use_amp: False
196
+ - warmup_proportion: 0.1
197
+ - l2_weight: 0.01
198
+ - seed: 42
199
+ - eval_max_steps: -1
200
+ - load_best_model_at_end: False
201
+
202
+ ### Training Results
203
+ | Epoch | Step | Training Loss | Validation Loss |
204
+ |:-------:|:-----:|:-------------:|:---------------:|
205
+ | 0.0029 | 1 | 0.499 | - |
206
+ | 0.1471 | 50 | 0.4995 | - |
207
+ | 0.2941 | 100 | 0.4977 | - |
208
+ | 0.4412 | 150 | 0.4739 | - |
209
+ | 0.5882 | 200 | 0.3318 | - |
210
+ | 0.7353 | 250 | 0.2867 | - |
211
+ | 0.8824 | 300 | 0.1873 | - |
212
+ | 1.0294 | 350 | 0.1056 | - |
213
+ | 1.1765 | 400 | 0.0747 | - |
214
+ | 1.3235 | 450 | 0.0675 | - |
215
+ | 1.4706 | 500 | 0.0391 | - |
216
+ | 1.6176 | 550 | 0.0156 | - |
217
+ | 1.7647 | 600 | 0.0067 | - |
218
+ | 1.9118 | 650 | 0.004 | - |
219
+ | 2.0588 | 700 | 0.0029 | - |
220
+ | 2.2059 | 750 | 0.0018 | - |
221
+ | 2.3529 | 800 | 0.0019 | - |
222
+ | 2.5 | 850 | 0.0018 | - |
223
+ | 2.6471 | 900 | 0.0006 | - |
224
+ | 2.7941 | 950 | 0.0004 | - |
225
+ | 2.9412 | 1000 | 0.0004 | - |
226
+ | 3.0882 | 1050 | 0.0003 | - |
227
+ | 3.2353 | 1100 | 0.0004 | - |
228
+ | 3.3824 | 1150 | 0.0003 | - |
229
+ | 3.5294 | 1200 | 0.0002 | - |
230
+ | 3.6765 | 1250 | 0.0003 | - |
231
+ | 3.8235 | 1300 | 0.0003 | - |
232
+ | 3.9706 | 1350 | 0.0001 | - |
233
+ | 4.1176 | 1400 | 0.0003 | - |
234
+ | 4.2647 | 1450 | 0.0002 | - |
235
+ | 4.4118 | 1500 | 0.0002 | - |
236
+ | 4.5588 | 1550 | 0.0002 | - |
237
+ | 4.7059 | 1600 | 0.0003 | - |
238
+ | 4.8529 | 1650 | 0.0001 | - |
239
+ | 5.0 | 1700 | 0.0002 | - |
240
+ | 5.1471 | 1750 | 0.0002 | - |
241
+ | 5.2941 | 1800 | 0.0001 | - |
242
+ | 5.4412 | 1850 | 0.0003 | - |
243
+ | 5.5882 | 1900 | 0.0002 | - |
244
+ | 5.7353 | 1950 | 0.0003 | - |
245
+ | 5.8824 | 2000 | 0.0002 | - |
246
+ | 6.0294 | 2050 | 0.0003 | - |
247
+ | 6.1765 | 2100 | 0.0001 | - |
248
+ | 6.3235 | 2150 | 0.0002 | - |
249
+ | 6.4706 | 2200 | 0.0001 | - |
250
+ | 6.6176 | 2250 | 0.0002 | - |
251
+ | 6.7647 | 2300 | 0.0002 | - |
252
+ | 6.9118 | 2350 | 0.0002 | - |
253
+ | 7.0588 | 2400 | 0.0002 | - |
254
+ | 7.2059 | 2450 | 0.0002 | - |
255
+ | 7.3529 | 2500 | 0.0001 | - |
256
+ | 7.5 | 2550 | 0.0001 | - |
257
+ | 7.6471 | 2600 | 0.0002 | - |
258
+ | 7.7941 | 2650 | 0.0002 | - |
259
+ | 7.9412 | 2700 | 0.0002 | - |
260
+ | 8.0882 | 2750 | 0.0001 | - |
261
+ | 8.2353 | 2800 | 0.0001 | - |
262
+ | 8.3824 | 2850 | 0.0002 | - |
263
+ | 8.5294 | 2900 | 0.0002 | - |
264
+ | 8.6765 | 2950 | 0.0001 | - |
265
+ | 8.8235 | 3000 | 0.0003 | - |
266
+ | 8.9706 | 3050 | 0.0003 | - |
267
+ | 9.1176 | 3100 | 0.0002 | - |
268
+ | 9.2647 | 3150 | 0.0002 | - |
269
+ | 9.4118 | 3200 | 0.0 | - |
270
+ | 9.5588 | 3250 | 0.0003 | - |
271
+ | 9.7059 | 3300 | 0.0003 | - |
272
+ | 9.8529 | 3350 | 0.0001 | - |
273
+ | 10.0 | 3400 | 0.0001 | - |
274
+ | 10.1471 | 3450 | 0.0002 | - |
275
+ | 10.2941 | 3500 | 0.0001 | - |
276
+ | 10.4412 | 3550 | 0.0002 | - |
277
+ | 10.5882 | 3600 | 0.0001 | - |
278
+ | 10.7353 | 3650 | 0.0001 | - |
279
+ | 10.8824 | 3700 | 0.0002 | - |
280
+ | 11.0294 | 3750 | 0.0001 | - |
281
+ | 11.1765 | 3800 | 0.0001 | - |
282
+ | 11.3235 | 3850 | 0.0002 | - |
283
+ | 11.4706 | 3900 | 0.0003 | - |
284
+ | 11.6176 | 3950 | 0.0001 | - |
285
+ | 11.7647 | 4000 | 0.0002 | - |
286
+ | 11.9118 | 4050 | 0.0001 | - |
287
+ | 12.0588 | 4100 | 0.0001 | - |
288
+ | 12.2059 | 4150 | 0.0002 | - |
289
+ | 12.3529 | 4200 | 0.0001 | - |
290
+ | 12.5 | 4250 | 0.0001 | - |
291
+ | 12.6471 | 4300 | 0.0002 | - |
292
+ | 12.7941 | 4350 | 0.0003 | - |
293
+ | 12.9412 | 4400 | 0.0006 | - |
294
+ | 13.0882 | 4450 | 0.0018 | - |
295
+ | 13.2353 | 4500 | 0.0011 | - |
296
+ | 13.3824 | 4550 | 0.0008 | - |
297
+ | 13.5294 | 4600 | 0.0011 | - |
298
+ | 13.6765 | 4650 | 0.001 | - |
299
+ | 13.8235 | 4700 | 0.0003 | - |
300
+ | 13.9706 | 4750 | 0.0001 | - |
301
+ | 14.1176 | 4800 | 0.0001 | - |
302
+ | 14.2647 | 4850 | 0.0001 | - |
303
+ | 14.4118 | 4900 | 0.0001 | - |
304
+ | 14.5588 | 4950 | 0.0002 | - |
305
+ | 14.7059 | 5000 | 0.0002 | - |
306
+ | 14.8529 | 5050 | 0.0 | - |
307
+ | 15.0 | 5100 | 0.0 | - |
308
+ | 15.1471 | 5150 | 0.0 | - |
309
+ | 15.2941 | 5200 | 0.0 | - |
310
+ | 15.4412 | 5250 | 0.0 | - |
311
+ | 15.5882 | 5300 | 0.0 | - |
312
+ | 15.7353 | 5350 | 0.0 | - |
313
+ | 15.8824 | 5400 | 0.0 | - |
314
+ | 16.0294 | 5450 | 0.0 | - |
315
+ | 16.1765 | 5500 | 0.0 | - |
316
+ | 16.3235 | 5550 | 0.0 | - |
317
+ | 16.4706 | 5600 | 0.0 | - |
318
+ | 16.6176 | 5650 | 0.0 | - |
319
+ | 16.7647 | 5700 | 0.0 | - |
320
+ | 16.9118 | 5750 | 0.0 | - |
321
+ | 17.0588 | 5800 | 0.0 | - |
322
+ | 17.2059 | 5850 | 0.0 | - |
323
+ | 17.3529 | 5900 | 0.0 | - |
324
+ | 17.5 | 5950 | 0.0 | - |
325
+ | 17.6471 | 6000 | 0.0 | - |
326
+ | 17.7941 | 6050 | 0.0 | - |
327
+ | 17.9412 | 6100 | 0.0 | - |
328
+ | 18.0882 | 6150 | 0.0 | - |
329
+ | 18.2353 | 6200 | 0.0 | - |
330
+ | 18.3824 | 6250 | 0.0 | - |
331
+ | 18.5294 | 6300 | 0.0 | - |
332
+ | 18.6765 | 6350 | 0.0 | - |
333
+ | 18.8235 | 6400 | 0.0 | - |
334
+ | 18.9706 | 6450 | 0.0 | - |
335
+ | 19.1176 | 6500 | 0.0 | - |
336
+ | 19.2647 | 6550 | 0.0 | - |
337
+ | 19.4118 | 6600 | 0.0 | - |
338
+ | 19.5588 | 6650 | 0.0 | - |
339
+ | 19.7059 | 6700 | 0.0 | - |
340
+ | 19.8529 | 6750 | 0.0 | - |
341
+ | 20.0 | 6800 | 0.0 | - |
342
+ | 20.1471 | 6850 | 0.0 | - |
343
+ | 20.2941 | 6900 | 0.0 | - |
344
+ | 20.4412 | 6950 | 0.0 | - |
345
+ | 20.5882 | 7000 | 0.0 | - |
346
+ | 20.7353 | 7050 | 0.0 | - |
347
+ | 20.8824 | 7100 | 0.0 | - |
348
+ | 21.0294 | 7150 | 0.0 | - |
349
+ | 21.1765 | 7200 | 0.0 | - |
350
+ | 21.3235 | 7250 | 0.0 | - |
351
+ | 21.4706 | 7300 | 0.0 | - |
352
+ | 21.6176 | 7350 | 0.0 | - |
353
+ | 21.7647 | 7400 | 0.0 | - |
354
+ | 21.9118 | 7450 | 0.0 | - |
355
+ | 22.0588 | 7500 | 0.0 | - |
356
+ | 22.2059 | 7550 | 0.0 | - |
357
+ | 22.3529 | 7600 | 0.0 | - |
358
+ | 22.5 | 7650 | 0.0 | - |
359
+ | 22.6471 | 7700 | 0.0 | - |
360
+ | 22.7941 | 7750 | 0.0 | - |
361
+ | 22.9412 | 7800 | 0.0 | - |
362
+ | 23.0882 | 7850 | 0.0 | - |
363
+ | 23.2353 | 7900 | 0.0 | - |
364
+ | 23.3824 | 7950 | 0.0 | - |
365
+ | 23.5294 | 8000 | 0.0 | - |
366
+ | 23.6765 | 8050 | 0.0 | - |
367
+ | 23.8235 | 8100 | 0.0 | - |
368
+ | 23.9706 | 8150 | 0.0 | - |
369
+ | 24.1176 | 8200 | 0.0 | - |
370
+ | 24.2647 | 8250 | 0.0 | - |
371
+ | 24.4118 | 8300 | 0.0 | - |
372
+ | 24.5588 | 8350 | 0.0 | - |
373
+ | 24.7059 | 8400 | 0.0 | - |
374
+ | 24.8529 | 8450 | 0.0 | - |
375
+ | 25.0 | 8500 | 0.0 | - |
376
+ | 25.1471 | 8550 | 0.0 | - |
377
+ | 25.2941 | 8600 | 0.0 | - |
378
+ | 25.4412 | 8650 | 0.0 | - |
379
+ | 25.5882 | 8700 | 0.0 | - |
380
+ | 25.7353 | 8750 | 0.0 | - |
381
+ | 25.8824 | 8800 | 0.0 | - |
382
+ | 26.0294 | 8850 | 0.0 | - |
383
+ | 26.1765 | 8900 | 0.0 | - |
384
+ | 26.3235 | 8950 | 0.0 | - |
385
+ | 26.4706 | 9000 | 0.0 | - |
386
+ | 26.6176 | 9050 | 0.0 | - |
387
+ | 26.7647 | 9100 | 0.0 | - |
388
+ | 26.9118 | 9150 | 0.0 | - |
389
+ | 27.0588 | 9200 | 0.0 | - |
390
+ | 27.2059 | 9250 | 0.0 | - |
391
+ | 27.3529 | 9300 | 0.0 | - |
392
+ | 27.5 | 9350 | 0.0 | - |
393
+ | 27.6471 | 9400 | 0.0 | - |
394
+ | 27.7941 | 9450 | 0.0 | - |
395
+ | 27.9412 | 9500 | 0.0 | - |
396
+ | 28.0882 | 9550 | 0.0 | - |
397
+ | 28.2353 | 9600 | 0.0 | - |
398
+ | 28.3824 | 9650 | 0.0 | - |
399
+ | 28.5294 | 9700 | 0.0 | - |
400
+ | 28.6765 | 9750 | 0.0 | - |
401
+ | 28.8235 | 9800 | 0.0 | - |
402
+ | 28.9706 | 9850 | 0.0 | - |
403
+ | 29.1176 | 9900 | 0.0 | - |
404
+ | 29.2647 | 9950 | 0.0 | - |
405
+ | 29.4118 | 10000 | 0.0 | - |
406
+ | 29.5588 | 10050 | 0.0 | - |
407
+ | 29.7059 | 10100 | 0.0 | - |
408
+ | 29.8529 | 10150 | 0.0 | - |
409
+ | 30.0 | 10200 | 0.0 | - |
410
+
411
+ ### Framework Versions
412
+ - Python: 3.10.12
413
+ - SetFit: 1.1.0
414
+ - Sentence Transformers: 3.3.1
415
+ - Transformers: 4.44.2
416
+ - PyTorch: 2.2.0a0+81ea7a4
417
+ - Datasets: 3.2.0
418
+ - Tokenizers: 0.19.1
419
+
420
+ ## Citation
421
+
422
+ ### BibTeX
423
+ ```bibtex
424
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
425
+ doi = {10.48550/ARXIV.2209.11055},
426
+ url = {https://arxiv.org/abs/2209.11055},
427
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
428
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
429
+ title = {Efficient Few-Shot Learning Without Prompts},
430
+ publisher = {arXiv},
431
+ year = {2022},
432
+ copyright = {Creative Commons Attribution 4.0 International}
433
+ }
434
+ ```
435
+
436
+ <!--
437
+ ## Glossary
438
+
439
+ *Clearly define terms in order to be accessible across audiences.*
440
+ -->
441
+
442
+ <!--
443
+ ## Model Card Authors
444
+
445
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
446
+ -->
447
+
448
+ <!--
449
+ ## Model Card Contact
450
+
451
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
452
+ -->
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:36749ae9119baa9e068ed8b6fbe55c5f1560530f2da531d3f815121c29159086
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76f595d01d3ab68957f927cf89968f381741f25f8e4dfa91effe6b9203890030
3
+ size 167135
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