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

Johnson8187
/
Chinese-Emotion

Text Classification
Transformers
Safetensors
Chinese
xlm-roberta
emotion
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use Johnson8187/Chinese-Emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Johnson8187/Chinese-Emotion with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Johnson8187/Chinese-Emotion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Johnson8187/Chinese-Emotion")
    model = AutoModelForSequenceClassification.from_pretrained("Johnson8187/Chinese-Emotion", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Chinese-Emotion
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
Johnson8187's picture
Johnson8187
Update README.md
76f94d5 verified over 1 year ago
  • .gitattributes
    1.57 kB
    model upload over 1 year ago
  • README.md
    7.78 kB
    Update README.md over 1 year ago
  • config.json
    1.22 kB
    model upload over 1 year ago
  • model.safetensors
    2.24 GB
    xet
    model upload over 1 year ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    model upload over 1 year ago
  • special_tokens_map.json
    295 Bytes
    model upload over 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    model upload over 1 year ago
  • tokenizer_config.json
    1.23 kB
    model upload over 1 year ago
  • training_args.bin
    5.18 kB
    xet
    model upload over 1 year ago