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

iioSnail
/
ChineseBERT-base

Fill-Mask
Transformers
PyTorch
Safetensors
Chinese
bert
feature-extraction
chinesebert
MLM
custom_code
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use iioSnail/ChineseBERT-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="iioSnail/ChineseBERT-base", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("iioSnail/ChineseBERT-base", trust_remote_code=True)
    model = AutoModel.from_pretrained("iioSnail/ChineseBERT-base", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
ChineseBERT-base
1.51 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 36 commits
iioSnail's picture
iioSnail
update
5dea5bb verified over 1 year ago
  • config
    commit almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    2.05 kB
    Update README.md over 2 years ago
  • bert_tokenizer.py
    7.82 kB
    update over 1 year ago
  • config.json
    965 Bytes
    Upload 8 files almost 3 years ago
  • model.safetensors
    592 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • modeling_glycebert.py
    30.6 kB
    update over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    592 MB
    xet
    commit almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    commit almost 3 years ago
  • tokenizer.json
    481 kB
    commit almost 3 years ago
  • tokenizer.py
    3.33 kB
    Update tokenizer.py almost 3 years ago
  • tokenizer_config.json
    502 Bytes
    Upload 8 files almost 3 years ago
  • vocab.txt
    118 kB
    commit almost 3 years ago