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-MegatronBert-3.9B-Chinese

Fill-Mask
Transformers
PyTorch
Chinese
megatron-bert
BERT
NLU
FewCLUE
Model card Files Files and versions
xet
Community
2

Instructions to use IDEA-CCNL/Erlangshen-MegatronBert-3.9B-Chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use IDEA-CCNL/Erlangshen-MegatronBert-3.9B-Chinese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="IDEA-CCNL/Erlangshen-MegatronBert-3.9B-Chinese")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-MegatronBert-3.9B-Chinese")
    model = AutoModelForMaskedLM.from_pretrained("IDEA-CCNL/Erlangshen-MegatronBert-3.9B-Chinese", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Erlangshen-MegatronBert-3.9B-Chinese
7.69 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
Zimix's picture
Zimix
Update README.md
69bf01f over 3 years ago
  • .gitattributes
    1.44 kB
    FEAT: first commit about 4 years ago
  • README.md
    5.16 kB
    Update README.md over 3 years ago
  • config.json
    568 Bytes
    FEAT: first commit about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.HalfStorage"

    What is a pickle import?

    7.69 GB
    xet
    FEAT: first commit about 4 years ago
  • special_tokens_map.json
    125 Bytes
    FEAT: first commit about 4 years ago
  • tokenizer_config.json
    421 Bytes
    FEAT: first commit about 4 years ago
  • vocab.txt
    110 kB
    FEAT: first commit about 4 years ago