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

IDEA-CCNL
/
Erlangshen-MacBERT-325M-TextMatch-Chinese

Fill-Mask
Transformers
PyTorch
Chinese
bert
classification
Model card Files Files and versions
xet
Community
1

Instructions to use IDEA-CCNL/Erlangshen-MacBERT-325M-TextMatch-Chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use IDEA-CCNL/Erlangshen-MacBERT-325M-TextMatch-Chinese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="IDEA-CCNL/Erlangshen-MacBERT-325M-TextMatch-Chinese")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-MacBERT-325M-TextMatch-Chinese")
    model = AutoModelForMaskedLM.from_pretrained("IDEA-CCNL/Erlangshen-MacBERT-325M-TextMatch-Chinese")
  • Notebooks
  • Google Colab
  • Kaggle
Erlangshen-MacBERT-325M-TextMatch-Chinese
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
Zimix's picture
Zimix
Update README.md
d4e4ec5 about 3 years ago
  • .gitattributes
    1.43 kB
    initial commit over 3 years ago
  • README.md
    4.12 kB
    Update README.md about 3 years ago
  • added_tokens.json
    2.43 kB
    Upload 7 files over 3 years ago
  • config.json
    690 Bytes
    Upload 7 files over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    1.3 GB
    xet
    Upload pytorch_model.bin over 3 years ago
  • special_tokens_map.json
    3.85 kB
    Upload 7 files over 3 years ago
  • tokenizer.json
    476 kB
    Upload 7 files over 3 years ago
  • tokenizer_config.json
    4.19 kB
    Upload 7 files over 3 years ago
  • vocab.txt
    110 kB
    Upload 7 files over 3 years ago