kasparas12
commited on
Commit
•
1d4388e
1
Parent(s):
3cedc04
Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +7 -0
- README.md +331 -0
- config.json +31 -0
- config_sentence_transformers.json +7 -0
- config_setfit.json +33 -0
- model_head.pkl +3 -0
- modules.json +20 -0
- pytorch_model.bin +3 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 384,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
README.md
ADDED
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ' '
|
12 |
+
- text: quantitative algorithmic hustle trading dot com
|
13 |
+
- text: cryptoart since early 2020 founder of ENCODE_graphics red_heart EARTH
|
14 |
+
- text: 'Chief Legal Officer krakenfx Not your lawyer Assumptions opinions prevarications
|
15 |
+
and predictions are mine not my employers '
|
16 |
+
- text: 'Chief of Staff at Remilia Corporation remiliacorp333 Warlord Commander at
|
17 |
+
YAYO Corporation YayoCorp THIS IS NOT A PROMISE OF EQUITY OR OWNERSHIP IN ANYTHING '
|
18 |
+
pipeline_tag: text-classification
|
19 |
+
inference: true
|
20 |
+
base_model: BAAI/bge-small-en-v1.5
|
21 |
+
model-index:
|
22 |
+
- name: SetFit with BAAI/bge-small-en-v1.5
|
23 |
+
results:
|
24 |
+
- task:
|
25 |
+
type: text-classification
|
26 |
+
name: Text Classification
|
27 |
+
dataset:
|
28 |
+
name: Unknown
|
29 |
+
type: unknown
|
30 |
+
split: test
|
31 |
+
metrics:
|
32 |
+
- type: accuracy
|
33 |
+
value: 0.4891640866873065
|
34 |
+
name: Accuracy
|
35 |
+
---
|
36 |
+
|
37 |
+
# SetFit with BAAI/bge-small-en-v1.5
|
38 |
+
|
39 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) 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.
|
40 |
+
|
41 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
42 |
+
|
43 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
44 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
45 |
+
|
46 |
+
## Model Details
|
47 |
+
|
48 |
+
### Model Description
|
49 |
+
- **Model Type:** SetFit
|
50 |
+
- **Sentence Transformer body:** [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5)
|
51 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
52 |
+
- **Maximum Sequence Length:** 512 tokens
|
53 |
+
- **Number of Classes:** 27 classes
|
54 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
55 |
+
<!-- - **Language:** Unknown -->
|
56 |
+
<!-- - **License:** Unknown -->
|
57 |
+
|
58 |
+
### Model Sources
|
59 |
+
|
60 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
61 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
62 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
63 |
+
|
64 |
+
### Model Labels
|
65 |
+
| Label | Examples |
|
66 |
+
|:---------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
67 |
+
| NFT_ARTIST | <ul><li>'Onchain music cooprecordsxyz invinmusic cooprecsmusic Los Angeles'</li><li>'Artist etc Chicago'</li><li>'Where NFTs meet DeFi on SecretNetwork Are you Legendary nfts gamefi defi SCRT LGND Secret Network'</li></ul> |
|
68 |
+
| UNDETERMINED | <ul><li>'100 readerfunded writer All works free to republish bootleg use or cp All works coauthored by Tim Foley Patreon Australia'</li><li>'Pro skater father husband videogame character CEO philanthropist public skatepark advocate Old AF and still skating San Diego world at large'</li><li>'Sandy and blue '</li></ul> |
|
69 |
+
| DEVELOPER | <ul><li>'BUIDL HODL CELR CelerNetwork BNB bnb48club BTC ETC ATOM No gods no masters only hashes Shadowy Coder trolling by day coding by night Metalhead Cosmos'</li><li>'crosspost to Farcaster Bluesky Twitter Lens Threads decentralized social in one feed iOS '</li><li>'VP of Engineering at avara space nerd my astrobin profile Opinions strictly my own '</li></ul> |
|
70 |
+
| EXECUTIVE | <ul><li>'Epic Games founder and CEO '</li><li>'CEO compoundfinance San Francisco USA'</li><li>'DeFi FounderUnited_States bornraised Bahai Los Angeles'</li></ul> |
|
71 |
+
| INFLUENCER | <ul><li>'That rug really tied the room together weekly news channel on hiatus '</li><li>'Conecto con personas de habla hispana con perfil propio dentro de bitcoin y comparto su valor preguntasbtc para respuestas en 24h lunaticoingetalbycom 2515 4D1C 6C36 C024'</li><li>'sols 学习新事物 不带偏见的去看币圈 macau'</li></ul> |
|
72 |
+
| BUSINESS_DEVELOPER | <ul><li>'Chief of Growth fuel_network Ex0xMantle Ex0xPolygon Tea connoisseur Dog Lover Web3 Degen Views are my own Metaverse'</li><li>'Experience Bitcoin like never before '</li><li>'Bitcoin Blockchain bitcoinmining Bitpay Founded the Original WomenInBitcoin etc Los Angeles '</li></ul> |
|
73 |
+
| TRADER | <ul><li>'your greater fool goblin town'</li><li>'Commander in chiefing Periodically 1 ranked trader on ByBit Zaza City'</li><li>'Ethereum Maximalist Synthetix Spartan '</li></ul> |
|
74 |
+
| ONCHAIN_ANALYST | <ul><li>'technical and onchain analyst crypto stock real estate investor global head of news beincrypto spreading alpha United States'</li><li>'Cofounder reflexivityres acq by defitechglobal Using velodata New York NY'</li><li>'Cofounder ensuser research y2z_ventures Full time onchain moron ethereum'</li></ul> |
|
75 |
+
| RESEARCHER | <ul><li>'Lets skip witty repartee discuss fundamental questions Views are mine not GMUs or Virginias Books Fairfax VA'</li><li>'research paradigm '</li><li>'Crypto Data Research 0x'</li></ul> |
|
76 |
+
| INVESTOR | <ul><li>'peer to peer electronic cash enthusiast light__nh hethey '</li><li>'GoldLover '</li><li>'I enjoy business innovation lifelong learning to ChangeTheWorld to help others Entrepreneur interim CxO investor adventurer thinker doer NO DMs Global citizen'</li></ul> |
|
77 |
+
| SECURITY_AUDITOR | <ul><li>'security researcher nascentsecurity EVM Enthusiast Gas Optimizoor Puzzle Cracker Fan of all things Static Analysis Fuzzing Symbolic Execution '</li><li>'think bad do good cofounder openpathsec los angeles'</li><li>'Head of GTM CyfrinAudits Ex Lead Dev Rel AlchemyPlatform Created cyfrinupdraft and AlchemyLearn Making web3 mainstream Ethereum'</li></ul> |
|
78 |
+
| EDUCATOR | <ul><li>'Professor of Practice at Harvard Teaches Ec 10 some tweets might be educational Also Senior Fellow PIIE Was Chair of President Obamas CEA Cambridge MA'</li><li>'Jarrête des carrières Je vulgarise et décortique à vos côtés les nouvelles tokenomics et les influvoleurs crypto de notre époque Bitcoin'</li><li>' Bretton Woods NH'</li></ul> |
|
79 |
+
| LAWYER | <ul><li>'Author of Digital Money Demystified DickinsonLaw AdvantageEvans AtTechIntersect Crypto IP Law As seen on Coindesk TV Yahoo Finance Bloomberg CNBC Nomad Team '</li><li>'UVa Vanderbilt Law Your guide to other worlds Crypto l Metaverse Web3 Not legal or financial advice I am A lawyerjust not YOUR lawyer USA'</li><li>'The Crypto Lawyer Юрист Rechtsanwältin محامية Advising Entrepreneurs Investors and Governments on Bitcoin Crypto since 2016 Contributor Forbes UAE Switzerland '</li></ul> |
|
80 |
+
| ADVISOR | <ul><li>'Director of Government Relations at BlockchainAssn Author of the Token Taxonomy Act Former WarrenDavidson and Board of Advisors JoinSeedstarter Washington DC'</li><li>'Calculated Degen 2x cancer survivor 5x rug pull survivor Paper hands diamond wrist Building WumboLabs Advisoooor arcade_xyz '</li><li>'Doggfather Analytics Founderorange_square OrdData '</li></ul> |
|
81 |
+
| COMMUNITY_MANAGER | <ul><li>'Contributor to the Optimism Collective OP'</li><li>'ecosystem growth indexcoop music NFT enjoyer wavWRLD_ not financial advice typos are my owm '</li><li>'Founder KryptoSeoul ericaplanet Ericaverse Organizer buidl_asia eth_seoul_ Seoul Chapter Lead She__Fi Alum Stanford Ewha Where is Erica'</li></ul> |
|
82 |
+
| MARKETER | <ul><li>'Positivity Pusher CoFounder PurpleHorizons Future Tech Marketing Strategist Trend Spotter Storyteller Once a DJ Always a DJ Miami FL'</li><li>'elissa emm Head of Marketing at spruceid building decentralized identity Seattle WA'</li><li>'Marketing Superfluid_HQ Safaryclub solhotgirlclub She__Fi Cohort 9 Words in banklesshq PFP miladymaker 104 NFA Views are my own Brooklyn NY'</li></ul> |
|
83 |
+
| ANGEL_INVESTOR | <ul><li>'Developer entrepreneur angel investor crypto enthusiast '</li><li>'larp LawliettesLab angel uvocapital '</li><li>'cofounder jokerace_io ecodao_ write on web3 angel thecowfund berlin'</li></ul> |
|
84 |
+
| VENTURE_CAPITALIST | <ul><li>'visionary at core playful at the surface just launched GetCohosts WalkinEvents prev fabric_vc nothingnyc London UK New York USA'</li><li>'Crypto web3 Partner ColliderVC Standing on the shoulders of giants World State'</li><li>'startup investor and builder founder w_conviction before GP greylockVC accelerating AI adoption tech podcastchains'</li></ul> |
|
85 |
+
| NFT_COLLECTOR | <ul><li>'FINE BITCOIN GOODS Get in THE BANTER Scarce City'</li><li>'Cofounder RKOTax omega based spicymargeth '</li><li>'Like a shadow following the light Time is actually another dimension Nikennftyeth Niken32lens bcard id 275 Multiverse of Madness'</li></ul> |
|
86 |
+
| BLOGGER | <ul><li>'Reporter at Bloomberg business covering crypto blockchain companies Formerly CoinDesk DM open Opinions are my own New York USA'</li><li>'viamirror '</li><li>'senior writer NFT lead BanklessHQ '</li></ul> |
|
87 |
+
| METAVERSE_ENTHUSIAST | <ul><li>'SMOL by Treasure_DAO Smolverse'</li><li>'Epic SciFi MMO strategy game from Pixelmatic ExordiumHQ Take command of a fleet of spaceships and fight for humanity NOW Sol System'</li><li>'Time to post tweets and save lives Creative Director PlayShadowWar Where dreams come true'</li></ul> |
|
88 |
+
| FINANCIAL_ANALYST | <ul><li>'Editor of FTAlphaville Norwegian despite the Harry Potteresque name Author of TRILLIONS Views mine bla bla Oslo Norway'</li><li>'markets macro business anchor of 10am ET and ETF IQ on bloombergtv haverfordedu columbiajourn alum ktkaos on InstaThreads Opinions mine Midtown East Manhattan'</li><li>'Curious on how behavioral fallacies challenge financial markets and cryptos Always learning new things getting to know new people and having a bit of fun London England'</li></ul> |
|
89 |
+
| DATA_SCIENTIST | <ul><li>' '</li><li>'Data Wizardry variantfund Chicago IL'</li><li>'NLP ML StatArb Math Bowdoincollege Team Doobro_CN Prev first intern Bybit_Official Plucking a feather from every goose but follow no one absolute New York NY'</li></ul> |
|
90 |
+
| NODE_OPERATOR | <ul><li>'Founder ClayStack_HQ Building Liquid Staking long before they were called LSDs Running validator nodes at Vibing ClayClanDAO Metaverse'</li><li>'Restake ETH Never Worry about EigenLayer Caps EigenLayer'</li><li>'HonigdachsPod cohost Making Bitcoin green today netposmon Find me on nostr npub1cear2n95zcyze86s5hry2a0pdgs7euhnc0p7ewcq2284pp845t5szt8rhr '</li></ul> |
|
91 |
+
| SHITCOINER | <ul><li>'Eternity belongs to those who live in the present I tweet once per week when Im pooping Results in occasional shitposting '</li><li>'Lets hold hands and be enemies enemieswithbenefitseth '</li><li>'16th Chair of the Central Bank of Retards When I see chaos forming on the timeline I rush in to shitpost adding fuel to the fire Hyperbolic Time Chamber'</li></ul> |
|
92 |
+
| MINER | <ul><li>' bitcoin beyonder economic futurist metagame winner rose'</li><li>'Steady lads deploying more hashrate Hashrate merchant luxortechnology btc Miami'</li><li>'SVP foundryservices I am a miner like my father before me previously greenidge_GREE Bitcoin '</li></ul> |
|
93 |
+
| DATA_ANALYST | <ul><li>'Director of Research at proof_xyz Building charts that make NFTs a bit easier to understand '</li><li>'Shadowy mediocre Analyst tangent_xyz '</li><li>'Lead Analyst CryptoSlate Previously Saidler Bitcoin London'</li></ul> |
|
94 |
+
|
95 |
+
## Evaluation
|
96 |
+
|
97 |
+
### Metrics
|
98 |
+
| Label | Accuracy |
|
99 |
+
|:--------|:---------|
|
100 |
+
| **all** | 0.4892 |
|
101 |
+
|
102 |
+
## Uses
|
103 |
+
|
104 |
+
### Direct Use for Inference
|
105 |
+
|
106 |
+
First install the SetFit library:
|
107 |
+
|
108 |
+
```bash
|
109 |
+
pip install setfit
|
110 |
+
```
|
111 |
+
|
112 |
+
Then you can load this model and run inference.
|
113 |
+
|
114 |
+
```python
|
115 |
+
from setfit import SetFitModel
|
116 |
+
|
117 |
+
# Download from the 🤗 Hub
|
118 |
+
model = SetFitModel.from_pretrained("kasparas12/crypto_individual_infer_model_setfit")
|
119 |
+
# Run inference
|
120 |
+
preds = model(" ")
|
121 |
+
```
|
122 |
+
|
123 |
+
<!--
|
124 |
+
### Downstream Use
|
125 |
+
|
126 |
+
*List how someone could finetune this model on their own dataset.*
|
127 |
+
-->
|
128 |
+
|
129 |
+
<!--
|
130 |
+
### Out-of-Scope Use
|
131 |
+
|
132 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
133 |
+
-->
|
134 |
+
|
135 |
+
<!--
|
136 |
+
## Bias, Risks and Limitations
|
137 |
+
|
138 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
139 |
+
-->
|
140 |
+
|
141 |
+
<!--
|
142 |
+
### Recommendations
|
143 |
+
|
144 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
145 |
+
-->
|
146 |
+
|
147 |
+
## Training Details
|
148 |
+
|
149 |
+
### Training Set Metrics
|
150 |
+
| Training set | Min | Median | Max |
|
151 |
+
|:-------------|:----|:--------|:----|
|
152 |
+
| Word count | 2 | 13.6494 | 65 |
|
153 |
+
|
154 |
+
| Label | Training Sample Count |
|
155 |
+
|:---------------------|:----------------------|
|
156 |
+
| DEVELOPER | 702 |
|
157 |
+
| DATA_SCIENTIST | 34 |
|
158 |
+
| DATA_ANALYST | 8 |
|
159 |
+
| NODE_OPERATOR | 18 |
|
160 |
+
| MINER | 22 |
|
161 |
+
| SECURITY_AUDITOR | 129 |
|
162 |
+
| INVESTOR | 212 |
|
163 |
+
| ANGEL_INVESTOR | 84 |
|
164 |
+
| VENTURE_CAPITALIST | 467 |
|
165 |
+
| TRADER | 168 |
|
166 |
+
| SHITCOINER | 34 |
|
167 |
+
| BUSINESS_DEVELOPER | 306 |
|
168 |
+
| BUSINESS_ANALYST | 0 |
|
169 |
+
| COMMUNITY_MANAGER | 122 |
|
170 |
+
| MARKETER | 70 |
|
171 |
+
| FINANCIAL_ANALYST | 32 |
|
172 |
+
| ADVISOR | 79 |
|
173 |
+
| RESEARCHER | 227 |
|
174 |
+
| ONCHAIN_ANALYST | 29 |
|
175 |
+
| EXECUTIVE | 393 |
|
176 |
+
| INFLUENCER | 510 |
|
177 |
+
| LAWYER | 47 |
|
178 |
+
| BLOGGER | 55 |
|
179 |
+
| NFT_COLLECTOR | 174 |
|
180 |
+
| NFT_ARTIST | 312 |
|
181 |
+
| EDUCATOR | 134 |
|
182 |
+
| METAVERSE_ENTHUSIAST | 57 |
|
183 |
+
| UNDETERMINED | 740 |
|
184 |
+
|
185 |
+
### Training Hyperparameters
|
186 |
+
- batch_size: (64, 64)
|
187 |
+
- num_epochs: (1, 1)
|
188 |
+
- max_steps: -1
|
189 |
+
- sampling_strategy: oversampling
|
190 |
+
- num_iterations: 20
|
191 |
+
- body_learning_rate: (2e-05, 1e-05)
|
192 |
+
- head_learning_rate: 0.01
|
193 |
+
- loss: CosineSimilarityLoss
|
194 |
+
- distance_metric: cosine_distance
|
195 |
+
- margin: 0.25
|
196 |
+
- end_to_end: False
|
197 |
+
- use_amp: False
|
198 |
+
- warmup_proportion: 0.1
|
199 |
+
- seed: 42
|
200 |
+
- eval_max_steps: -1
|
201 |
+
- load_best_model_at_end: False
|
202 |
+
|
203 |
+
### Training Results
|
204 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
205 |
+
|:------:|:----:|:-------------:|:---------------:|
|
206 |
+
| 0.0011 | 1 | 0.2537 | - |
|
207 |
+
| 0.0562 | 50 | 0.2412 | - |
|
208 |
+
| 0.1124 | 100 | 0.2242 | - |
|
209 |
+
| 0.1685 | 150 | 0.2066 | - |
|
210 |
+
| 0.2247 | 200 | 0.1811 | - |
|
211 |
+
| 0.2809 | 250 | 0.205 | - |
|
212 |
+
| 0.3371 | 300 | 0.1789 | - |
|
213 |
+
| 0.3933 | 350 | 0.1831 | - |
|
214 |
+
| 0.4494 | 400 | 0.1829 | - |
|
215 |
+
| 0.5056 | 450 | 0.1506 | - |
|
216 |
+
| 0.5618 | 500 | 0.1474 | - |
|
217 |
+
| 0.6180 | 550 | 0.0989 | - |
|
218 |
+
| 0.6742 | 600 | 0.1094 | - |
|
219 |
+
| 0.7303 | 650 | 0.1316 | - |
|
220 |
+
| 0.7865 | 700 | 0.1207 | - |
|
221 |
+
| 0.8427 | 750 | 0.1262 | - |
|
222 |
+
| 0.8989 | 800 | 0.1229 | - |
|
223 |
+
| 0.9551 | 850 | 0.0989 | - |
|
224 |
+
| 0.0003 | 1 | 0.2061 | - |
|
225 |
+
| 0.0155 | 50 | 0.2073 | - |
|
226 |
+
| 0.0310 | 100 | 0.1844 | - |
|
227 |
+
| 0.0465 | 150 | 0.1891 | - |
|
228 |
+
| 0.0619 | 200 | 0.1975 | - |
|
229 |
+
| 0.0774 | 250 | 0.1772 | - |
|
230 |
+
| 0.0929 | 300 | 0.2304 | - |
|
231 |
+
| 0.1084 | 350 | 0.2085 | - |
|
232 |
+
| 0.1239 | 400 | 0.1851 | - |
|
233 |
+
| 0.1394 | 450 | 0.1463 | - |
|
234 |
+
| 0.1548 | 500 | 0.1216 | - |
|
235 |
+
| 0.1703 | 550 | 0.1648 | - |
|
236 |
+
| 0.1858 | 600 | 0.1359 | - |
|
237 |
+
| 0.2013 | 650 | 0.163 | - |
|
238 |
+
| 0.2168 | 700 | 0.1563 | - |
|
239 |
+
| 0.2323 | 750 | 0.2 | - |
|
240 |
+
| 0.2478 | 800 | 0.1425 | - |
|
241 |
+
| 0.2632 | 850 | 0.1614 | - |
|
242 |
+
| 0.2787 | 900 | 0.1881 | - |
|
243 |
+
| 0.2942 | 950 | 0.133 | - |
|
244 |
+
| 0.3097 | 1000 | 0.1348 | - |
|
245 |
+
| 0.3252 | 1050 | 0.1256 | - |
|
246 |
+
| 0.3407 | 1100 | 0.1065 | - |
|
247 |
+
| 0.3561 | 1150 | 0.0932 | - |
|
248 |
+
| 0.3716 | 1200 | 0.122 | - |
|
249 |
+
| 0.3871 | 1250 | 0.0969 | - |
|
250 |
+
| 0.4026 | 1300 | 0.1386 | - |
|
251 |
+
| 0.4181 | 1350 | 0.1116 | - |
|
252 |
+
| 0.4336 | 1400 | 0.0866 | - |
|
253 |
+
| 0.4491 | 1450 | 0.084 | - |
|
254 |
+
| 0.4645 | 1500 | 0.1073 | - |
|
255 |
+
| 0.4800 | 1550 | 0.1065 | - |
|
256 |
+
| 0.4955 | 1600 | 0.1063 | - |
|
257 |
+
| 0.5110 | 1650 | 0.1235 | - |
|
258 |
+
| 0.5265 | 1700 | 0.0918 | - |
|
259 |
+
| 0.5420 | 1750 | 0.078 | - |
|
260 |
+
| 0.5574 | 1800 | 0.1358 | - |
|
261 |
+
| 0.5729 | 1850 | 0.0664 | - |
|
262 |
+
| 0.5884 | 1900 | 0.1123 | - |
|
263 |
+
| 0.6039 | 1950 | 0.0996 | - |
|
264 |
+
| 0.6194 | 2000 | 0.0471 | - |
|
265 |
+
| 0.6349 | 2050 | 0.1068 | - |
|
266 |
+
| 0.6504 | 2100 | 0.0933 | - |
|
267 |
+
| 0.6658 | 2150 | 0.0836 | - |
|
268 |
+
| 0.6813 | 2200 | 0.0858 | - |
|
269 |
+
| 0.6968 | 2250 | 0.0421 | - |
|
270 |
+
| 0.7123 | 2300 | 0.08 | - |
|
271 |
+
| 0.7278 | 2350 | 0.0902 | - |
|
272 |
+
| 0.7433 | 2400 | 0.0949 | - |
|
273 |
+
| 0.7587 | 2450 | 0.116 | - |
|
274 |
+
| 0.7742 | 2500 | 0.0733 | - |
|
275 |
+
| 0.7897 | 2550 | 0.101 | - |
|
276 |
+
| 0.8052 | 2600 | 0.0709 | - |
|
277 |
+
| 0.8207 | 2650 | 0.079 | - |
|
278 |
+
| 0.8362 | 2700 | 0.0706 | - |
|
279 |
+
| 0.8517 | 2750 | 0.0338 | - |
|
280 |
+
| 0.8671 | 2800 | 0.0812 | - |
|
281 |
+
| 0.8826 | 2850 | 0.063 | - |
|
282 |
+
| 0.8981 | 2900 | 0.075 | - |
|
283 |
+
| 0.9136 | 2950 | 0.081 | - |
|
284 |
+
| 0.9291 | 3000 | 0.1264 | - |
|
285 |
+
| 0.9446 | 3050 | 0.0766 | - |
|
286 |
+
| 0.9600 | 3100 | 0.0873 | - |
|
287 |
+
| 0.9755 | 3150 | 0.0512 | - |
|
288 |
+
| 0.9910 | 3200 | 0.0816 | - |
|
289 |
+
|
290 |
+
### Framework Versions
|
291 |
+
- Python: 3.9.16
|
292 |
+
- SetFit: 1.0.3
|
293 |
+
- Sentence Transformers: 2.2.2
|
294 |
+
- Transformers: 4.21.3
|
295 |
+
- PyTorch: 1.12.1+cu116
|
296 |
+
- Datasets: 2.4.0
|
297 |
+
- Tokenizers: 0.12.1
|
298 |
+
|
299 |
+
## Citation
|
300 |
+
|
301 |
+
### BibTeX
|
302 |
+
```bibtex
|
303 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
304 |
+
doi = {10.48550/ARXIV.2209.11055},
|
305 |
+
url = {https://arxiv.org/abs/2209.11055},
|
306 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
307 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
308 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
309 |
+
publisher = {arXiv},
|
310 |
+
year = {2022},
|
311 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
312 |
+
}
|
313 |
+
```
|
314 |
+
|
315 |
+
<!--
|
316 |
+
## Glossary
|
317 |
+
|
318 |
+
*Clearly define terms in order to be accessible across audiences.*
|
319 |
+
-->
|
320 |
+
|
321 |
+
<!--
|
322 |
+
## Model Card Authors
|
323 |
+
|
324 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
325 |
+
-->
|
326 |
+
|
327 |
+
<!--
|
328 |
+
## Model Card Contact
|
329 |
+
|
330 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
331 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/root/.cache/torch/sentence_transformers/BAAI_bge-small-en-v1.5/",
|
3 |
+
"architectures": [
|
4 |
+
"BertModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "bert",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.21.3",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 30522
|
31 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.2.2",
|
4 |
+
"transformers": "4.28.1",
|
5 |
+
"pytorch": "1.13.0+cu117"
|
6 |
+
}
|
7 |
+
}
|
config_setfit.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"normalize_embeddings": false,
|
3 |
+
"labels": [
|
4 |
+
"DEVELOPER",
|
5 |
+
"DATA_SCIENTIST",
|
6 |
+
"DATA_ANALYST",
|
7 |
+
"NODE_OPERATOR",
|
8 |
+
"MINER",
|
9 |
+
"SECURITY_AUDITOR",
|
10 |
+
"INVESTOR",
|
11 |
+
"ANGEL_INVESTOR",
|
12 |
+
"VENTURE_CAPITALIST",
|
13 |
+
"TRADER",
|
14 |
+
"SHITCOINER",
|
15 |
+
"BUSINESS_DEVELOPER",
|
16 |
+
"BUSINESS_ANALYST",
|
17 |
+
"COMMUNITY_MANAGER",
|
18 |
+
"MARKETER",
|
19 |
+
"FINANCIAL_ANALYST",
|
20 |
+
"ADVISOR",
|
21 |
+
"RESEARCHER",
|
22 |
+
"ONCHAIN_ANALYST",
|
23 |
+
"EXECUTIVE",
|
24 |
+
"INFLUENCER",
|
25 |
+
"LAWYER",
|
26 |
+
"BLOGGER",
|
27 |
+
"NFT_COLLECTOR",
|
28 |
+
"NFT_ARTIST",
|
29 |
+
"EDUCATOR",
|
30 |
+
"METAVERSE_ENTHUSIAST",
|
31 |
+
"UNDETERMINED"
|
32 |
+
]
|
33 |
+
}
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:794cb1d866371ed0b4dfa5a4b174e212323a65ad301166a9a114be9bf3dd1504
|
3 |
+
size 84207
|
modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb8b1b09d9c7675577fb253deba9251209ca8f306e123e595c6fce1a57a6231e
|
3 |
+
size 133509425
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": true
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 512,
|
8 |
+
"name_or_path": "/root/.cache/torch/sentence_transformers/BAAI_bge-small-en-v1.5/",
|
9 |
+
"never_split": null,
|
10 |
+
"pad_token": "[PAD]",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"special_tokens_map_file": "/root/.cache/torch/sentence_transformers/BAAI_bge-small-en-v1.5/special_tokens_map.json",
|
13 |
+
"strip_accents": null,
|
14 |
+
"tokenize_chinese_chars": true,
|
15 |
+
"tokenizer_class": "BertTokenizer",
|
16 |
+
"unk_token": "[UNK]"
|
17 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|