i using a HF for zero shot classification , i have 25 categories i want my news title to classify acc. to that category but i am not getting accurate date
i tired to fine tune with small 200 label only its not working
can you please help
Categories = [ "Equity Financing", "Debt Financing", "IPO", "Bankruptcy/financial distress", "financial results", "ESG announcement", "credit rating", "Joint venture", "New product launch", "Investment", "New project announcement", "Project update", "Contract Announcements", "R&D, Patent, copyrights, Trademark updates", "Price & Promotion updates", "Product recall", "Senior executive hiring", "Layoffs and downsizing", "Currency News", "International Trade Updates", "Stock market updates", "Corporate Legal Affairs", "Regulatory News", "Merger & Acquisition" ]
Load the pre-trained zero-shot classifier
classifier = pipeline(“zero-shot-classification”, model=”roberta-large-zeroshot-v2.0-c”)
user25290144 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.