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

IDEA-CCNL
/
Erlangshen-Roberta-330M-Similarity

Text Classification
Transformers
PyTorch
Safetensors
Chinese
bert
roberta
NLU
Similarity
Chinese
Model card Files Files and versions
xet
Community
2

Instructions to use IDEA-CCNL/Erlangshen-Roberta-330M-Similarity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use IDEA-CCNL/Erlangshen-Roberta-330M-Similarity with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="IDEA-CCNL/Erlangshen-Roberta-330M-Similarity")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-Roberta-330M-Similarity")
    model = AutoModelForSequenceClassification.from_pretrained("IDEA-CCNL/Erlangshen-Roberta-330M-Similarity", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Erlangshen-Roberta-330M-Similarity
2.6 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 16 commits
Zimix's picture
Zimix
Update README.md
e8ee6e4 about 3 years ago
  • .gitattributes
    1.27 kB
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • README.md
    3.39 kB
    Update README.md about 3 years ago
  • config.json
    788 Bytes
    Update config.json almost 4 years ago
  • model.safetensors
    1.3 GB
    xet
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • pytorch_model.bin
    1.3 GB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • vocab.txt
    110 kB
    Upload vocab.txt over 4 years ago