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")
  • Notebooks
  • Google Colab
  • Kaggle
macro-sentiment-finbert / macro_sentiment
60.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
peyterho's picture
peyterho
v0.3.0: export MultilingualHead and DEFAULT_MULTILINGUAL
5059d3a verified 3 months ago
  • __init__.py
    724 Bytes
    v0.3.0: export MultilingualHead and DEFAULT_MULTILINGUAL 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
  • finetune.py
    13 kB
    Add custom fine-tuning CLI script 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
    15.1 kB
    v0.3.0: Add multilingual head (XLM-RoBERTa) with language-aware routing 3 months ago