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

AnkitAI
/
FinSense-ModernBERT-Financial-News-Sentiment-Analysis

Text Classification
Transformers
Safetensors
English
modernbert
financial-sentiment-analysis
sentiment-analysis
financial-news
finance
stocks
trading
finbert-alternative
sentiment
fintech
news
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use AnkitAI/FinSense-ModernBERT-Financial-News-Sentiment-Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AnkitAI/FinSense-ModernBERT-Financial-News-Sentiment-Analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="AnkitAI/FinSense-ModernBERT-Financial-News-Sentiment-Analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("AnkitAI/FinSense-ModernBERT-Financial-News-Sentiment-Analysis")
    model = AutoModelForSequenceClassification.from_pretrained("AnkitAI/FinSense-ModernBERT-Financial-News-Sentiment-Analysis", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
FinSense-ModernBERT-Financial-News-Sentiment-Analysis / eval
7.88 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
AnkitAI's picture
AnkitAI
Upload eval/result_ModernBERT-base-s44.json with huggingface_hub
89b1b75 verified 5 days ago
  • incumbents_same_split.json
    481 Bytes
    Upload eval/incumbents_same_split.json with huggingface_hub 8 days ago
  • result_ModernBERT-base-s43.json
    442 Bytes
    Upload eval/result_ModernBERT-base-s43.json with huggingface_hub 5 days ago
  • result_ModernBERT-base-s44.json
    439 Bytes
    Upload eval/result_ModernBERT-base-s44.json with huggingface_hub 5 days ago
  • result_finsense.json
    442 Bytes
    Upload eval/result_finsense.json with huggingface_hub 8 days ago
  • train_and_eval.py
    6.08 kB
    Upload eval/train_and_eval.py with huggingface_hub 8 days ago