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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SeanD103
/
Longformer_for_financial_sentiment_analysis

Text Classification
Transformers
Safetensors
longformer
Model card Files Files and versions
xet
Community

Instructions to use SeanD103/Longformer_for_financial_sentiment_analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SeanD103/Longformer_for_financial_sentiment_analysis with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SeanD103/Longformer_for_financial_sentiment_analysis")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("SeanD103/Longformer_for_financial_sentiment_analysis")
    model = AutoModelForSequenceClassification.from_pretrained("SeanD103/Longformer_for_financial_sentiment_analysis")
  • Notebooks
  • Google Colab
  • Kaggle
Longformer_for_financial_sentiment_analysis
Ctrl+K
Ctrl+K
  • 1 contributor
History: 23 commits
SeanD103's picture
SeanD103
Update README.md
f4f67a3 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.8 kB
    Update README.md almost 2 years ago
  • config.json
    1.1 kB
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • merges.txt
    456 kB
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • model.safetensors
    595 MB
    xet
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • special_tokens_map.json
    280 Bytes
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • tokenizer.json
    2.11 MB
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • tokenizer_config.json
    1.27 kB
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago
  • vocab.json
    798 kB
    Second version of the Longformer_for_financial_sentiment_analysis model and tokenizer. almost 2 years ago