Edit model card

SetFit with sentence-transformers/all-MiniLM-L6-v2

This is a SetFit model that can be used for Text Classification. This SetFit model uses sentence-transformers/all-MiniLM-L6-v2 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. Fine-tuning a Sentence Transformer with contrastive learning.
  2. Training a classification head with features from the fine-tuned Sentence Transformer.

Model Details

Model Description

Model Sources

Model Labels

Label Examples
0
  • 'Federal Reserve Announces Key Interest Rate Decision in Latest Monetary Policy Meeting'
  • 'Central Bank Implements New Monetary Policy Measures to Stimulate Economic Growth'
  • 'Inflation Concerns Prompt Central Bank to Consider Adjusting Monetary Policy Tools'
1
  • 'Government Announces New Fiscal Policy Measures to Boost Economy'
  • 'Experts Analyze the Impact of Fiscal Policy on Inflation Rates'
  • 'Fiscal Policy Changes Expected to Affect Stock Market Performance'
2
  • 'Global Economic Growth Forecasted to Reach 5% in the Next Quarter'
  • 'Tech Sector Drives Economic Growth with Innovation and Investment'
  • 'Emerging Markets Show Promising Signs of Economic Growth'
3
  • 'Inflation hits a 30-year high, causing concerns for consumers'
  • 'Inflation rates hit a 10-year high, causing concern among consumers'
  • 'Experts predict continued rise in inflation for the next quarter'
4
  • 'Federal Reserve Raises Interest Rates for the First Time in a Year'
  • "Global Markets React to Central Bank's Interest Rate Decision"
  • 'How Rising Interest Rates Could Impact Mortgage Rates'
5
  • 'Understanding the Phases of Business Cycles: Expansion, Peak, Contraction, Trough'
  • 'How Business Cycles Impact Economic Growth and Employment Rates'
  • 'Analyzing the Role of Government Policies in Influencing Business Cycles'
6
  • 'Government Debt Reaches Record High Amid Economic Challenges'
  • 'Experts Warn of Growing Government Deficit in the Coming Years'
  • 'Strategies to Tackle Rising Government Debt and Deficit Discussed in Congress'
7
  • 'Federal Reserve announces new round of quantitative easing to boost economy'
  • 'Understanding the impact of quantitative easing on financial markets'
  • 'Experts debate the effectiveness of quantitative easing as a monetary policy tool'
8
  • 'Understanding the Mechanisms of Monetary Policy Transmission in the Economy'
  • "Central Banks' Tools for Effective Monetary Policy Transmission Explained"
  • 'The Impact of Monetary Policy Transmission on Interest Rates and Inflation'
9
  • 'Global Trade War Escalates as Tariffs Increase Between Major Economies'
  • 'International Trade Agreements Under Scrutiny Amid Rising Tensions'
  • 'Brexit Impacting Global Trade Dynamics, Uncertainty Looms'
10
  • 'Emerging Economies Show Resilience Amid Global Uncertainty'
  • 'Investors Flock to Emerging Economies for Growth Opportunities'
  • 'Technology Innovation Drives Growth in Emerging Economies'
11
  • 'IMF Calls for Reform of International Monetary System to Address Global Economic Challenges'
  • 'G20 Leaders Discuss Changes to International Monetary System at Summit Meeting'
  • 'Experts Predict Shift in International Monetary System Amidst Economic Uncertainty'
12
  • 'Global Stock Markets Experience Volatility Amid Economic Uncertainty'
  • 'International Banking Sector Faces Regulatory Challenges in Multiple Countries'
  • 'Currency Exchange Rates Fluctuate as Global Trade Tensions Rise'
13
  • 'New Trade Agreement Signed Between Countries A and B'
  • 'Global Trade Deal Reached After Lengthy Negotiations'
  • 'Trade Agreement Benefits Both Economies, Experts Say'
14
  • 'Global FDI Trends: Insights and Analysis'
  • 'Rising Competition for Foreign Direct Investment'
  • 'Key Factors Influencing FDI Flows in 2021'
15
  • 'Global Migration Trends: How Remittances Impact Sending and Receiving Countries'
  • 'The Role of Remittances in Economic Development of Developing Nations'
  • 'Migration Policies and Their Impact on Remittance Flows'
16
  • 'US Imposes New Economic Sanctions on Iran in Response to Nuclear Program'
  • 'European Union Extends Embargo on Arms Sales to Venezuela'
  • 'Russia Faces Economic Sanctions from Western Countries Over Ukraine Conflict'
17
  • 'Foreign Exchange Markets Experience Volatility Amid Global Economic Uncertainty'
  • 'Investors Turn to Safe-Haven Currencies in Foreign Exchange Markets'
  • 'Central Banks Intervene to Stabilize Foreign Exchange Markets'
18
  • 'Renewable Energy Sources on the Rise: A Look at the Future of Energy Generation'
  • 'Oil Prices Soar Amid Global Supply Concerns and Rising Demand'
  • 'Mining Industry Faces Challenges in Sustainable Resource Extraction Practices'
19
  • 'New Breakthrough Drug Shows Promise in Treating Cancer Patients'
  • 'Healthcare Industry Braces for Impact of FDA Drug Approval Delays'
  • 'Pharmaceutical Company Announces Recall of Blood Pressure Medication'
20
  • 'Home prices soar to record highs in major cities across the country'
  • 'Real estate market experiences a surge in demand as buyers look for larger homes'
  • 'Housing inventory reaches all-time low, driving up competition among buyers'
21
  • 'Consumer Spending Reaches Record High in Q3 of 2021'
  • 'Retail Sales Surge as Consumers Return to Shopping in Stores'
  • 'Online Retailers See Boost in Sales as E-Commerce Gains Popularity'
22
  • 'Global Manufacturing Sector Sees Growth in Industrial Production'
  • 'New Technologies Revolutionize Manufacturing Processes'
  • 'Factory Automation on the Rise in Industrial Production Sector'
23
  • 'Global Shipping Industry Faces Supply Chain Challenges Amidst Pandemic'
  • 'Rise of Autonomous Vehicles Revolutionizing Transportation Sector'
  • 'Logistics Companies Embrace Digitalization for Enhanced Efficiency'
24
  • 'Telecommunications Giant Announces Plans for 5G Expansion'
  • 'Internet Service Providers Face Criticism for Slow Speeds and Unreliable Connections'
  • 'Telecom Companies Invest Billions in Infrastructure Upgrades to Support Increased Demand'
25
  • 'Global Tourism Industry Sees Recovery as Travel Restrictions Ease'
  • 'Hospitality Sector Adapts to New Health and Safety Standards Post-Pandemic'
  • 'Top Destinations for Eco-Friendly Tourism in 2022 Revealed'
26
  • 'Global Food Security Concerns Rise as Climate Change Impacts Agriculture'
  • 'Organic Farming Practices on the Rise for Sustainable Food Production'
  • 'New Technology Aims to Revolutionize Agriculture Industry'
27
  • 'SpaceX Successfully Launches New Satellite into Orbit'
  • 'Boeing Wins Multi-Billion Dollar Contract for Military Aircraft'
  • 'Lockheed Martin Develops Advanced Radar Technology for Defense Systems'
28
  • 'New Legislation Aims to Improve Accessibility of Public Utilities'
  • 'Water Conservation Efforts in Urban Areas Yield Positive Results'
  • 'Electricity Grid Upgrades to Enhance Reliability and Efficiency'
29
  • 'Global Mining Industry Faces Challenges Amid Rising Demand for Resources'
  • 'New Extraction Technologies Revolutionize Mining Practices'
  • 'Environmental Concerns Mount as Mining Activities Expand'
30
  • 'New Breakthrough in Sustainable Chemical Production Discovered'
  • 'Materials Scientists Develop Advanced Nanomaterial for Energy Storage'
  • 'Chemical Industry Forecasted to Experience Rapid Growth in Coming Years'
31
  • 'Global Demand for Paper Products on the Rise, Boosting Forestry Industry'
  • 'Deforestation Concerns Prompt Calls for Sustainable Forestry Practices'
  • 'Paper Recycling Rates Reach All-Time High, Impacting Paper Products Market'
32
  • 'New Study Shows Benefits of Sustainable Fishing Practices'
  • 'Aquaculture Industry Sees Record Growth in Production'
  • 'Fishermen Struggle with Declining Fish Stocks'
33
  • 'Global Textile Industry Sees Surge in Demand for Sustainable Fabrics'
  • 'Fashion Brands Embrace Circular Economy Practices in Apparel Production'
  • 'Textile Innovations Revolutionize the Performance Wear Market'
34
  • 'Luxury Brands Report Record Sales Despite Economic Challenges'
  • 'Demand for High-End Fashion and Accessories Soars in Global Markets'
  • 'Luxury Travel Industry Sees Surge in Bookings as Restrictions Ease'
35
  • 'New Superstar Joins Major League Soccer Team'
  • 'Celebrity Couple Announces Surprise Engagement'
  • 'Boxing Champion Set to Defend Title in Upcoming Match'
36
  • 'Digital Transformation in Media and Publishing: Trends and Challenges'
  • 'Big Changes Coming to the Publishing Industry: What to Expect'
  • 'The Future of Media: Innovations Reshaping the Industry'
37
  • 'Top Trends in Education Services for 2021'
  • 'How Education Services Are Adapting to Remote Learning Challenges'
  • 'The Future of Online Education Services: Opportunities and Challenges'
38
  • 'Top Trends in Consulting and Business Services for 2021 Revealed'
  • 'How Consulting Firms Are Adapting to the Remote Work Environment'
  • 'The Impact of Digital Transformation on Business Consulting Services'
39
  • 'New Regulations Impacting Legal Services Industry Announced'
  • 'Top Law Firms Facing Scrutiny Over Compliance Issues'
  • 'Changes in Legal Services Market Demand Regulatory Adaptations'
40
  • 'New Recycling Program Aims to Reduce Waste in Local Communities'
  • 'Innovative Technology Revolutionizing Waste Management Practices'
  • 'Government Initiatives Encourage Sustainable Recycling Efforts'
41
  • 'Artificial Intelligence: The Future of Technology'
  • 'How AI is Revolutionizing Industries Across the Globe'
  • 'The Ethics of Artificial Intelligence: A Deep Dive'
42
  • 'New AI-powered robotic arm revolutionizes manufacturing industry'
  • 'Robotics and Automation Expo showcases cutting-edge technology advancements'
  • 'Automation in agriculture: How robots are transforming farming practices'
43
  • 'Major Data Breach Exposes Millions of User Records'
  • 'Cybersecurity Threats on the Rise: How to Protect Your Data'
  • 'Government Agencies Implementing New Cybersecurity Measures'
44
  • 'Bitcoin Surpasses $50,000 Mark, Setting New Record High'
  • 'Ethereum Hits All-Time High Amidst Bullish Market Trends'
  • 'Investors Flock to Cryptocurrency as Traditional Markets Remain Volatile'
45
  • 'Quantum Computing Breakthrough: New Algorithm Solves Cryptography Challenges Faster'
  • 'The Future of Cryptography: How Quantum Computing Is Shaping Security Measures'
  • 'Quantum Supremacy Achieved in Cryptography: What It Means for Data Encryption'
46
  • 'New AI technology revolutionizes healthcare industry'
  • 'Tech giants collaborate to develop cutting-edge quantum computing technology'
  • 'Innovative startups disrupt traditional industries with blockchain solutions'
47
  • 'Global tech giants battle over patent infringement in court'
  • 'New patent law changes spark debate among legal experts'
  • 'Intellectual property rights under scrutiny in latest trade negotiations'
48
  • 'Breakthrough in Nanotechnology: New Material Enhances Solar Cell Efficiency by 30%'
  • 'Researchers Develop Self-Healing Nanomaterials for Sustainable Infrastructure'
  • 'Nanotechnology Revolutionizing Drug Delivery Systems for Targeted Therapy'
49
  • 'SpaceX Launches New Commercial Satellite into Orbit'
  • 'NASA Partners with Private Companies for Lunar Exploration Mission'
  • 'Virgin Galactic Plans First Space Tourist Flight for Next Year'
50
  • 'Renewable Energy Sector Sees Record Investments in 2021'
  • 'Solar Power Surpasses Coal in Energy Generation for the First Time'
  • 'New Breakthrough in Wind Turbine Technology Increases Efficiency by 20%'
51
  • 'The Impact of Digital Economy on Global Markets'
  • 'Emerging Trends in the Digital Economy Sector'
  • 'How Digital Transformation is Reshaping the Economy'
52
  • 'How FinTech is Revolutionizing the Banking Industry'
  • 'The Future of Payments: FinTech Innovations to Watch Out For'
  • 'Top FinTech Startups Making Waves in the Industry'
53
  • 'The Rise of Robo-Advisors in Financial Planning'
  • 'How Robo-Advisors Are Disrupting the Investment Industry'
  • 'Robo-Advisors: The Future of Wealth Management'
54
  • 'Regulators Crack Down on High-Frequency Trading Practices'
  • 'High-Frequency Trading Firms Face Increased Scrutiny from Authorities'
  • 'The Impact of High-Frequency Trading on Stock Market Volatility'
55
  • 'The Rise of Algorithmic Trading in Financial Markets'
  • 'How Algorithmic Trading Is Changing the Game for Investors'
  • 'Exploring the Impact of Algorithms on Stock Market Volatility'
56
  • 'New Study Shows Positive Impact of Renewable Energy on Environmental Sustainability'
  • 'Global Efforts to Combat Climate Change and Promote Environmental Sustainability'
  • 'Companies Embracing Eco-Friendly Practices for Environmental Sustainability'
57
  • 'Scientists Warn of Irreversible Climate Change Impact by 2030'
  • 'Global Leaders Take Action to Combat Climate Crisis at COP26 Summit'
  • 'Rising Sea Levels Threaten Coastal Cities Due to Climate Change'
58
  • 'Income Inequality Widens as Wealth Gap Grows'
  • 'Report Shows Income Inequality at Record High'
  • 'Rising Income Inequality Sparks Debate in Congress'
59
  • 'Major corporations face backlash over human rights violations in supply chains'
  • 'Businesses under scrutiny for exploiting labor in developing countries'
  • 'New report highlights the intersection of human rights and corporate responsibility'
60
  • 'Government Announces New Initiative to Combat Poverty and Hunger'
  • 'Non-Profit Organization Launches Campaign to Provide Aid to Families in Poverty'
  • 'Global Leaders Meet to Discuss Strategies for Poverty Alleviation'
61
  • 'UN Report Highlights Progress in Sustainable Development Goals'
  • 'Countries Pledge to Take Action for Sustainable Development at UN Summit'
  • 'Renewable Energy Sources Key to Achieving Sustainable Development Targets'
62
  • 'Global Efforts to Promote Financial Inclusion Accelerate Amid Economic Challenges'
  • 'Fintech Innovations Driving Financial Inclusion Across Emerging Markets'
  • 'Government Initiatives Expand Access to Financial Services for Underserved Communities'
63
  • 'The Role of Circular Economy in Sustainable Development'
  • 'Circular Economy Practices to Reduce Waste and Promote Recycling'
  • 'How Circular Economy Models Are Reshaping Industries'
64
  • 'Global Economic Inequality Reaches Record High Levels'
  • 'Study Shows Economic Inequality Widening in Developed Countries'
  • 'Rising Economic Inequality Threatens Social Stability, Experts Warn'
65
  • 'Study shows income inequality widening despite social welfare programs'
  • 'Government announces new initiatives to address income inequality'
  • 'Experts warn of growing wealth gap in society'
66
  • 'Global Aid Organizations Join Forces to Tackle Humanitarian Crises'
  • 'United Nations Launches New Initiative for Sustainable Development in Developing Countries'
  • 'International Donors Increase Funding for Education Programs in Low-Income Countries'
67
  • 'Nonprofit Organizations See Surge in Donations Amid Global Crisis'
  • 'Charitable Organizations Rally to Support Vulnerable Communities'
  • 'How Nonprofits Are Adapting to Virtual Fundraising Events'
68
  • 'Unemployment Rate Drops to Record Low in Labor Market Boom'
  • 'Labor Market Sees Surge in Job Openings Amid Economic Recovery'
  • 'Workers Demand Higher Wages as Labor Market Tightens'
69
  • 'Labor Productivity Sees Significant Increase in Key Industries'
  • 'Experts Analyze Factors Affecting Labor Productivity Growth'
  • 'New Study Reveals Strategies to Boost Labor Productivity in the Workplace'
70
  • 'New Study Shows Positive Impact of Early Childhood Education on Long-Term Human Capital Development'
  • 'Education Gap Widens Between Socioeconomic Classes, Highlighting Inequality in Human Capital Investment'
  • 'Tech Companies Invest in Education Initiatives to Develop Future Human Capital Pool'
71
  • 'Experts predict significant demographic shifts as population ages'
  • 'Aging population poses challenges for healthcare systems worldwide'
  • 'Demographic shift towards older population impacting workforce dynamics'
72
  • 'The Rise of Gig Work: How the Sharing Economy is Shaping the Future of Work'
  • "Exploring the Impact of Sharing Economy Platforms on Gig Workers' Income"
  • 'From Uber to Airbnb: Navigating the Gig Economy in the Sharing Economy Era'
73
  • 'Small Business Owners Adapt to Survive in Challenging Times'
  • 'Entrepreneurs Find Success in Niche Markets'
  • 'The Rise of Remote Work: How Small Businesses Are Adapting'
74
  • 'Tensions rise as countries engage in geopolitical power struggles'
  • 'Global leaders meet to discuss geopolitical challenges and conflicts'
  • 'Geopolitical tensions escalate in key regions around the world'
75
  • 'New Study Shows Effectiveness of Vaccination Campaign in Disease Control'
  • 'Public Health Officials Warn of Potential Disease Outbreak in Urban Areas'
  • 'Global Efforts to Improve Public Health Infrastructure in Developing Countries'
76
  • 'The Future of Urbanization: Sustainable City Planning Strategies'
  • 'Rapid Urbanization Challenges: Infrastructure Strain and Overcrowding'
  • 'Smart Cities Revolutionizing Urban Planning and Development'
77
  • "Biden unveils $2 trillion infrastructure plan to rebuild America's roads and bridges"
  • 'Infrastructure bill passes Senate, paving the way for major investments in public works'
  • 'Cities invest in smart infrastructure to improve efficiency and sustainability'
78
  • 'Stock Market Hits Record Highs Amid Economic Recovery'
  • 'Investors Flock to Cryptocurrency as Bitcoin Surges'
  • 'Tech Stocks Rally as Big Tech Companies Beat Earnings Expectations'
79
  • 'New Trends in Insurance and Risk Management for 2021'
  • 'How Technology is Revolutionizing Insurance and Risk Management'
  • 'The Impact of Climate Change on Insurance and Risk Management Practices'
80
  • 'Experts predict economic growth based on new forecasting models'
  • 'Latest economic models suggest a downturn in the market'
  • 'Economic forecasters revise GDP projections for the upcoming quarter'
81
  • 'Top Companies Embracing Transparent Corporate Governance Practices'
  • 'Investors Demand Stronger Corporate Governance Policies from Corporations'
  • 'The Role of Board Diversity in Effective Corporate Governance'
82
  • 'Government Announces New Market Regulations to Ensure Fair Competition'
  • 'Market Regulators Crack Down on Insider Trading Practices'
  • 'Investors React to Proposed Changes in Market Regulation Policies'
83
  • 'US Congress Introduces New Antitrust Legislation to Tackle Big Tech Monopolies'
  • 'EU Regulators Investigate Alleged Antitrust Violations by Tech Giants'
  • 'Antitrust Scrutiny Grows as Global Competition Policies Tighten'
84
  • 'Global oil prices surge as demand picks up in post-pandemic recovery'
  • 'Gold prices hit new record high as investors seek safe-haven assets'
  • 'Commodities rally as supply chain disruptions continue to impact global markets'
85
  • 'Private Equity Firm Acquires Tech Startup for $100 Million'
  • 'Venture Capital Investment Soars to Record High in Q3 2021'
  • 'Top Private Equity Deals of the Year Revealed'
86
  • 'Sovereign Wealth Funds Increase Investments in Tech Startups'
  • 'Global Sovereign Wealth Funds See Record Returns in 2021'
  • 'Sovereign Wealth Funds Diversify into Renewable Energy Projects'
87
  • 'Pension Funds See Record Returns in Q3 Despite Market Volatility'
  • 'Experts Predict Increase in Pension Fund Contributions for 2022'
  • 'Government Announces Reforms to Pension Fund Regulations'
88
  • 'Hedge Funds See Record Inflows in Q3 Despite Market Volatility'
  • 'Top Hedge Fund Managers Reveal Their Latest Investment Strategies'
  • 'Regulators Crack Down on Hedge Funds for Insider Trading'
89
  • 'ETFs See Record Inflows as Investors Seek Diversification'
  • 'Top ETFs to Watch in 2021 for Potential Growth Opportunities'
  • 'How ETFs Are Reshaping the Investment Landscape'
90
  • 'Tech Giant Acquires Startup in Billion-Dollar Deal'
  • 'Merger Mania: Companies Join Forces to Expand Market Share'
  • 'Investors Eyeing Potential M&A Opportunities in the Healthcare Sector'
91
  • 'Tech Company XYZ Files for IPO, Aims to Raise $1 Billion'
  • 'Investors Eagerly Await IPO of Startup Unicorn Inc.'
  • 'IPO Market Booming as Companies Rush to Go Public'
92
  • 'Bond Markets Experience Volatility Amid Economic Uncertainty'
  • 'Investors Flock to Bond Markets as Safe Haven Amid Stock Market Turmoil'
  • 'Yield Curve Inversion Sparks Concerns in Bond Markets'
93
  • 'Derivative Markets See Increased Volatility Amid Global Economic Uncertainty'
  • 'Investors Turn to Derivative Markets for Hedging Strategies During Market Turmoil'
  • 'Regulatory Changes Impacting Derivative Markets Trading Volume'
94
  • 'Yield Curve Inversion Sparks Economic Concerns'
  • 'Investors Nervous as Yield Curve Flattens'
  • 'Understanding the Impact of Yield Curve on Markets'
95
  • 'Fitch Upgrades Credit Rating for Several Major Corporations'
  • "Moody's Downgrades Credit Rating of Government Bonds"
  • 'S&P Affirms Stable Credit Rating Outlook for Global Banks'
96
  • 'Global Financial Stability Report Warns of Growing Risks in the Economy'
  • 'Central Banks Take Measures to Ensure Financial Stability Amid Uncertainty'
  • 'Experts Debate the Impact of Digital Currencies on Financial Stability'
97
  • 'Understanding Systemic Risk: What Investors Need to Know'
  • 'Global Financial Markets Brace for Impact of Systemic Risk'
  • 'Experts Warn of Growing Systemic Risks in the Banking Sector'
98
  • 'Short Selling: What You Need to Know About Betting Against Stocks'
  • 'Short Selling Explained: How Traders Profit from Market Declines'
  • 'The Risks and Rewards of Short Selling in the Stock Market'
99
  • 'The Rise of Leveraged Buyouts in Corporate Finance'
  • 'Understanding the Mechanics of Leveraged Buyouts'
  • 'Key Players in the World of Leveraged Buyouts'
100
  • 'Distressed Debt Market Surges Amid Economic Uncertainty'
  • 'Investors Eye Opportunities in Distressed Debt Sector'
  • 'Distressed Debt Funds See Increased Interest from Institutional Investors'
101
  • 'The Rise of Angel Investing: How Startups are Attracting Funding from Angel Investors'
  • 'Angel Investing 101: What You Need to Know Before Investing in Startups'
  • 'The Benefits of Angel Investing for both Investors and Entrepreneurs'
102
  • 'Crowdfunding platform raises $10 million in funding round'
  • 'How crowdfunding is changing the way startups raise capital'
  • 'Top 10 most successful crowdfunding campaigns of all time'
103
  • 'The Future of Supply Chain Management: Trends to Watch Out For'
  • 'How Technology is Revolutionizing Supply Chain Management'
  • 'Challenges Faced by Supply Chain Managers in Global Operations'
104
  • 'Central banks exploring the potential of digital currencies to modernize payment systems'
  • 'Rise of Central Bank Digital Currencies: What you need to know'
  • 'Countries considering the issuance of Central Bank Digital Currencies (CBDCs)'
105
  • 'Investor Sentiment Shifts as Market Volatility Rises'
  • 'Market Sentiment Index Reaches All-Time High'
  • 'Traders Bullish on Market Outlook, Survey Shows'

Uses

Direct Use for Inference

First install the SetFit library:

pip install setfit

Then you can load this model and run inference.

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")

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

@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}
}
Downloads last month
72
Safetensors
Model size
22.7M params
Tensor type
F32
·
Inference API
This model can be loaded on Inference API (serverless).

Finetuned from