snowdere commited on
Commit
c47d19d
1 Parent(s): aec4c9c

Add SetFit model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
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,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L6-v2
3
+ library_name: setfit
4
+ metrics:
5
+ - accuracy
6
+ pipeline_tag: text-classification
7
+ tags:
8
+ - setfit
9
+ - sentence-transformers
10
+ - text-classification
11
+ - generated_from_setfit_trainer
12
+ widget:
13
+ - text: Government Announces Reforms to Pension Fund Regulations
14
+ - text: 'Quantum Computing Breakthrough: New Algorithm Solves Cryptography Challenges
15
+ Faster'
16
+ - text: Regulatory Oversight of Short Selling Practices in Financial Markets
17
+ - text: Urban Planning Strategies Focus on Sustainable Development Principles
18
+ - text: Telehealth Services See Surge in Demand Amid Pandemic
19
+ inference: true
20
+ ---
21
+
22
+ # SetFit with sentence-transformers/all-MiniLM-L6-v2
23
+
24
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-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.
25
+
26
+ The model has been trained using an efficient few-shot learning technique that involves:
27
+
28
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
29
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
30
+
31
+ ## Model Details
32
+
33
+ ### Model Description
34
+ - **Model Type:** SetFit
35
+ - **Sentence Transformer body:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)
36
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
37
+ - **Maximum Sequence Length:** 256 tokens
38
+ - **Number of Classes:** 106 classes
39
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
40
+ <!-- - **Language:** Unknown -->
41
+ <!-- - **License:** Unknown -->
42
+
43
+ ### Model Sources
44
+
45
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
46
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
47
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
48
+
49
+ ### Model Labels
50
+ | Label | Examples |
51
+ |:------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
52
+ | 0 | <ul><li>'Federal Reserve Announces Key Interest Rate Decision in Latest Monetary Policy Meeting'</li><li>'Central Bank Implements New Monetary Policy Measures to Stimulate Economic Growth'</li><li>'Inflation Concerns Prompt Central Bank to Consider Adjusting Monetary Policy Tools'</li></ul> |
53
+ | 1 | <ul><li>'Government Announces New Fiscal Policy Measures to Boost Economy'</li><li>'Experts Analyze the Impact of Fiscal Policy on Inflation Rates'</li><li>'Fiscal Policy Changes Expected to Affect Stock Market Performance'</li></ul> |
54
+ | 2 | <ul><li>'Global Economic Growth Forecasted to Reach 5% in the Next Quarter'</li><li>'Tech Sector Drives Economic Growth with Innovation and Investment'</li><li>'Emerging Markets Show Promising Signs of Economic Growth'</li></ul> |
55
+ | 3 | <ul><li>'Inflation hits a 30-year high, causing concerns for consumers'</li><li>'Inflation rates hit a 10-year high, causing concern among consumers'</li><li>'Experts predict continued rise in inflation for the next quarter'</li></ul> |
56
+ | 4 | <ul><li>'Federal Reserve Raises Interest Rates for the First Time in a Year'</li><li>"Global Markets React to Central Bank's Interest Rate Decision"</li><li>'How Rising Interest Rates Could Impact Mortgage Rates'</li></ul> |
57
+ | 5 | <ul><li>'Understanding the Phases of Business Cycles: Expansion, Peak, Contraction, Trough'</li><li>'How Business Cycles Impact Economic Growth and Employment Rates'</li><li>'Analyzing the Role of Government Policies in Influencing Business Cycles'</li></ul> |
58
+ | 6 | <ul><li>'Government Debt Reaches Record High Amid Economic Challenges'</li><li>'Experts Warn of Growing Government Deficit in the Coming Years'</li><li>'Strategies to Tackle Rising Government Debt and Deficit Discussed in Congress'</li></ul> |
59
+ | 7 | <ul><li>'Federal Reserve announces new round of quantitative easing to boost economy'</li><li>'Understanding the impact of quantitative easing on financial markets'</li><li>'Experts debate the effectiveness of quantitative easing as a monetary policy tool'</li></ul> |
60
+ | 8 | <ul><li>'Understanding the Mechanisms of Monetary Policy Transmission in the Economy'</li><li>"Central Banks' Tools for Effective Monetary Policy Transmission Explained"</li><li>'The Impact of Monetary Policy Transmission on Interest Rates and Inflation'</li></ul> |
61
+ | 9 | <ul><li>'Global Trade War Escalates as Tariffs Increase Between Major Economies'</li><li>'International Trade Agreements Under Scrutiny Amid Rising Tensions'</li><li>'Brexit Impacting Global Trade Dynamics, Uncertainty Looms'</li></ul> |
62
+ | 10 | <ul><li>'Emerging Economies Show Resilience Amid Global Uncertainty'</li><li>'Investors Flock to Emerging Economies for Growth Opportunities'</li><li>'Technology Innovation Drives Growth in Emerging Economies'</li></ul> |
63
+ | 11 | <ul><li>'IMF Calls for Reform of International Monetary System to Address Global Economic Challenges'</li><li>'G20 Leaders Discuss Changes to International Monetary System at Summit Meeting'</li><li>'Experts Predict Shift in International Monetary System Amidst Economic Uncertainty'</li></ul> |
64
+ | 12 | <ul><li>'Global Stock Markets Experience Volatility Amid Economic Uncertainty'</li><li>'International Banking Sector Faces Regulatory Challenges in Multiple Countries'</li><li>'Currency Exchange Rates Fluctuate as Global Trade Tensions Rise'</li></ul> |
65
+ | 13 | <ul><li>'New Trade Agreement Signed Between Countries A and B'</li><li>'Global Trade Deal Reached After Lengthy Negotiations'</li><li>'Trade Agreement Benefits Both Economies, Experts Say'</li></ul> |
66
+ | 14 | <ul><li>'Global FDI Trends: Insights and Analysis'</li><li>'Rising Competition for Foreign Direct Investment'</li><li>'Key Factors Influencing FDI Flows in 2021'</li></ul> |
67
+ | 15 | <ul><li>'Global Migration Trends: How Remittances Impact Sending and Receiving Countries'</li><li>'The Role of Remittances in Economic Development of Developing Nations'</li><li>'Migration Policies and Their Impact on Remittance Flows'</li></ul> |
68
+ | 16 | <ul><li>'US Imposes New Economic Sanctions on Iran in Response to Nuclear Program'</li><li>'European Union Extends Embargo on Arms Sales to Venezuela'</li><li>'Russia Faces Economic Sanctions from Western Countries Over Ukraine Conflict'</li></ul> |
69
+ | 17 | <ul><li>'Foreign Exchange Markets Experience Volatility Amid Global Economic Uncertainty'</li><li>'Investors Turn to Safe-Haven Currencies in Foreign Exchange Markets'</li><li>'Central Banks Intervene to Stabilize Foreign Exchange Markets'</li></ul> |
70
+ | 18 | <ul><li>'Renewable Energy Sources on the Rise: A Look at the Future of Energy Generation'</li><li>'Oil Prices Soar Amid Global Supply Concerns and Rising Demand'</li><li>'Mining Industry Faces Challenges in Sustainable Resource Extraction Practices'</li></ul> |
71
+ | 19 | <ul><li>'New Breakthrough Drug Shows Promise in Treating Cancer Patients'</li><li>'Healthcare Industry Braces for Impact of FDA Drug Approval Delays'</li><li>'Pharmaceutical Company Announces Recall of Blood Pressure Medication'</li></ul> |
72
+ | 20 | <ul><li>'Home prices soar to record highs in major cities across the country'</li><li>'Real estate market experiences a surge in demand as buyers look for larger homes'</li><li>'Housing inventory reaches all-time low, driving up competition among buyers'</li></ul> |
73
+ | 21 | <ul><li>'Consumer Spending Reaches Record High in Q3 of 2021'</li><li>'Retail Sales Surge as Consumers Return to Shopping in Stores'</li><li>'Online Retailers See Boost in Sales as E-Commerce Gains Popularity'</li></ul> |
74
+ | 22 | <ul><li>'Global Manufacturing Sector Sees Growth in Industrial Production'</li><li>'New Technologies Revolutionize Manufacturing Processes'</li><li>'Factory Automation on the Rise in Industrial Production Sector'</li></ul> |
75
+ | 23 | <ul><li>'Global Shipping Industry Faces Supply Chain Challenges Amidst Pandemic'</li><li>'Rise of Autonomous Vehicles Revolutionizing Transportation Sector'</li><li>'Logistics Companies Embrace Digitalization for Enhanced Efficiency'</li></ul> |
76
+ | 24 | <ul><li>'Telecommunications Giant Announces Plans for 5G Expansion'</li><li>'Internet Service Providers Face Criticism for Slow Speeds and Unreliable Connections'</li><li>'Telecom Companies Invest Billions in Infrastructure Upgrades to Support Increased Demand'</li></ul> |
77
+ | 25 | <ul><li>'Global Tourism Industry Sees Recovery as Travel Restrictions Ease'</li><li>'Hospitality Sector Adapts to New Health and Safety Standards Post-Pandemic'</li><li>'Top Destinations for Eco-Friendly Tourism in 2022 Revealed'</li></ul> |
78
+ | 26 | <ul><li>'Global Food Security Concerns Rise as Climate Change Impacts Agriculture'</li><li>'Organic Farming Practices on the Rise for Sustainable Food Production'</li><li>'New Technology Aims to Revolutionize Agriculture Industry'</li></ul> |
79
+ | 27 | <ul><li>'SpaceX Successfully Launches New Satellite into Orbit'</li><li>'Boeing Wins Multi-Billion Dollar Contract for Military Aircraft'</li><li>'Lockheed Martin Develops Advanced Radar Technology for Defense Systems'</li></ul> |
80
+ | 28 | <ul><li>'New Legislation Aims to Improve Accessibility of Public Utilities'</li><li>'Water Conservation Efforts in Urban Areas Yield Positive Results'</li><li>'Electricity Grid Upgrades to Enhance Reliability and Efficiency'</li></ul> |
81
+ | 29 | <ul><li>'Global Mining Industry Faces Challenges Amid Rising Demand for Resources'</li><li>'New Extraction Technologies Revolutionize Mining Practices'</li><li>'Environmental Concerns Mount as Mining Activities Expand'</li></ul> |
82
+ | 30 | <ul><li>'New Breakthrough in Sustainable Chemical Production Discovered'</li><li>'Materials Scientists Develop Advanced Nanomaterial for Energy Storage'</li><li>'Chemical Industry Forecasted to Experience Rapid Growth in Coming Years'</li></ul> |
83
+ | 31 | <ul><li>'Global Demand for Paper Products on the Rise, Boosting Forestry Industry'</li><li>'Deforestation Concerns Prompt Calls for Sustainable Forestry Practices'</li><li>'Paper Recycling Rates Reach All-Time High, Impacting Paper Products Market'</li></ul> |
84
+ | 32 | <ul><li>'New Study Shows Benefits of Sustainable Fishing Practices'</li><li>'Aquaculture Industry Sees Record Growth in Production'</li><li>'Fishermen Struggle with Declining Fish Stocks'</li></ul> |
85
+ | 33 | <ul><li>'Global Textile Industry Sees Surge in Demand for Sustainable Fabrics'</li><li>'Fashion Brands Embrace Circular Economy Practices in Apparel Production'</li><li>'Textile Innovations Revolutionize the Performance Wear Market'</li></ul> |
86
+ | 34 | <ul><li>'Luxury Brands Report Record Sales Despite Economic Challenges'</li><li>'Demand for High-End Fashion and Accessories Soars in Global Markets'</li><li>'Luxury Travel Industry Sees Surge in Bookings as Restrictions Ease'</li></ul> |
87
+ | 35 | <ul><li>'New Superstar Joins Major League Soccer Team'</li><li>'Celebrity Couple Announces Surprise Engagement'</li><li>'Boxing Champion Set to Defend Title in Upcoming Match'</li></ul> |
88
+ | 36 | <ul><li>'Digital Transformation in Media and Publishing: Trends and Challenges'</li><li>'Big Changes Coming to the Publishing Industry: What to Expect'</li><li>'The Future of Media: Innovations Reshaping the Industry'</li></ul> |
89
+ | 37 | <ul><li>'Top Trends in Education Services for 2021'</li><li>'How Education Services Are Adapting to Remote Learning Challenges'</li><li>'The Future of Online Education Services: Opportunities and Challenges'</li></ul> |
90
+ | 38 | <ul><li>'Top Trends in Consulting and Business Services for 2021 Revealed'</li><li>'How Consulting Firms Are Adapting to the Remote Work Environment'</li><li>'The Impact of Digital Transformation on Business Consulting Services'</li></ul> |
91
+ | 39 | <ul><li>'New Regulations Impacting Legal Services Industry Announced'</li><li>'Top Law Firms Facing Scrutiny Over Compliance Issues'</li><li>'Changes in Legal Services Market Demand Regulatory Adaptations'</li></ul> |
92
+ | 40 | <ul><li>'New Recycling Program Aims to Reduce Waste in Local Communities'</li><li>'Innovative Technology Revolutionizing Waste Management Practices'</li><li>'Government Initiatives Encourage Sustainable Recycling Efforts'</li></ul> |
93
+ | 41 | <ul><li>'Artificial Intelligence: The Future of Technology'</li><li>'How AI is Revolutionizing Industries Across the Globe'</li><li>'The Ethics of Artificial Intelligence: A Deep Dive'</li></ul> |
94
+ | 42 | <ul><li>'New AI-powered robotic arm revolutionizes manufacturing industry'</li><li>'Robotics and Automation Expo showcases cutting-edge technology advancements'</li><li>'Automation in agriculture: How robots are transforming farming practices'</li></ul> |
95
+ | 43 | <ul><li>'Major Data Breach Exposes Millions of User Records'</li><li>'Cybersecurity Threats on the Rise: How to Protect Your Data'</li><li>'Government Agencies Implementing New Cybersecurity Measures'</li></ul> |
96
+ | 44 | <ul><li>'Bitcoin Surpasses $50,000 Mark, Setting New Record High'</li><li>'Ethereum Hits All-Time High Amidst Bullish Market Trends'</li><li>'Investors Flock to Cryptocurrency as Traditional Markets Remain Volatile'</li></ul> |
97
+ | 45 | <ul><li>'Quantum Computing Breakthrough: New Algorithm Solves Cryptography Challenges Faster'</li><li>'The Future of Cryptography: How Quantum Computing Is Shaping Security Measures'</li><li>'Quantum Supremacy Achieved in Cryptography: What It Means for Data Encryption'</li></ul> |
98
+ | 46 | <ul><li>'New AI technology revolutionizes healthcare industry'</li><li>'Tech giants collaborate to develop cutting-edge quantum computing technology'</li><li>'Innovative startups disrupt traditional industries with blockchain solutions'</li></ul> |
99
+ | 47 | <ul><li>'Global tech giants battle over patent infringement in court'</li><li>'New patent law changes spark debate among legal experts'</li><li>'Intellectual property rights under scrutiny in latest trade negotiations'</li></ul> |
100
+ | 48 | <ul><li>'Breakthrough in Nanotechnology: New Material Enhances Solar Cell Efficiency by 30%'</li><li>'Researchers Develop Self-Healing Nanomaterials for Sustainable Infrastructure'</li><li>'Nanotechnology Revolutionizing Drug Delivery Systems for Targeted Therapy'</li></ul> |
101
+ | 49 | <ul><li>'SpaceX Launches New Commercial Satellite into Orbit'</li><li>'NASA Partners with Private Companies for Lunar Exploration Mission'</li><li>'Virgin Galactic Plans First Space Tourist Flight for Next Year'</li></ul> |
102
+ | 50 | <ul><li>'Renewable Energy Sector Sees Record Investments in 2021'</li><li>'Solar Power Surpasses Coal in Energy Generation for the First Time'</li><li>'New Breakthrough in Wind Turbine Technology Increases Efficiency by 20%'</li></ul> |
103
+ | 51 | <ul><li>'The Impact of Digital Economy on Global Markets'</li><li>'Emerging Trends in the Digital Economy Sector'</li><li>'How Digital Transformation is Reshaping the Economy'</li></ul> |
104
+ | 52 | <ul><li>'How FinTech is Revolutionizing the Banking Industry'</li><li>'The Future of Payments: FinTech Innovations to Watch Out For'</li><li>'Top FinTech Startups Making Waves in the Industry'</li></ul> |
105
+ | 53 | <ul><li>'The Rise of Robo-Advisors in Financial Planning'</li><li>'How Robo-Advisors Are Disrupting the Investment Industry'</li><li>'Robo-Advisors: The Future of Wealth Management'</li></ul> |
106
+ | 54 | <ul><li>'Regulators Crack Down on High-Frequency Trading Practices'</li><li>'High-Frequency Trading Firms Face Increased Scrutiny from Authorities'</li><li>'The Impact of High-Frequency Trading on Stock Market Volatility'</li></ul> |
107
+ | 55 | <ul><li>'The Rise of Algorithmic Trading in Financial Markets'</li><li>'How Algorithmic Trading Is Changing the Game for Investors'</li><li>'Exploring the Impact of Algorithms on Stock Market Volatility'</li></ul> |
108
+ | 56 | <ul><li>'New Study Shows Positive Impact of Renewable Energy on Environmental Sustainability'</li><li>'Global Efforts to Combat Climate Change and Promote Environmental Sustainability'</li><li>'Companies Embracing Eco-Friendly Practices for Environmental Sustainability'</li></ul> |
109
+ | 57 | <ul><li>'Scientists Warn of Irreversible Climate Change Impact by 2030'</li><li>'Global Leaders Take Action to Combat Climate Crisis at COP26 Summit'</li><li>'Rising Sea Levels Threaten Coastal Cities Due to Climate Change'</li></ul> |
110
+ | 58 | <ul><li>'Income Inequality Widens as Wealth Gap Grows'</li><li>'Report Shows Income Inequality at Record High'</li><li>'Rising Income Inequality Sparks Debate in Congress'</li></ul> |
111
+ | 59 | <ul><li>'Major corporations face backlash over human rights violations in supply chains'</li><li>'Businesses under scrutiny for exploiting labor in developing countries'</li><li>'New report highlights the intersection of human rights and corporate responsibility'</li></ul> |
112
+ | 60 | <ul><li>'Government Announces New Initiative to Combat Poverty and Hunger'</li><li>'Non-Profit Organization Launches Campaign to Provide Aid to Families in Poverty'</li><li>'Global Leaders Meet to Discuss Strategies for Poverty Alleviation'</li></ul> |
113
+ | 61 | <ul><li>'UN Report Highlights Progress in Sustainable Development Goals'</li><li>'Countries Pledge to Take Action for Sustainable Development at UN Summit'</li><li>'Renewable Energy Sources Key to Achieving Sustainable Development Targets'</li></ul> |
114
+ | 62 | <ul><li>'Global Efforts to Promote Financial Inclusion Accelerate Amid Economic Challenges'</li><li>'Fintech Innovations Driving Financial Inclusion Across Emerging Markets'</li><li>'Government Initiatives Expand Access to Financial Services for Underserved Communities'</li></ul> |
115
+ | 63 | <ul><li>'The Role of Circular Economy in Sustainable Development'</li><li>'Circular Economy Practices to Reduce Waste and Promote Recycling'</li><li>'How Circular Economy Models Are Reshaping Industries'</li></ul> |
116
+ | 64 | <ul><li>'Global Economic Inequality Reaches Record High Levels'</li><li>'Study Shows Economic Inequality Widening in Developed Countries'</li><li>'Rising Economic Inequality Threatens Social Stability, Experts Warn'</li></ul> |
117
+ | 65 | <ul><li>'Study shows income inequality widening despite social welfare programs'</li><li>'Government announces new initiatives to address income inequality'</li><li>'Experts warn of growing wealth gap in society'</li></ul> |
118
+ | 66 | <ul><li>'Global Aid Organizations Join Forces to Tackle Humanitarian Crises'</li><li>'United Nations Launches New Initiative for Sustainable Development in Developing Countries'</li><li>'International Donors Increase Funding for Education Programs in Low-Income Countries'</li></ul> |
119
+ | 67 | <ul><li>'Nonprofit Organizations See Surge in Donations Amid Global Crisis'</li><li>'Charitable Organizations Rally to Support Vulnerable Communities'</li><li>'How Nonprofits Are Adapting to Virtual Fundraising Events'</li></ul> |
120
+ | 68 | <ul><li>'Unemployment Rate Drops to Record Low in Labor Market Boom'</li><li>'Labor Market Sees Surge in Job Openings Amid Economic Recovery'</li><li>'Workers Demand Higher Wages as Labor Market Tightens'</li></ul> |
121
+ | 69 | <ul><li>'Labor Productivity Sees Significant Increase in Key Industries'</li><li>'Experts Analyze Factors Affecting Labor Productivity Growth'</li><li>'New Study Reveals Strategies to Boost Labor Productivity in the Workplace'</li></ul> |
122
+ | 70 | <ul><li>'New Study Shows Positive Impact of Early Childhood Education on Long-Term Human Capital Development'</li><li>'Education Gap Widens Between Socioeconomic Classes, Highlighting Inequality in Human Capital Investment'</li><li>'Tech Companies Invest in Education Initiatives to Develop Future Human Capital Pool'</li></ul> |
123
+ | 71 | <ul><li>'Experts predict significant demographic shifts as population ages'</li><li>'Aging population poses challenges for healthcare systems worldwide'</li><li>'Demographic shift towards older population impacting workforce dynamics'</li></ul> |
124
+ | 72 | <ul><li>'The Rise of Gig Work: How the Sharing Economy is Shaping the Future of Work'</li><li>"Exploring the Impact of Sharing Economy Platforms on Gig Workers' Income"</li><li>'From Uber to Airbnb: Navigating the Gig Economy in the Sharing Economy Era'</li></ul> |
125
+ | 73 | <ul><li>'Small Business Owners Adapt to Survive in Challenging Times'</li><li>'Entrepreneurs Find Success in Niche Markets'</li><li>'The Rise of Remote Work: How Small Businesses Are Adapting'</li></ul> |
126
+ | 74 | <ul><li>'Tensions rise as countries engage in geopolitical power struggles'</li><li>'Global leaders meet to discuss geopolitical challenges and conflicts'</li><li>'Geopolitical tensions escalate in key regions around the world'</li></ul> |
127
+ | 75 | <ul><li>'New Study Shows Effectiveness of Vaccination Campaign in Disease Control'</li><li>'Public Health Officials Warn of Potential Disease Outbreak in Urban Areas'</li><li>'Global Efforts to Improve Public Health Infrastructure in Developing Countries'</li></ul> |
128
+ | 76 | <ul><li>'The Future of Urbanization: Sustainable City Planning Strategies'</li><li>'Rapid Urbanization Challenges: Infrastructure Strain and Overcrowding'</li><li>'Smart Cities Revolutionizing Urban Planning and Development'</li></ul> |
129
+ | 77 | <ul><li>"Biden unveils $2 trillion infrastructure plan to rebuild America's roads and bridges"</li><li>'Infrastructure bill passes Senate, paving the way for major investments in public works'</li><li>'Cities invest in smart infrastructure to improve efficiency and sustainability'</li></ul> |
130
+ | 78 | <ul><li>'Stock Market Hits Record Highs Amid Economic Recovery'</li><li>'Investors Flock to Cryptocurrency as Bitcoin Surges'</li><li>'Tech Stocks Rally as Big Tech Companies Beat Earnings Expectations'</li></ul> |
131
+ | 79 | <ul><li>'New Trends in Insurance and Risk Management for 2021'</li><li>'How Technology is Revolutionizing Insurance and Risk Management'</li><li>'The Impact of Climate Change on Insurance and Risk Management Practices'</li></ul> |
132
+ | 80 | <ul><li>'Experts predict economic growth based on new forecasting models'</li><li>'Latest economic models suggest a downturn in the market'</li><li>'Economic forecasters revise GDP projections for the upcoming quarter'</li></ul> |
133
+ | 81 | <ul><li>'Top Companies Embracing Transparent Corporate Governance Practices'</li><li>'Investors Demand Stronger Corporate Governance Policies from Corporations'</li><li>'The Role of Board Diversity in Effective Corporate Governance'</li></ul> |
134
+ | 82 | <ul><li>'Government Announces New Market Regulations to Ensure Fair Competition'</li><li>'Market Regulators Crack Down on Insider Trading Practices'</li><li>'Investors React to Proposed Changes in Market Regulation Policies'</li></ul> |
135
+ | 83 | <ul><li>'US Congress Introduces New Antitrust Legislation to Tackle Big Tech Monopolies'</li><li>'EU Regulators Investigate Alleged Antitrust Violations by Tech Giants'</li><li>'Antitrust Scrutiny Grows as Global Competition Policies Tighten'</li></ul> |
136
+ | 84 | <ul><li>'Global oil prices surge as demand picks up in post-pandemic recovery'</li><li>'Gold prices hit new record high as investors seek safe-haven assets'</li><li>'Commodities rally as supply chain disruptions continue to impact global markets'</li></ul> |
137
+ | 85 | <ul><li>'Private Equity Firm Acquires Tech Startup for $100 Million'</li><li>'Venture Capital Investment Soars to Record High in Q3 2021'</li><li>'Top Private Equity Deals of the Year Revealed'</li></ul> |
138
+ | 86 | <ul><li>'Sovereign Wealth Funds Increase Investments in Tech Startups'</li><li>'Global Sovereign Wealth Funds See Record Returns in 2021'</li><li>'Sovereign Wealth Funds Diversify into Renewable Energy Projects'</li></ul> |
139
+ | 87 | <ul><li>'Pension Funds See Record Returns in Q3 Despite Market Volatility'</li><li>'Experts Predict Increase in Pension Fund Contributions for 2022'</li><li>'Government Announces Reforms to Pension Fund Regulations'</li></ul> |
140
+ | 88 | <ul><li>'Hedge Funds See Record Inflows in Q3 Despite Market Volatility'</li><li>'Top Hedge Fund Managers Reveal Their Latest Investment Strategies'</li><li>'Regulators Crack Down on Hedge Funds for Insider Trading'</li></ul> |
141
+ | 89 | <ul><li>'ETFs See Record Inflows as Investors Seek Diversification'</li><li>'Top ETFs to Watch in 2021 for Potential Growth Opportunities'</li><li>'How ETFs Are Reshaping the Investment Landscape'</li></ul> |
142
+ | 90 | <ul><li>'Tech Giant Acquires Startup in Billion-Dollar Deal'</li><li>'Merger Mania: Companies Join Forces to Expand Market Share'</li><li>'Investors Eyeing Potential M&A Opportunities in the Healthcare Sector'</li></ul> |
143
+ | 91 | <ul><li>'Tech Company XYZ Files for IPO, Aims to Raise $1 Billion'</li><li>'Investors Eagerly Await IPO of Startup Unicorn Inc.'</li><li>'IPO Market Booming as Companies Rush to Go Public'</li></ul> |
144
+ | 92 | <ul><li>'Bond Markets Experience Volatility Amid Economic Uncertainty'</li><li>'Investors Flock to Bond Markets as Safe Haven Amid Stock Market Turmoil'</li><li>'Yield Curve Inversion Sparks Concerns in Bond Markets'</li></ul> |
145
+ | 93 | <ul><li>'Derivative Markets See Increased Volatility Amid Global Economic Uncertainty'</li><li>'Investors Turn to Derivative Markets for Hedging Strategies During Market Turmoil'</li><li>'Regulatory Changes Impacting Derivative Markets Trading Volume'</li></ul> |
146
+ | 94 | <ul><li>'Yield Curve Inversion Sparks Economic Concerns'</li><li>'Investors Nervous as Yield Curve Flattens'</li><li>'Understanding the Impact of Yield Curve on Markets'</li></ul> |
147
+ | 95 | <ul><li>'Fitch Upgrades Credit Rating for Several Major Corporations'</li><li>"Moody's Downgrades Credit Rating of Government Bonds"</li><li>'S&P Affirms Stable Credit Rating Outlook for Global Banks'</li></ul> |
148
+ | 96 | <ul><li>'Global Financial Stability Report Warns of Growing Risks in the Economy'</li><li>'Central Banks Take Measures to Ensure Financial Stability Amid Uncertainty'</li><li>'Experts Debate the Impact of Digital Currencies on Financial Stability'</li></ul> |
149
+ | 97 | <ul><li>'Understanding Systemic Risk: What Investors Need to Know'</li><li>'Global Financial Markets Brace for Impact of Systemic Risk'</li><li>'Experts Warn of Growing Systemic Risks in the Banking Sector'</li></ul> |
150
+ | 98 | <ul><li>'Short Selling: What You Need to Know About Betting Against Stocks'</li><li>'Short Selling Explained: How Traders Profit from Market Declines'</li><li>'The Risks and Rewards of Short Selling in the Stock Market'</li></ul> |
151
+ | 99 | <ul><li>'The Rise of Leveraged Buyouts in Corporate Finance'</li><li>'Understanding the Mechanics of Leveraged Buyouts'</li><li>'Key Players in the World of Leveraged Buyouts'</li></ul> |
152
+ | 100 | <ul><li>'Distressed Debt Market Surges Amid Economic Uncertainty'</li><li>'Investors Eye Opportunities in Distressed Debt Sector'</li><li>'Distressed Debt Funds See Increased Interest from Institutional Investors'</li></ul> |
153
+ | 101 | <ul><li>'The Rise of Angel Investing: How Startups are Attracting Funding from Angel Investors'</li><li>'Angel Investing 101: What You Need to Know Before Investing in Startups'</li><li>'The Benefits of Angel Investing for both Investors and Entrepreneurs'</li></ul> |
154
+ | 102 | <ul><li>'Crowdfunding platform raises $10 million in funding round'</li><li>'How crowdfunding is changing the way startups raise capital'</li><li>'Top 10 most successful crowdfunding campaigns of all time'</li></ul> |
155
+ | 103 | <ul><li>'The Future of Supply Chain Management: Trends to Watch Out For'</li><li>'How Technology is Revolutionizing Supply Chain Management'</li><li>'Challenges Faced by Supply Chain Managers in Global Operations'</li></ul> |
156
+ | 104 | <ul><li>'Central banks exploring the potential of digital currencies to modernize payment systems'</li><li>'Rise of Central Bank Digital Currencies: What you need to know'</li><li>'Countries considering the issuance of Central Bank Digital Currencies (CBDCs)'</li></ul> |
157
+ | 105 | <ul><li>'Investor Sentiment Shifts as Market Volatility Rises'</li><li>'Market Sentiment Index Reaches All-Time High'</li><li>'Traders Bullish on Market Outlook, Survey Shows'</li></ul> |
158
+
159
+ ## Uses
160
+
161
+ ### Direct Use for Inference
162
+
163
+ First install the SetFit library:
164
+
165
+ ```bash
166
+ pip install setfit
167
+ ```
168
+
169
+ Then you can load this model and run inference.
170
+
171
+ ```python
172
+ from setfit import SetFitModel
173
+
174
+ # Download from the 🤗 Hub
175
+ model = SetFitModel.from_pretrained("snowdere/trainer_topic")
176
+ # Run inference
177
+ preds = model("Telehealth Services See Surge in Demand Amid Pandemic")
178
+ ```
179
+
180
+ <!--
181
+ ### Downstream Use
182
+
183
+ *List how someone could finetune this model on their own dataset.*
184
+ -->
185
+
186
+ <!--
187
+ ### Out-of-Scope Use
188
+
189
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
190
+ -->
191
+
192
+ <!--
193
+ ## Bias, Risks and Limitations
194
+
195
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
196
+ -->
197
+
198
+ <!--
199
+ ### Recommendations
200
+
201
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
202
+ -->
203
+
204
+ ## Training Details
205
+
206
+ ### Training Set Metrics
207
+ | Training set | Min | Median | Max |
208
+ |:-------------|:----|:-------|:----|
209
+ | Word count | 4 | 9.0495 | 17 |
210
+
211
+ | Label | Training Sample Count |
212
+ |:------|:----------------------|
213
+ | 0 | 120 |
214
+ | 1 | 100 |
215
+ | 2 | 40 |
216
+ | 3 | 21 |
217
+ | 4 | 20 |
218
+ | 5 | 20 |
219
+ | 6 | 20 |
220
+ | 7 | 20 |
221
+ | 8 | 20 |
222
+ | 9 | 20 |
223
+ | 10 | 20 |
224
+ | 11 | 20 |
225
+ | 12 | 20 |
226
+ | 13 | 20 |
227
+ | 14 | 20 |
228
+ | 15 | 20 |
229
+ | 16 | 20 |
230
+ | 17 | 20 |
231
+ | 18 | 20 |
232
+ | 19 | 20 |
233
+ | 20 | 20 |
234
+ | 21 | 20 |
235
+ | 22 | 20 |
236
+ | 23 | 20 |
237
+ | 24 | 20 |
238
+ | 25 | 20 |
239
+ | 26 | 20 |
240
+ | 27 | 20 |
241
+ | 28 | 20 |
242
+ | 29 | 20 |
243
+ | 30 | 20 |
244
+ | 31 | 20 |
245
+ | 32 | 20 |
246
+ | 33 | 20 |
247
+ | 34 | 20 |
248
+ | 35 | 20 |
249
+ | 36 | 20 |
250
+ | 37 | 20 |
251
+ | 38 | 20 |
252
+ | 39 | 20 |
253
+ | 40 | 20 |
254
+ | 41 | 20 |
255
+ | 42 | 20 |
256
+ | 43 | 20 |
257
+ | 44 | 20 |
258
+ | 45 | 20 |
259
+ | 46 | 20 |
260
+ | 47 | 20 |
261
+ | 48 | 20 |
262
+ | 49 | 20 |
263
+ | 50 | 20 |
264
+ | 51 | 20 |
265
+ | 52 | 20 |
266
+ | 53 | 20 |
267
+ | 54 | 20 |
268
+ | 55 | 20 |
269
+ | 56 | 20 |
270
+ | 57 | 20 |
271
+ | 58 | 20 |
272
+ | 59 | 20 |
273
+ | 60 | 20 |
274
+ | 61 | 20 |
275
+ | 62 | 20 |
276
+ | 63 | 20 |
277
+ | 64 | 20 |
278
+ | 65 | 20 |
279
+ | 66 | 20 |
280
+ | 67 | 20 |
281
+ | 68 | 20 |
282
+ | 69 | 20 |
283
+ | 70 | 20 |
284
+ | 71 | 20 |
285
+ | 72 | 20 |
286
+ | 73 | 20 |
287
+ | 74 | 20 |
288
+ | 75 | 20 |
289
+ | 76 | 20 |
290
+ | 77 | 20 |
291
+ | 78 | 20 |
292
+ | 79 | 20 |
293
+ | 80 | 20 |
294
+ | 81 | 20 |
295
+ | 82 | 20 |
296
+ | 83 | 20 |
297
+ | 84 | 20 |
298
+ | 85 | 20 |
299
+ | 86 | 20 |
300
+ | 87 | 20 |
301
+ | 88 | 20 |
302
+ | 89 | 20 |
303
+ | 90 | 20 |
304
+ | 91 | 20 |
305
+ | 92 | 20 |
306
+ | 93 | 20 |
307
+ | 94 | 20 |
308
+ | 95 | 20 |
309
+ | 96 | 20 |
310
+ | 97 | 20 |
311
+ | 98 | 20 |
312
+ | 99 | 20 |
313
+ | 100 | 20 |
314
+ | 101 | 20 |
315
+ | 102 | 20 |
316
+ | 103 | 20 |
317
+ | 104 | 20 |
318
+ | 105 | 20 |
319
+
320
+ ### Training Hyperparameters
321
+ - batch_size: (16, 16)
322
+ - num_epochs: (1, 1)
323
+ - max_steps: -1
324
+ - sampling_strategy: oversampling
325
+ - num_iterations: 20
326
+ - body_learning_rate: (2e-05, 2e-05)
327
+ - head_learning_rate: 2e-05
328
+ - loss: CosineSimilarityLoss
329
+ - distance_metric: cosine_distance
330
+ - margin: 0.25
331
+ - end_to_end: False
332
+ - use_amp: False
333
+ - warmup_proportion: 0.1
334
+ - seed: 42
335
+ - eval_max_steps: -1
336
+ - load_best_model_at_end: False
337
+
338
+ ### Training Results
339
+ | Epoch | Step | Training Loss | Validation Loss |
340
+ |:------:|:----:|:-------------:|:---------------:|
341
+ | 0.0002 | 1 | 0.153 | - |
342
+ | 0.0086 | 50 | 0.1179 | - |
343
+ | 0.0172 | 100 | 0.1312 | - |
344
+ | 0.0258 | 150 | 0.0883 | - |
345
+ | 0.0345 | 200 | 0.07 | - |
346
+ | 0.0431 | 250 | 0.0706 | - |
347
+ | 0.0517 | 300 | 0.0462 | - |
348
+ | 0.0603 | 350 | 0.0608 | - |
349
+ | 0.0689 | 400 | 0.0932 | - |
350
+ | 0.0775 | 450 | 0.0726 | - |
351
+ | 0.0862 | 500 | 0.0624 | - |
352
+ | 0.0948 | 550 | 0.0418 | - |
353
+ | 0.1034 | 600 | 0.0417 | - |
354
+ | 0.1120 | 650 | 0.0426 | - |
355
+ | 0.1206 | 700 | 0.0243 | - |
356
+ | 0.1292 | 750 | 0.0387 | - |
357
+ | 0.1379 | 800 | 0.0707 | - |
358
+ | 0.1465 | 850 | 0.0258 | - |
359
+ | 0.1551 | 900 | 0.0182 | - |
360
+ | 0.1637 | 950 | 0.0203 | - |
361
+ | 0.1723 | 1000 | 0.0277 | - |
362
+ | 0.1809 | 1050 | 0.0482 | - |
363
+ | 0.1896 | 1100 | 0.0284 | - |
364
+ | 0.1982 | 1150 | 0.0136 | - |
365
+ | 0.2068 | 1200 | 0.08 | - |
366
+ | 0.2154 | 1250 | 0.0113 | - |
367
+ | 0.2240 | 1300 | 0.0169 | - |
368
+ | 0.2326 | 1350 | 0.0284 | - |
369
+ | 0.2413 | 1400 | 0.0929 | - |
370
+ | 0.2499 | 1450 | 0.0271 | - |
371
+ | 0.2585 | 1500 | 0.0252 | - |
372
+ | 0.2671 | 1550 | 0.0224 | - |
373
+ | 0.2757 | 1600 | 0.0135 | - |
374
+ | 0.2843 | 1650 | 0.0223 | - |
375
+ | 0.2930 | 1700 | 0.0266 | - |
376
+ | 0.3016 | 1750 | 0.0084 | - |
377
+ | 0.3102 | 1800 | 0.0233 | - |
378
+ | 0.3188 | 1850 | 0.039 | - |
379
+ | 0.3274 | 1900 | 0.0264 | - |
380
+ | 0.3360 | 1950 | 0.0165 | - |
381
+ | 0.3446 | 2000 | 0.0113 | - |
382
+ | 0.3533 | 2050 | 0.0394 | - |
383
+ | 0.3619 | 2100 | 0.0142 | - |
384
+ | 0.3705 | 2150 | 0.0421 | - |
385
+ | 0.3791 | 2200 | 0.0355 | - |
386
+ | 0.3877 | 2250 | 0.017 | - |
387
+ | 0.3963 | 2300 | 0.0086 | - |
388
+ | 0.4050 | 2350 | 0.012 | - |
389
+ | 0.4136 | 2400 | 0.0141 | - |
390
+ | 0.4222 | 2450 | 0.0049 | - |
391
+ | 0.4308 | 2500 | 0.0437 | - |
392
+ | 0.4394 | 2550 | 0.0085 | - |
393
+ | 0.4480 | 2600 | 0.0185 | - |
394
+ | 0.4567 | 2650 | 0.0098 | - |
395
+ | 0.4653 | 2700 | 0.0224 | - |
396
+ | 0.4739 | 2750 | 0.0241 | - |
397
+ | 0.4825 | 2800 | 0.0056 | - |
398
+ | 0.4911 | 2850 | 0.028 | - |
399
+ | 0.4997 | 2900 | 0.0601 | - |
400
+ | 0.5084 | 2950 | 0.0169 | - |
401
+ | 0.5170 | 3000 | 0.0286 | - |
402
+ | 0.5256 | 3050 | 0.017 | - |
403
+ | 0.5342 | 3100 | 0.0028 | - |
404
+ | 0.5428 | 3150 | 0.025 | - |
405
+ | 0.5514 | 3200 | 0.009 | - |
406
+ | 0.5601 | 3250 | 0.0161 | - |
407
+ | 0.5687 | 3300 | 0.0072 | - |
408
+ | 0.5773 | 3350 | 0.0047 | - |
409
+ | 0.5859 | 3400 | 0.0066 | - |
410
+ | 0.5945 | 3450 | 0.0101 | - |
411
+ | 0.6031 | 3500 | 0.0116 | - |
412
+ | 0.6118 | 3550 | 0.0153 | - |
413
+ | 0.6204 | 3600 | 0.0075 | - |
414
+ | 0.6290 | 3650 | 0.0071 | - |
415
+ | 0.6376 | 3700 | 0.0116 | - |
416
+ | 0.6462 | 3750 | 0.0073 | - |
417
+ | 0.6548 | 3800 | 0.0113 | - |
418
+ | 0.6634 | 3850 | 0.0475 | - |
419
+ | 0.6721 | 3900 | 0.0067 | - |
420
+ | 0.6807 | 3950 | 0.0111 | - |
421
+ | 0.6893 | 4000 | 0.0101 | - |
422
+ | 0.6979 | 4050 | 0.0084 | - |
423
+ | 0.7065 | 4100 | 0.0089 | - |
424
+ | 0.7151 | 4150 | 0.0035 | - |
425
+ | 0.7238 | 4200 | 0.008 | - |
426
+ | 0.7324 | 4250 | 0.0121 | - |
427
+ | 0.7410 | 4300 | 0.0121 | - |
428
+ | 0.7496 | 4350 | 0.0054 | - |
429
+ | 0.7582 | 4400 | 0.0099 | - |
430
+ | 0.7668 | 4450 | 0.0418 | - |
431
+ | 0.7755 | 4500 | 0.0044 | - |
432
+ | 0.7841 | 4550 | 0.0151 | - |
433
+ | 0.7927 | 4600 | 0.0046 | - |
434
+ | 0.8013 | 4650 | 0.0188 | - |
435
+ | 0.8099 | 4700 | 0.0085 | - |
436
+ | 0.8185 | 4750 | 0.0079 | - |
437
+ | 0.8272 | 4800 | 0.0272 | - |
438
+ | 0.8358 | 4850 | 0.005 | - |
439
+ | 0.8444 | 4900 | 0.0104 | - |
440
+ | 0.8530 | 4950 | 0.0082 | - |
441
+ | 0.8616 | 5000 | 0.0076 | - |
442
+ | 0.8702 | 5050 | 0.0315 | - |
443
+ | 0.8789 | 5100 | 0.0069 | - |
444
+ | 0.8875 | 5150 | 0.0098 | - |
445
+ | 0.8961 | 5200 | 0.0082 | - |
446
+ | 0.9047 | 5250 | 0.0015 | - |
447
+ | 0.9133 | 5300 | 0.0037 | - |
448
+ | 0.9219 | 5350 | 0.0049 | - |
449
+ | 0.9306 | 5400 | 0.0093 | - |
450
+ | 0.9392 | 5450 | 0.0098 | - |
451
+ | 0.9478 | 5500 | 0.0061 | - |
452
+ | 0.9564 | 5550 | 0.0058 | - |
453
+ | 0.9650 | 5600 | 0.0075 | - |
454
+ | 0.9736 | 5650 | 0.027 | - |
455
+ | 0.9823 | 5700 | 0.0285 | - |
456
+ | 0.9909 | 5750 | 0.0032 | - |
457
+ | 0.9995 | 5800 | 0.0098 | - |
458
+
459
+ ### Framework Versions
460
+ - Python: 3.10.14
461
+ - SetFit: 1.0.3
462
+ - Sentence Transformers: 2.6.1
463
+ - Transformers: 4.36.2
464
+ - PyTorch: 2.3.0+cu121
465
+ - Datasets: 2.19.1
466
+ - Tokenizers: 0.15.2
467
+
468
+ ## Citation
469
+
470
+ ### BibTeX
471
+ ```bibtex
472
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
473
+ doi = {10.48550/ARXIV.2209.11055},
474
+ url = {https://arxiv.org/abs/2209.11055},
475
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
476
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
477
+ title = {Efficient Few-Shot Learning Without Prompts},
478
+ publisher = {arXiv},
479
+ year = {2022},
480
+ copyright = {Creative Commons Attribution 4.0 International}
481
+ }
482
+ ```
483
+
484
+ <!--
485
+ ## Glossary
486
+
487
+ *Clearly define terms in order to be accessible across audiences.*
488
+ -->
489
+
490
+ <!--
491
+ ## Model Card Authors
492
+
493
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
494
+ -->
495
+
496
+ <!--
497
+ ## Model Card Contact
498
+
499
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
500
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.36.2",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "2.0.0",
4
+ "transformers": "4.6.1",
5
+ "pytorch": "1.8.1"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null
9
+ }
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:ea2c00fb9c12ea5ee69bee80e351203a6bf755cac5276070eb0ce15c2bf824d0
3
+ size 90864192
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a309db939adaa51b99d56df38bcff14008be433bcd66cc9236f665a71f6a256b
3
+ size 328167
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
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff