Instructions to use Yt99/SFinBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yt99/SFinBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Yt99/SFinBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Yt99/SFinBERT") model = AutoModelForSequenceClassification.from_pretrained("Yt99/SFinBERT") - Notebooks
- Google Colab
- Kaggle
Model Name
SFinBERT
Description
Utilizing the power of FinBERT, a model specifically trained for financial sentiment analysis, this tool adapts the foundational knowledge of FinBERT through transfer learning to cater to the semiconductor industry's nuances. It's designed to analyze financial news sentiment uniquely tailored to the semiconductor sector, enabling a more precise interpretation of news impacts within this domain. Harnessing both financial and semiconductor-specific insights, this sentiment analyzer offers a refined perspective, making it an essential tool for stakeholders, analysts, and enthusiasts in the semiconductor realm.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Yt99/SFinBERT")
model = AutoModelForSequenceClassification.from_pretrained("Yt99/SFinBERT")
text = "Your example text here."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 7