Mantas commited on
Commit
e6971db
1 Parent(s): 751f44a

Add SetFit model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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
+ }
README.md ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: setfit
3
+ tags:
4
+ - setfit
5
+ - sentence-transformers
6
+ - text-classification
7
+ - generated_from_setfit_trainer
8
+ metrics:
9
+ - accuracy
10
+ widget:
11
+ - text: tron miner contract game . yield diamond 50 times earnings '
12
+ - text: infinite yield revolutionizing yield farming experience optimizing platform
13
+ sustainability , capital efficiency safety . recognize def rapid shifting ecosystem
14
+ . dedicated staying cutting edge creating strategies incentive , utilize compose
15
+ latest secure tech . '
16
+ - text: 'hmmcoin community driven def project . hmmcoin open source , decentralized
17
+ , peer peer digital currency uses innovative coin distribution model ( reward
18
+ level schedule ) . coin distribution model : reward level schedule contains 77
19
+ levels . starts level 1 , request equal 1 pmc . one million coins requested level
20
+ . million withdrawn coins amount received coins next level decrease 7 % . every
21
+ level users need perform actions advance next level . level 1 : 1 pmc actions
22
+ required : 1.000.000 actions level 2 : 0.93 pmc actions required : 1.075.268 actions
23
+ etc . users get coin free pay transaction fee . '''
24
+ - text: ' pump dump cryptocurrency trading game lets make real money buying selling
25
+ coins virtual trading market . '''
26
+ - text: platform daily dividend investments , long term contract 3 tier referral commissions
27
+ . running tron blockchain verified smart contract . dividends starting 2.5 % unlimited
28
+ booster contracts 5.5 % shorter periods . '
29
+ pipeline_tag: text-classification
30
+ inference: true
31
+ base_model: sentence-transformers/paraphrase-mpnet-base-v2
32
+ model-index:
33
+ - name: SetFit with sentence-transformers/paraphrase-mpnet-base-v2
34
+ results:
35
+ - task:
36
+ type: text-classification
37
+ name: Text Classification
38
+ dataset:
39
+ name: Unknown
40
+ type: unknown
41
+ split: test
42
+ metrics:
43
+ - type: accuracy
44
+ value: 0.5666990448437753
45
+ name: Accuracy
46
+ ---
47
+
48
+ # SetFit with sentence-transformers/paraphrase-mpnet-base-v2
49
+
50
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2) 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.
51
+
52
+ The model has been trained using an efficient few-shot learning technique that involves:
53
+
54
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
55
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
56
+
57
+ ## Model Details
58
+
59
+ ### Model Description
60
+ - **Model Type:** SetFit
61
+ - **Sentence Transformer body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
62
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
63
+ - **Maximum Sequence Length:** 512 tokens
64
+ - **Number of Classes:** 9 classes
65
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
66
+ <!-- - **Language:** Unknown -->
67
+ <!-- - **License:** Unknown -->
68
+
69
+ ### Model Sources
70
+
71
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
72
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
73
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
74
+
75
+ ### Model Labels
76
+ | Label | Examples |
77
+ |:-------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
78
+ | games | <ul><li>"crypto football strategic live time free play play earn football ( soccer ) game . players play community members rank high order get rewarded $ ball tokens native token ( $ ball ) used house advertising system . ads displayed game accepting payments $ ball token users able buy formations teams app game specific amount $ ball . 50 80 % tokens collected players buys sent burn address . also , $ ball token going native cryptocurrency upcoming nft marketplace '"</li><li>"`` mint fee 1st 10000th nft 1 sol . mint fee 10001st 20000th nft 20000 fleet tokens . mint fee 20001st 30000th nft 30000 fleet tokens . mint fee 90001st 100000th nft 100000 fleet tokens , upper limit mint forever . 80 % chance mint sheep , 20 % chance mint wolf . wolves alpha property ranging 4 8 , value alpha equal chance mint . sheep stated , 10000 fleet tokens generated every day , 70 % claimed . stated wolves share 30 % total daily output fleet tokens according respective alpha values . example , total 8 sheep 2 wolves stated , total 80000 fleet tokens produced every day . sheep get 7000 fleet tokens . 2 wolves share 24000 fleet tokens . one wolf 's alpha 4 , wolf 's alpha 8 , former get 24000x4 ( 4+8 ) 8000 fleet tokens , latter gets 16000 fleet tokens . claim long time , sheep get fleet tokens last three days claiming , wolf get fleet tokens last day , wolf needs claim every day get maximum benefit . acquired fleet tokens traded dex , minted nft traded nft market . ''"</li><li>" hold.earth new app ethereal blockchain . whereby players buy plots virtual earth , creating designs colouring plots plot owners share fee income generated game . platform development shape games developers extend functionality layering game extensions hold earth app framework . hold.earth simplifies process buying using cryptocurrency , entry level users , simplifying process wallets , crypto purchases illustrating key elements blockchain technology . '"</li></ul> |
79
+ | exchanges | <ul><li>"klayswap complete chain instant swap protocol operates chain liquidity pool , liquidity guaranteed automated market making ( amp ) mechanisms . chain swap service allows anyone play act type token cryptocurrency become liquidity provider earn income transaction fee commissions . klayswap , ethereal based tokens ( eth , orc , dai , wbc ) transferred clayton ecosystem via orbit bridge , transparent ibc bridge , built orbit chain , offer yield farming asset pairings previously unconnected decentralized world '"</li><li>"excalibur exchange fandom based dex , built focus sustainability , capital efficiency supporting new projects . sustainability always issue def space , capital follows incentives , incentives need properly configured encourage longevity capital big focus excalibur , via dynamic incentivization long term taking yield generating governance token separated liquidity rewards , amongst others . excalibur also features highly variable swap fees variety mechanisms support new projects fandom . '"</li><li>"`` honeyswap decentralized exchange built dai chain , enables users experience fast secure transactions incredibly low fees . multiple tokens available swap add liquidity . 1hive honeyswap integrated , 0.05 % collected fees exchange used buy honey token deposit common pool , exchange 's volume increases , buy pressure honey increases well responsibility honey holders allocate tokens productive manner dao 's governance . ''"</li></ul> |
80
+ | social | <ul><li>"allows passively earn interest lending assets help liquidity . fast easy way earn money making secure safe investments active . novice used online decentralized trading , , put sale app website , ensuring monthly revenue allowing users purchase token well . novice escaping entire ecology users may participate trading digitally anywhere globe cheap transaction cost almost free , allowing liberating , strategic , low risk , frictionless experience fully decentralized manner using novice . community oriented money rewards holders distributing others . part decision making process , community members also included give sense ownership assets . burn fees , token burning involves permanently removing digital asset circulation reducing supply . '"</li><li>"violet garden better way connect earn . pass go collect 50 vio , every user , every day . unique identity todays social media plagued fake news , online harassment bots . fighting verifying one person , one account . get paid creating content bidding collect 10 % commission bid content creator previous bidder . instant payment utilising power eos , trades , transfers awards instant . voice voice , unfortunately , shut original social media platform abandoned community created , violet garden build stronger one living eos manner . '"</li><li>" would like introduce matic.tube , vod streaming service based polygon blockchain ! currently two movies available see potential project . '"</li></ul> |
81
+ | defi | <ul><li>" unlock nft potential intrinsic value nts finally unlocked used liquidity def operations permissionless strategy nts , rules , choose time rate loans : rules 100 % decentralized def innovation bridge nft world powerful def ecosystem , new era blockchain innovation permissionless anybody list nts without permission . anybody lend ada without ky . '"</li><li>"provide liquidity safe place . farm earn $ wave token . reviewed rugdoc , ky soon plain audit . able stake stablecoins avoid permanent loss stake lp tokens yield farm pools . community plays central role involved project . also referral program . refer earn 2 % purchased token . wave governance token future l2 . '"</li><li>"goldencake def app created ros.finance allow earn cake free ros holder '"</li></ul> |
82
+ | marketplaces | <ul><li>"seem.ninja offers variety services seem . example allows easy boarding seem card payments smart referral system users set prices . soon seem.ninja also allow everyone quickly purchase seem . '"</li><li>"metamarket aggressive finance smart chain ( bsc ) based nft marketplace . powered metareserve team group experienced knowledgeable blockchain developers , nft fanatics , fintech professionals metamarket aims collaborating brands celebrities create virtual real life utilities . designed offer plethora features users , metamarket nft marketplace , launched , reward potential buyers purchasing exclusive nts bsc based marketplace . first , holders shared private metamarket nft collections receive $ power governance tokens , offering chance vote significant events take place metareserve . additionally , receive rewards airdropped $ power periodically . metamarket users get whitelisted nft collections launch aggressive nft marketplace . '"</li><li>"burden powerful platform creators publish , sell , grow business around content web3 . '"</li></ul> |
83
+ | collectibles | <ul><li>"meta elephant nft series nts based mex mascot 4 grade rarities ( n r sr ssr ) total number 10,000. owners stake nts mine assets participate high quality games chains mex work future . first edition meta elephant nft themed space expedition includes cruise maintenance workers , cruise special forces , cruise navigators , cruise pilots . released certain marketplace form mystery box , chance get meta elephant nft different rarities ! '"</li><li>"`` replace crypto addresses name one time registration fee , renewal fees send crypto , need know recipient 's nft domain . send crypto one domain . worrying sending wrong address . nft domain leased . buy domain one time registration fee never worry renewal . domains stored wallet , like cryptocurrency . control . ''"</li><li>"this series 999 explores playful relationship color , shape , line harmony . artwork combination 9 zones ( 3 rows 3 ) . displayed within 9 zones 1 59 possible smaller pieces , put together makes one large artwork . zones programmed way see duplicated pieces within zones , thus making artwork unique one kind . utility offered 9 zone holders . info come . created toronto artist dan1el . '"</li></ul> |
84
+ | gambling | <ul><li>"bulls cows ( also known cows bulls pigs bulls bulls lots ) old code breaking mind paper pencil game two players , predating commercially marketed board game mastermind . game may date back century uses numbers words . played two opponents . '"</li><li>"casino , leading crypto casino thunder core network , 3,000 games world renowned game providers years experiences fully certified . also offers sports book even pp poker users create tournaments play friends . casino casino operated cybergalaxy b.v. , company registered established laws cacao . cybergalaxy b.v. licensed regulated antillephone n.v '"</li><li>"the highest dividends gambling app . need freeze , play get div ! 60 % house edge go dividends pool . currently , run test mode . 7 games available , auto bets limited max bet . find bug , please contact us telegram . start enjoy high div ! '"</li></ul> |
85
+ | other | <ul><li>"seed multichain , community participation token , encouraging participation creation distribution . sesameseed distributes seed daily reward participation delegated governance across blockchain represents . '"</li><li>"`` stackerdaos one stop shop bitcoin days . stackerdao protocol smart contracts operating system modular comparable days stacks . stackerdao , users form anything ranging completely decentralized days automatic proposal functionality subcats multisigs . stackerdaos provides code platform users launch manage dao based stackerdao operating system . stackerdaos , communities manage dao 's treasury , submit proposals , vote . stackerdaos also provides legal tech tools days avail legal benefits meet compliance obligations , legal entity formation , compliance forms filings , tax assistance. ``"</li><li>"name web3 marketing platform allowing users earn tokens , nts , chain chain rewards completing quests . name , aim onboard empower next billion users web3 providing everyone opportunities . name , see today , one step massive pursuit ambitions personal data ownership , data monetization opportunities , web3 accessibility , comparable , chain agnostic , decentralized social identity . since launch , offered 70,000+ verified users opportunity use data earn 220,000+ rewards quests name alone . users , new incredible quests name coolest companies projects . complete quests claim rewards . companies projects , name opportunity run campaigns accurate predictive results . run campaigns based chain chain verified actions . reward users directly data participation . name currently works going multi chain alongside introducing singular , cross chain , comparable web3 identity many exciting features users companies . '"</li></ul> |
86
+ | high-risk | <ul><li>"cross live lottery crc20 token rewards holders automatic mmf reward payments several times day . launched stealthily governed cream community , make win. ! main goal become largest reliable reward jackpot token cross network . '"</li><li>"get 50 % investments daily . '"</li><li>"`` proof easy invest forever ( poet ) world 's first three dimensional crypto currency generates eth holding tokens ! finally , working three level referral system drain contract ! 5 % easyinvestforever dev fees fees token holders multi level sticky referrals 10 % ( rugged ) buys invests . sell fee reduces time 48 % 8 % ( discourages early dumping ) function send external eth donating div ( directly sends eth token holders ) ability enable apps accept if tokens . zero fees transfers , enabling 3rd party trading . ''"</li></ul> |
87
+
88
+ ## Evaluation
89
+
90
+ ### Metrics
91
+ | Label | Accuracy |
92
+ |:--------|:---------|
93
+ | **all** | 0.5667 |
94
+
95
+ ## Uses
96
+
97
+ ### Direct Use for Inference
98
+
99
+ First install the SetFit library:
100
+
101
+ ```bash
102
+ pip install setfit
103
+ ```
104
+
105
+ Then you can load this model and run inference.
106
+
107
+ ```python
108
+ from setfit import SetFitModel
109
+
110
+ # Download from the 🤗 Hub
111
+ model = SetFitModel.from_pretrained("dappradar/setfit-model")
112
+ # Run inference
113
+ preds = model("tron miner contract game . yield diamond 50 times earnings '")
114
+ ```
115
+
116
+ <!--
117
+ ### Downstream Use
118
+
119
+ *List how someone could finetune this model on their own dataset.*
120
+ -->
121
+
122
+ <!--
123
+ ### Out-of-Scope Use
124
+
125
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
126
+ -->
127
+
128
+ <!--
129
+ ## Bias, Risks and Limitations
130
+
131
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
132
+ -->
133
+
134
+ <!--
135
+ ### Recommendations
136
+
137
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
138
+ -->
139
+
140
+ ## Training Details
141
+
142
+ ### Training Set Metrics
143
+ | Training set | Min | Median | Max |
144
+ |:-------------|:----|:--------|:----|
145
+ | Word count | 7 | 65.7639 | 210 |
146
+
147
+ | Label | Training Sample Count |
148
+ |:-------------|:----------------------|
149
+ | collectibles | 8 |
150
+ | defi | 8 |
151
+ | exchanges | 8 |
152
+ | gambling | 8 |
153
+ | games | 8 |
154
+ | high-risk | 8 |
155
+ | marketplaces | 8 |
156
+ | other | 8 |
157
+ | social | 8 |
158
+
159
+ ### Training Hyperparameters
160
+ - batch_size: (8, 8)
161
+ - num_epochs: (1, 1)
162
+ - max_steps: -1
163
+ - sampling_strategy: oversampling
164
+ - num_iterations: 10
165
+ - body_learning_rate: (2e-05, 1e-05)
166
+ - head_learning_rate: 0.01
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: True
176
+
177
+ ### Training Results
178
+ | Epoch | Step | Training Loss | Validation Loss |
179
+ |:-------:|:-------:|:-------------:|:---------------:|
180
+ | 0.0056 | 1 | 0.1857 | - |
181
+ | 0.2778 | 50 | 0.1235 | - |
182
+ | 0.5556 | 100 | 0.0434 | - |
183
+ | 0.8333 | 150 | 0.0148 | - |
184
+ | **1.0** | **180** | **-** | **0.2355** |
185
+
186
+ * The bold row denotes the saved checkpoint.
187
+ ### Framework Versions
188
+ - Python: 3.10.12
189
+ - SetFit: 1.0.1
190
+ - Sentence Transformers: 2.2.2
191
+ - Transformers: 4.35.2
192
+ - PyTorch: 2.1.0+cu121
193
+ - Datasets: 2.15.0
194
+ - Tokenizers: 0.15.0
195
+
196
+ ## Citation
197
+
198
+ ### BibTeX
199
+ ```bibtex
200
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
201
+ doi = {10.48550/ARXIV.2209.11055},
202
+ url = {https://arxiv.org/abs/2209.11055},
203
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
204
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
205
+ title = {Efficient Few-Shot Learning Without Prompts},
206
+ publisher = {arXiv},
207
+ year = {2022},
208
+ copyright = {Creative Commons Attribution 4.0 International}
209
+ }
210
+ ```
211
+
212
+ <!--
213
+ ## Glossary
214
+
215
+ *Clearly define terms in order to be accessible across audiences.*
216
+ -->
217
+
218
+ <!--
219
+ ## Model Card Authors
220
+
221
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
222
+ -->
223
+
224
+ <!--
225
+ ## Model Card Contact
226
+
227
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
228
+ -->
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/step_180/",
3
+ "architectures": [
4
+ "MPNetModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 514,
16
+ "model_type": "mpnet",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "relative_attention_num_buckets": 32,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "vocab_size": 30527
24
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "2.0.0",
4
+ "transformers": "4.7.0",
5
+ "pytorch": "1.9.0+cu102"
6
+ }
7
+ }
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:424eae6fa27563f9dcc75b4d01e9f0c6ddfb0a701b14a683212508ce55009176
3
+ size 437967672
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a775f40df49a93648e20bee14b57a9bdca499c72756942d97962ec0a5ff72d5c
3
+ size 56623
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": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
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": "</s>",
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": "<s>",
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": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "104": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "30526": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": true,
49
+ "eos_token": "</s>",
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": "</s>",
59
+ "stride": 0,
60
+ "strip_accents": null,
61
+ "tokenize_chinese_chars": true,
62
+ "tokenizer_class": "MPNetTokenizer",
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