CoolFace
Modelpublic

kasparas12/crypto_individual_infer_model_setfit

sourceHugging Faceupdated 3y agoView on Hugging Face
3likes8downloads
Model Card

SetFit with BAAI/bge-small-en-v1.5

This is a SetFit model that can be used for Text Classification. This SetFit model uses BAAI/bge-small-en-v1.5 as the Sentence Transformer embedding model. A LogisticRegression instance is used for classification.

The model has been trained using an efficient few-shot learning technique that involves:

  1. 1.Fine-tuning a Sentence Transformer with contrastive learning.
  2. 2.Training a classification head with features from the fine-tuned Sentence Transformer.

Model Details

Model Description

  • Model Type: SetFit
  • Sentence Transformer body: BAAI/bge-small-en-v1.5
  • Classification head: a LogisticRegression instance
  • Maximum Sequence Length: 512 tokens
  • Number of Classes: 28 classes <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Model Labels

LabelExamples
UNDETERMINED<ul><li>'Professor Emeritus of Cognitive Sciences at the University of California Irvine Research Visual perception evolutionary psychology consciousness AI Irvine CA'</li><li>'Emeritus Professor of War Studies Kings College London just published Command The Politics of Military Operations from Korea to Ukraine UK Penguin US OUP '</li><li>'XML apologist Erlang enthusiast Currently JVMs Performance stuff at Netflix Previously JVMs performative stuff at Twitter Hehim San Francisco California'</li></ul>
NFT_ARTIST<ul><li>'Artist Web3 Marketing Advisor Educator Making history everyday Trapped in the blockchain'</li><li>'OwnYourAssets TokenGatedFile Access For CrossPlatformInteroperableGaming C5isComing CYBΞRVΞRSΞ'</li><li>'Pronounced Akossya artist Zurich'</li></ul>
ONCHAIN_ANALYST<ul><li>'I write about onchain stuff fixer AleoHQ prev rabbitholegg and plenty of DAOs youve heard of '</li><li>'cofounder 3pochLabs onchain'</li><li>'onchain data farcer building mosaicdrops media CryptoSapiens OntologyNetwork OrangeProtocol banklessDAO s0 _buildspace s4 Mosaicverse'</li></ul>
BUSINESS_DEVELOPER<ul><li>'Prev opensea TheBlock__ amazon '</li><li>'Building HxroNetwork variable'</li><li>'Building something old CoFounder alongsidefi '</li></ul>
NFT_COLLECTOR<ul><li>'Building glitchmarfa Collecting brightopps prev brtmoments '</li><li>'My soul is a cat My two children rpcnftclub ChainFeedsxyz Bangkok'</li><li>'prev OpenSea NYC'</li></ul>
DEVELOPER<ul><li>'Architect DoraHacks DoraFactory The everlasting hacker movement Menlo Park'</li><li>'Engineer at Inria scikitlearn developer supported by Python and Machine Learning Between Vannes Paris France'</li><li>'Working paritytech on substrate Views are my own I working mostly with rustlang nowadays '</li></ul>
TRADER<ul><li>'Applied game theorist blog occasionally at formerly not a very serious person Scott Alexander '</li><li>'Crypto Trading Bitcoin class of 2013 insilicotrading COO Banana Cabana'</li><li>'token maxi '</li></ul>
COMMUNITY_MANAGER<ul><li>'chutzpah controlled chaos connoisseur arbitrum chinshilling chinchillin thoughts are my own Rio de Janeiro Brazil'</li><li>'commonsstack CoFounder tecmns Founding Steward KERNEL0x KB5 trustedseed tamaralens '</li><li>'Community Admin at The Arbitrum Foundation Helping to scale Ethereum at Arbitrum Feed KOL Binance WEB3'</li></ul>
SECURITY_AUDITOR<ul><li>'founder adjacentfi cofounder former auditor osec_io MEV on solana '</li><li>'Security Researcher Googles Threat Analysis Group 0days all day Love all things bytes assembly and glitter sheher '</li><li>'採用マーケ得意仮想通貨エンジニア4社1社ホワイトハッカーとして月110万達成現在歯科衛生士の妻と事業開始 実績年商1億超えのマーケ担当 開始5ヶ月で6名見学開始2年で累計DH11名見学6名採用 ハイライト要チェック ブログに今までの有益投稿をまとめました 岩手長野福岡ドバイ沖縄'</li></ul>
VENTURE_CAPITALIST<ul><li>'Liquid Crypto Brevan Howard Prev dragonflyxyz consensys Arena'</li><li>'maverick LA'</li><li>'Founder of SavvyBooks Degen dcvcapital Summoner ElasticDAO metafam Judge code4rena Contributor CantoPublic Nomadic'</li></ul>
INVESTOR<ul><li>'Crypto Investor at Tephra Digital Ex Head of Research Grayscale DCGco FMR Head of Digital Asset Strategy Fundstrat New York NY'</li><li>'Capital Allocators New York NY'</li><li>'Director of Research Autonomous Technology Robotics ARKinvest Automation robotics energy storage alternative energy and space Disclosure New York NY'</li></ul>
ANGEL_INVESTOR<ul><li>'larp LawliettesLab angel uvocapital '</li><li>'Initiator inverternetwork I Angel Investor I ex Gitcoin '</li><li>'VP Head of BD AleoHQ Mainnet Launch Soon Strategic Advisor VoxiesNFT Angel Investor rcsdao ExOP ExCoinbase Professionally CuriousOpinions My Own Manhattan NY'</li></ul>
EXECUTIVE<ul><li>'Chief Strategy Marketing Officer of Liquidity Group Im also the cofounder of Hudson Rock RockHudsonRock a cybercrime intelligence company TelAviv'</li><li>'CEO Polymarket Ethereum since 14 I love music and collect art new york'</li><li>'CEO StartaleHQ Founder AstarNetwork All things for Web3 for billions Japanese Sota_Web3 Earth'</li></ul>
MARKETER<ul><li>'Director General en Kayum comparador de seguros insurance PPC tech crypto f1 Mexico City Mexico'</li><li>'Insights about Web3 data economy and AI by oceanprotocol Currently in Marcom oceanprotocol ocean Ocean '</li><li>'f加速 ethereum China internet culture history podcast growth marketing realmasknetwork prev newsbreakapp smartnews Zuzalu human Palo Alto USA'</li></ul>
DATA_SCIENTIST<ul><li>'data uniswap prev theTIEIO go bears New York NY'</li><li>'engineering data science a16zcrypto '</li><li>'LangChainAI previously robusthq kensho MLOps Generative AI sports analytics '</li></ul>
EDUCATOR<ul><li>' London'</li><li>'MSc Immunology student Past cofounder prof director USF Center Applied Data Ethics math PhD math_rachelmastodonsocial sheher Brisbane Australia'</li><li>'Here to build shared intelligence listen learn share via community tokenengineering KERNEL0x OptimismGov publicgoods education valuesmatter CyberDyn0x tauranga teikaamaui'</li></ul>
INFLUENCER<ul><li>'the destroyer Titan'</li><li>'Healthy life style healthier bags Cape Town South Africa'</li><li>'Beauty Brains Bitcoin Beauty in an anonymous world'</li></ul>
ADVISOR<ul><li>'A decentralized onchain governance consultant Health Wealth RunItUp The only Alpha discord youll ever need to joingametheoryweb3 squanchland Profit Land'</li><li>'Design director Startup Advisor Midjourney Sharing learnings and prompts In my free time working on offscreenai Vancouver Canada'</li><li>'I help fix and grow crypto portfolios through premium research and strategies 1000 members Founder cshift_io Podcast benandbergs Join 10k Crypto Investors '</li></ul>
BLOGGER<ul><li>'NOW Editor Forbes Writer Stripe HarvardBiz Back on Twitter after ignoring it for a decade I will try my best London'</li><li>'larp coindesk '</li><li>' '</li></ul>
RESEARCHER<ul><li>'Roblox Chief Scientist UWaterloo McGill Prof morgan3dbsky Known for NVIDIA Unity Graphics Codex Markdeep G3D Skylanders E Ink Titan Quest Williams Ontario Canada'</li><li>'Simple human Simple life I am trying to do good around me Empathy creativity inspiration ArigatōMerci For ever apprenti researcher Nulle part ailleurs Nowhere'</li><li>'Research community And we have our own NFT collection Telegram'</li></ul>
METAVERSE_ENTHUSIAST<ul><li>'fluent speaker of http and color virtual world evangelist game developer painter writer cj5 driver San Diego'</li><li>'Blockchain Gaming Evangelist CritTheory Gaming CoFounder Earth'</li><li>'We are a peeple obsessed recruiting service collective Treating everyone like a DMs checked infrequently Metaverse'</li></ul>
NODE_OPERATOR<ul><li>'into protocools and shitposting at nodeguardians '</li><li>' CoFounder of onivalidator Filmmaker People Maxi Los Angeles CA'</li><li>'I attest to block 247 Hobby involves the occasional block proposal Have commercial agreements with the MEV trade association Members of Sync Committees Los Angeles'</li></ul>
LAWYER<ul><li>'Law professor at Cal BerkeleyLaw Berkeley California'</li><li>'IP litigator first sale doctrine respecter schedule a disrespecter wife mom to the tiny boss likes design patents needlework yarn new hampshire'</li><li>'Lawyer FINTConsulting TechPolicy E4EProject upcoming GRC CybersecurityAnalyst ex InstituteGC Tweet law tech policy GRC Cybersecurity Decentralized'</li></ul>
DATA_ANALYST<ul><li>'Llama pilot at and '</li><li>'blockchain data opensea kqian on Dune my views are my own dyor nfa data only wagmi open sea'</li><li>'Blockchain analyst Cat and dog dad Taylor Swift fan Army veteran Pittsburgh PA'</li></ul>
MINER<ul><li>'Blockchain bitcoin mining since 2011 analyst 35 years in IT UnixNetwork engineer fpgachip design exCIO Bitfury BitfuryGroup LNSegWit taproot California USA'</li><li>'Founder and CEO of Austin TX'</li><li>'在币圈捡矿泉水瓶子的人 0xb38544ccf295d78b7ae7b2bae5dbebdb1f09910dcrossbell Member of 33daoweb3 Metaverse'</li></ul>
SHITCOINER<ul><li>'Degen ETH and SOL lover '</li><li>'VMPX mrjacklevin Draculaborg'</li><li>'gripto alt notapornfolder_ '</li></ul>
FINANCIAL_ANALYST<ul><li>'Enrolled Agent Crypto Enthusiast Tax EXPERT StackingSats Chopping Tax Since 2016 NoSatoshiLeftBehind hodlmore payless crypto taxes Longmont CO'</li><li>'Politico financial services editor zwarmbrodtpoliticocom zacharywarmbrodtprotonmailcom Washington DC'</li><li>'Im just lookin for clues at the scene of the crime Sedona Arizona'</li></ul>
BUSINESS_ANALYST<ul><li>'Biz Analyst by day web3crypto learner by nightweekend Optimistic about Crypto FanVajpayeeji NaMo M Andreessen E Musk C Dixon Balaji S web3SF Bay Area'</li></ul>

Evaluation

Metrics

LabelAccuracy
all0.5565

Uses

Direct Use for Inference

First install the SetFit library:

bash
pip install setfit

Then you can load this model and run inference.

python
from setfit import SetFitModel

# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("kasparas12/crypto_individual_infer_model_setfit")
# Run inference
preds = model("producer business and elsewhere  on leave  views my own la gran manzana")

<!--

Downstream Use

List how someone could finetune this model on their own dataset. -->

<!--

Out-of-Scope Use

List how the model may foreseeably be misused and address what users ought not to do with the model. -->

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->

<!--

Recommendations

What are recommendations with respect to the foreseeable issues? For example, filtering explicit content. -->

Training Details

Training Set Metrics

Training setMinMedianMax
Word count113.341565
LabelTraining Sample Count
DEVELOPER2111
DATA_SCIENTIST93
DATA_ANALYST25
NODE_OPERATOR71
MINER47
SECURITY_AUDITOR352
INVESTOR484
ANGEL_INVESTOR160
VENTURE_CAPITALIST941
TRADER270
SHITCOINER88
BUSINESS_DEVELOPER917
BUSINESS_ANALYST1
COMMUNITY_MANAGER401
MARKETER190
FINANCIAL_ANALYST72
ADVISOR150
RESEARCHER691
ONCHAIN_ANALYST45
EXECUTIVE741
INFLUENCER834
LAWYER137
BLOGGER198
NFT_COLLECTOR335
NFT_ARTIST598
EDUCATOR281
METAVERSE_ENTHUSIAST132
UNDETERMINED2216

Training Hyperparameters

  • batch_size: (64, 64)
  • num_epochs: (1, 1)
  • max_steps: -1
  • sampling_strategy: oversampling
  • num_iterations: 20
  • bodylearningrate: (2e-05, 1e-05)
  • headlearningrate: 0.01
  • loss: CosineSimilarityLoss
  • distancemetric: cosinedistance
  • margin: 0.25
  • endtoend: False
  • use_amp: False
  • warmup_proportion: 0.1
  • seed: 42
  • evalmaxsteps: -1
  • loadbestmodelatend: False

Training Results

EpochStepTraining LossValidation Loss
0.000110.2625-
0.0064500.2677-
0.01271000.2515-
0.01911500.2413-
0.02542000.2374-
0.03182500.2383-
0.03813000.222-
0.04453500.1972-
0.05094000.2268-
0.05724500.2333-
0.06365000.199-
0.06995500.2035-
0.07636000.1676-
0.08276500.1566-
0.08907000.1909-
0.09547500.189-
0.10178000.1872-
0.10818500.1576-
0.11449000.1382-
0.12089500.1603-
0.127210000.155-
0.133510500.1764-
0.139911000.1506-
0.146211500.1439-
0.152612000.1581-
0.159012500.1494-
0.165313000.1622-
0.171713500.1503-
0.178014000.1094-
0.184414500.1576-
0.190715000.1194-
0.197115500.1515-
0.203516000.1662-
0.209816500.1642-
0.216217000.0943-
0.222517500.1472-
0.228918000.1622-
0.235218500.0809-
0.241619000.1623-
0.248019500.1444-
0.254320000.1304-
0.260720500.1175-
0.267021000.078-
0.273421500.1189-
0.279822000.141-
0.286122500.1233-
0.292523000.1446-
0.298823500.1076-
0.305224000.1016-
0.311524500.0818-
0.317925000.1384-
0.324325500.1065-
0.330626000.1029-
0.337026500.1227-
0.343327000.0982-
0.349727500.0959-
0.356128000.0851-
0.362428500.1028-
0.368829000.1136-
0.375129500.1111-
0.381530000.115-
0.387830500.1183-
0.394231000.0689-
0.400631500.1004-
0.406932000.1079-
0.413332500.112-
0.419633000.0758-
0.426033500.09-
0.432334000.1267-
0.438734500.1024-
0.445135000.1352-
0.451435500.0681-
0.457836000.0483-
0.464136500.0937-
0.470537000.0744-
0.476937500.0926-
0.483238000.0764-
0.489638500.0814-
0.495939000.108-
0.502339500.0936-
0.508640000.0687-
0.515040500.0607-
0.521441000.0829-
0.527741500.0772-
0.534142000.0309-
0.540442500.0797-
0.546843000.063-
0.553243500.071-
0.559544000.0667-
0.565944500.121-
0.572245000.0565-
0.578645500.0915-
0.584946000.0613-
0.591346500.0479-
0.597747000.0622-
0.604047500.0687-
0.610448000.0635-
0.616748500.1233-
0.623149000.0351-
0.629549500.0717-
0.635850000.0906-
0.642250500.0712-
0.648551000.1133-
0.654951500.0757-
0.661252000.0809-
0.667652500.112-
0.674053000.0893-
0.680353500.0591-
0.686754000.0872-
0.693054500.0937-
0.699455000.038-
0.705755500.0793-
0.712156000.0569-
0.718556500.0861-
0.724857000.1022-
0.731257500.0759-
0.737558000.0451-
0.743958500.08-
0.750359000.058-
0.756659500.0423-
0.763060000.043-
0.769360500.109-
0.775761000.072-
0.782061500.0342-
0.788462000.0833-
0.794862500.0643-
0.801163000.1069-
0.807563500.0713-
0.813864000.0807-
0.820264500.0518-
0.826665000.0796-
0.832965500.0954-
0.839366000.0709-
0.845666500.0541-
0.852067000.0503-
0.858367500.0737-
0.864768000.0931-
0.871168500.0636-
0.877469000.0579-
0.883869500.1168-
0.890170000.0751-
0.896570500.0945-
0.902871000.0396-
0.909271500.0623-
0.915672000.0641-
0.921972500.0697-
0.928373000.0675-
0.934673500.0544-
0.941074000.0803-
0.947474500.0549-
0.953775000.0612-
0.960175500.0721-
0.966476000.0692-
0.972876500.07-
0.979177000.0476-
0.985577500.0673-
0.991978000.0606-
0.998278500.1001-

Framework Versions

  • Python: 3.9.16
  • SetFit: 1.0.3
  • Sentence Transformers: 2.2.2
  • Transformers: 4.21.3
  • PyTorch: 1.12.1+cu116
  • Datasets: 2.4.0
  • Tokenizers: 0.12.1

Citation

BibTeX

bibtex
@article{https://doi.org/10.48550/arxiv.2209.11055,
    doi = {10.48550/ARXIV.2209.11055},
    url = {https://arxiv.org/abs/2209.11055},
    author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
    keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
    title = {Efficient Few-Shot Learning Without Prompts},
    publisher = {arXiv},
    year = {2022},
    copyright = {Creative Commons Attribution 4.0 International}
}

<!--

Glossary

Clearly define terms in order to be accessible across audiences. -->

<!--

Model Card Authors

Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->

<!--

Model Card Contact

Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->