Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

junnyu
/
ChineseBERT-base

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

Instructions to use junnyu/ChineseBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use junnyu/ChineseBERT-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="junnyu/ChineseBERT-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("junnyu/ChineseBERT-base")
    model = AutoModelForMaskedLM.from_pretrained("junnyu/ChineseBERT-base")
  • Notebooks
  • Google Colab
  • Kaggle
ChineseBERT-base
593 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
junnyu's picture
junnyu
add model weights
a25dde7 about 4 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    1.87 kB
    add model weights about 4 years ago
  • config.json
    743 Bytes
    Update config.json almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    592 MB
    xet
    add model weights about 4 years ago
  • tokenizer_config.json
    1.2 MB
    tokenizer config almost 5 years ago
  • vocab.txt
    118 kB
    tokenizer config almost 5 years ago