trainer_topic / README.md
snowdere's picture
Add SetFit model
c47d19d verified
---
base_model: sentence-transformers/all-MiniLM-L6-v2
library_name: setfit
metrics:
- accuracy
pipeline_tag: text-classification
tags:
- setfit
- sentence-transformers
- text-classification
- generated_from_setfit_trainer
widget:
- text: Government Announces Reforms to Pension Fund Regulations
- text: 'Quantum Computing Breakthrough: New Algorithm Solves Cryptography Challenges
Faster'
- text: Regulatory Oversight of Short Selling Practices in Financial Markets
- text: Urban Planning Strategies Focus on Sustainable Development Principles
- text: Telehealth Services See Surge in Demand Amid Pandemic
inference: true
---
# SetFit with sentence-transformers/all-MiniLM-L6-v2
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.
The model has been trained using an efficient few-shot learning technique that involves:
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
2. Training a classification head with features from the fine-tuned Sentence Transformer.
## Model Details
### Model Description
- **Model Type:** SetFit
- **Sentence Transformer body:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co./sentence-transformers/all-MiniLM-L6-v2)
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
- **Maximum Sequence Length:** 256 tokens
- **Number of Classes:** 106 classes
<!-- - **Training Dataset:** [Unknown](https://huggingface.co./datasets/unknown) -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->
### Model Sources
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co./blog/setfit)
### Model Labels
| Label | Examples |
|:------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
| 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> |
## 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("snowdere/trainer_topic")
# Run inference
preds = model("Telehealth Services See Surge in Demand Amid Pandemic")
```
<!--
### 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 set | Min | Median | Max |
|:-------------|:----|:-------|:----|
| Word count | 4 | 9.0495 | 17 |
| Label | Training Sample Count |
|:------|:----------------------|
| 0 | 120 |
| 1 | 100 |
| 2 | 40 |
| 3 | 21 |
| 4 | 20 |
| 5 | 20 |
| 6 | 20 |
| 7 | 20 |
| 8 | 20 |
| 9 | 20 |
| 10 | 20 |
| 11 | 20 |
| 12 | 20 |
| 13 | 20 |
| 14 | 20 |
| 15 | 20 |
| 16 | 20 |
| 17 | 20 |
| 18 | 20 |
| 19 | 20 |
| 20 | 20 |
| 21 | 20 |
| 22 | 20 |
| 23 | 20 |
| 24 | 20 |
| 25 | 20 |
| 26 | 20 |
| 27 | 20 |
| 28 | 20 |
| 29 | 20 |
| 30 | 20 |
| 31 | 20 |
| 32 | 20 |
| 33 | 20 |
| 34 | 20 |
| 35 | 20 |
| 36 | 20 |
| 37 | 20 |
| 38 | 20 |
| 39 | 20 |
| 40 | 20 |
| 41 | 20 |
| 42 | 20 |
| 43 | 20 |
| 44 | 20 |
| 45 | 20 |
| 46 | 20 |
| 47 | 20 |
| 48 | 20 |
| 49 | 20 |
| 50 | 20 |
| 51 | 20 |
| 52 | 20 |
| 53 | 20 |
| 54 | 20 |
| 55 | 20 |
| 56 | 20 |
| 57 | 20 |
| 58 | 20 |
| 59 | 20 |
| 60 | 20 |
| 61 | 20 |
| 62 | 20 |
| 63 | 20 |
| 64 | 20 |
| 65 | 20 |
| 66 | 20 |
| 67 | 20 |
| 68 | 20 |
| 69 | 20 |
| 70 | 20 |
| 71 | 20 |
| 72 | 20 |
| 73 | 20 |
| 74 | 20 |
| 75 | 20 |
| 76 | 20 |
| 77 | 20 |
| 78 | 20 |
| 79 | 20 |
| 80 | 20 |
| 81 | 20 |
| 82 | 20 |
| 83 | 20 |
| 84 | 20 |
| 85 | 20 |
| 86 | 20 |
| 87 | 20 |
| 88 | 20 |
| 89 | 20 |
| 90 | 20 |
| 91 | 20 |
| 92 | 20 |
| 93 | 20 |
| 94 | 20 |
| 95 | 20 |
| 96 | 20 |
| 97 | 20 |
| 98 | 20 |
| 99 | 20 |
| 100 | 20 |
| 101 | 20 |
| 102 | 20 |
| 103 | 20 |
| 104 | 20 |
| 105 | 20 |
### Training Hyperparameters
- batch_size: (16, 16)
- num_epochs: (1, 1)
- max_steps: -1
- sampling_strategy: oversampling
- num_iterations: 20
- body_learning_rate: (2e-05, 2e-05)
- head_learning_rate: 2e-05
- loss: CosineSimilarityLoss
- distance_metric: cosine_distance
- margin: 0.25
- end_to_end: False
- use_amp: False
- warmup_proportion: 0.1
- seed: 42
- eval_max_steps: -1
- load_best_model_at_end: False
### Training Results
| Epoch | Step | Training Loss | Validation Loss |
|:------:|:----:|:-------------:|:---------------:|
| 0.0002 | 1 | 0.153 | - |
| 0.0086 | 50 | 0.1179 | - |
| 0.0172 | 100 | 0.1312 | - |
| 0.0258 | 150 | 0.0883 | - |
| 0.0345 | 200 | 0.07 | - |
| 0.0431 | 250 | 0.0706 | - |
| 0.0517 | 300 | 0.0462 | - |
| 0.0603 | 350 | 0.0608 | - |
| 0.0689 | 400 | 0.0932 | - |
| 0.0775 | 450 | 0.0726 | - |
| 0.0862 | 500 | 0.0624 | - |
| 0.0948 | 550 | 0.0418 | - |
| 0.1034 | 600 | 0.0417 | - |
| 0.1120 | 650 | 0.0426 | - |
| 0.1206 | 700 | 0.0243 | - |
| 0.1292 | 750 | 0.0387 | - |
| 0.1379 | 800 | 0.0707 | - |
| 0.1465 | 850 | 0.0258 | - |
| 0.1551 | 900 | 0.0182 | - |
| 0.1637 | 950 | 0.0203 | - |
| 0.1723 | 1000 | 0.0277 | - |
| 0.1809 | 1050 | 0.0482 | - |
| 0.1896 | 1100 | 0.0284 | - |
| 0.1982 | 1150 | 0.0136 | - |
| 0.2068 | 1200 | 0.08 | - |
| 0.2154 | 1250 | 0.0113 | - |
| 0.2240 | 1300 | 0.0169 | - |
| 0.2326 | 1350 | 0.0284 | - |
| 0.2413 | 1400 | 0.0929 | - |
| 0.2499 | 1450 | 0.0271 | - |
| 0.2585 | 1500 | 0.0252 | - |
| 0.2671 | 1550 | 0.0224 | - |
| 0.2757 | 1600 | 0.0135 | - |
| 0.2843 | 1650 | 0.0223 | - |
| 0.2930 | 1700 | 0.0266 | - |
| 0.3016 | 1750 | 0.0084 | - |
| 0.3102 | 1800 | 0.0233 | - |
| 0.3188 | 1850 | 0.039 | - |
| 0.3274 | 1900 | 0.0264 | - |
| 0.3360 | 1950 | 0.0165 | - |
| 0.3446 | 2000 | 0.0113 | - |
| 0.3533 | 2050 | 0.0394 | - |
| 0.3619 | 2100 | 0.0142 | - |
| 0.3705 | 2150 | 0.0421 | - |
| 0.3791 | 2200 | 0.0355 | - |
| 0.3877 | 2250 | 0.017 | - |
| 0.3963 | 2300 | 0.0086 | - |
| 0.4050 | 2350 | 0.012 | - |
| 0.4136 | 2400 | 0.0141 | - |
| 0.4222 | 2450 | 0.0049 | - |
| 0.4308 | 2500 | 0.0437 | - |
| 0.4394 | 2550 | 0.0085 | - |
| 0.4480 | 2600 | 0.0185 | - |
| 0.4567 | 2650 | 0.0098 | - |
| 0.4653 | 2700 | 0.0224 | - |
| 0.4739 | 2750 | 0.0241 | - |
| 0.4825 | 2800 | 0.0056 | - |
| 0.4911 | 2850 | 0.028 | - |
| 0.4997 | 2900 | 0.0601 | - |
| 0.5084 | 2950 | 0.0169 | - |
| 0.5170 | 3000 | 0.0286 | - |
| 0.5256 | 3050 | 0.017 | - |
| 0.5342 | 3100 | 0.0028 | - |
| 0.5428 | 3150 | 0.025 | - |
| 0.5514 | 3200 | 0.009 | - |
| 0.5601 | 3250 | 0.0161 | - |
| 0.5687 | 3300 | 0.0072 | - |
| 0.5773 | 3350 | 0.0047 | - |
| 0.5859 | 3400 | 0.0066 | - |
| 0.5945 | 3450 | 0.0101 | - |
| 0.6031 | 3500 | 0.0116 | - |
| 0.6118 | 3550 | 0.0153 | - |
| 0.6204 | 3600 | 0.0075 | - |
| 0.6290 | 3650 | 0.0071 | - |
| 0.6376 | 3700 | 0.0116 | - |
| 0.6462 | 3750 | 0.0073 | - |
| 0.6548 | 3800 | 0.0113 | - |
| 0.6634 | 3850 | 0.0475 | - |
| 0.6721 | 3900 | 0.0067 | - |
| 0.6807 | 3950 | 0.0111 | - |
| 0.6893 | 4000 | 0.0101 | - |
| 0.6979 | 4050 | 0.0084 | - |
| 0.7065 | 4100 | 0.0089 | - |
| 0.7151 | 4150 | 0.0035 | - |
| 0.7238 | 4200 | 0.008 | - |
| 0.7324 | 4250 | 0.0121 | - |
| 0.7410 | 4300 | 0.0121 | - |
| 0.7496 | 4350 | 0.0054 | - |
| 0.7582 | 4400 | 0.0099 | - |
| 0.7668 | 4450 | 0.0418 | - |
| 0.7755 | 4500 | 0.0044 | - |
| 0.7841 | 4550 | 0.0151 | - |
| 0.7927 | 4600 | 0.0046 | - |
| 0.8013 | 4650 | 0.0188 | - |
| 0.8099 | 4700 | 0.0085 | - |
| 0.8185 | 4750 | 0.0079 | - |
| 0.8272 | 4800 | 0.0272 | - |
| 0.8358 | 4850 | 0.005 | - |
| 0.8444 | 4900 | 0.0104 | - |
| 0.8530 | 4950 | 0.0082 | - |
| 0.8616 | 5000 | 0.0076 | - |
| 0.8702 | 5050 | 0.0315 | - |
| 0.8789 | 5100 | 0.0069 | - |
| 0.8875 | 5150 | 0.0098 | - |
| 0.8961 | 5200 | 0.0082 | - |
| 0.9047 | 5250 | 0.0015 | - |
| 0.9133 | 5300 | 0.0037 | - |
| 0.9219 | 5350 | 0.0049 | - |
| 0.9306 | 5400 | 0.0093 | - |
| 0.9392 | 5450 | 0.0098 | - |
| 0.9478 | 5500 | 0.0061 | - |
| 0.9564 | 5550 | 0.0058 | - |
| 0.9650 | 5600 | 0.0075 | - |
| 0.9736 | 5650 | 0.027 | - |
| 0.9823 | 5700 | 0.0285 | - |
| 0.9909 | 5750 | 0.0032 | - |
| 0.9995 | 5800 | 0.0098 | - |
### Framework Versions
- Python: 3.10.14
- SetFit: 1.0.3
- Sentence Transformers: 2.6.1
- Transformers: 4.36.2
- PyTorch: 2.3.0+cu121
- Datasets: 2.19.1
- Tokenizers: 0.15.2
## 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.*
-->