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
20.6 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
peyterho's picture
peyterho
Upload requirements.txt
6c02f39 verified 3 months ago
  • macro_sentiment
    Upload macro_sentiment/dictionaries.py 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    3.68 kB
    Add README with pipeline documentation 3 months ago
  • requirements.txt
    64 Bytes
    Upload requirements.txt 3 months ago