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

yiyanghkust
/
finbert-tone-chinese

Text Classification
Transformers
Safetensors
Chinese
bert
financial-sentiment-analysis
sentiment-analysis
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • Transformers

    How to use yiyanghkust/finbert-tone-chinese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="yiyanghkust/finbert-tone-chinese", device_map="auto")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("yiyanghkust/finbert-tone-chinese")
    model = AutoModelForSequenceClassification.from_pretrained("yiyanghkust/finbert-tone-chinese", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

more detailed explanation

#3 opened over 1 year ago by
Zaicijin

谢谢伟大的作者!

1
#2 opened over 1 year ago by
XiaoXuMeiYouNLP

Where's the pytorch_model.bin or tf_model.bin,could you send it,please?

#1 opened over 2 years ago by
HoranF
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs