Text Classification
Transformers
Joblib
Safetensors
bert
sentiment-analysis
finance
macroeconomics
climate
esg
policy
ensemble
dictionary
finbert
Eval Results (legacy)
text-embeddings-inference
Instructions to use peyterho/macro-sentiment-finbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peyterho/macro-sentiment-finbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="peyterho/macro-sentiment-finbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("peyterho/macro-sentiment-finbert") model = AutoModelForSequenceClassification.from_pretrained("peyterho/macro-sentiment-finbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Bump version to 0.2.0 (fine-tuned models)"
Browse files
macro_sentiment/__init__.py
CHANGED
|
@@ -15,6 +15,12 @@ from macro_sentiment.transformers_ensemble import (
|
|
| 15 |
FinancialRoBERTaHead,
|
| 16 |
ClimateBERTHead,
|
| 17 |
TopicRouter,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
)
|
| 19 |
|
| 20 |
-
__version__ = "0.
|
|
|
|
| 15 |
FinancialRoBERTaHead,
|
| 16 |
ClimateBERTHead,
|
| 17 |
TopicRouter,
|
| 18 |
+
DEFAULT_FINBERT,
|
| 19 |
+
DEFAULT_ROBERTA,
|
| 20 |
+
DEFAULT_CLIMATEBERT,
|
| 21 |
+
ORIGINAL_FINBERT,
|
| 22 |
+
ORIGINAL_ROBERTA,
|
| 23 |
+
ORIGINAL_CLIMATEBERT,
|
| 24 |
)
|
| 25 |
|
| 26 |
+
__version__ = "0.2.0"
|