Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

peyterho
/
macro-sentiment-finbert

Text Classification
Transformers
Joblib
Safetensors
bert
sentiment-analysis
finance
macroeconomics
climate
esg
policy
ensemble
dictionary
finbert
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
macro-sentiment-finbert / macro_sentiment
43.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
peyterho's picture
peyterho
Bump version to 0.2.0 (fine-tuned models)"
1e1f243 verified 3 months ago
  • __init__.py
    676 Bytes
    Bump version to 0.2.0 (fine-tuned models)" 3 months ago
  • data_prep.py
    3.95 kB
    Add data preparation module 3 months ago
  • dictionaries.py
    14.8 kB
    Upload macro_sentiment/dictionaries.py 3 months ago
  • pipeline.py
    6.78 kB
    Upload macro_sentiment/pipeline.py 3 months ago
  • train_meta.py
    5.83 kB
    Add meta-classifier training module 3 months ago
  • transformers_ensemble.py
    11.6 kB
    Add custom model_name support to all heads + update defaults to fine-tuned models 3 months ago