Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

yiyanghkust
/
finbert-fls

Text Classification
Transformers
PyTorch
English
bert
financial-text-analysis
forward-looking-statement
Model card Files Files and versions
xet
Community
4

Instructions to use yiyanghkust/finbert-fls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use yiyanghkust/finbert-fls with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="yiyanghkust/finbert-fls")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("yiyanghkust/finbert-fls")
    model = AutoModelForSequenceClassification.from_pretrained("yiyanghkust/finbert-fls", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
finbert-fls
879 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
Joao Gante
Add TF weights
145577f over 4 years ago
  • .gitattributes
    1.17 kB
    initial commit over 4 years ago
  • README.md
    1.47 kB
    Update README.md over 4 years ago
  • config.json
    761 Bytes
    add README over 4 years ago
  • pytorch_model.bin
    439 MB
    xet
    first commit over 4 years ago
  • tf_model.h5
    439 MB
    xet
    Add TF weights over 4 years ago
  • training_args.bin
    2.16 kB
    xet
    first commit over 4 years ago
  • vocab.txt
    226 kB
    first commit over 4 years ago