Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

tohoku-nlp
/
bert-base-japanese-whole-word-masking

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Japanese
bert
Model card Files Files and versions
xet
Community
6

Instructions to use tohoku-nlp/bert-base-japanese-whole-word-masking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tohoku-nlp/bert-base-japanese-whole-word-masking with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="tohoku-nlp/bert-base-japanese-whole-word-masking")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("tohoku-nlp/bert-base-japanese-whole-word-masking")
    model = AutoModelForMaskedLM.from_pretrained("tohoku-nlp/bert-base-japanese-whole-word-masking", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bert-base-japanese-whole-word-masking
1.43 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 13 commits
singletongue's picture
singletongue
lysandre's picture
lysandre HF Staff
Updates incorrect tokenizer configuration file (#3)
861c1ef verified over 2 years ago
  • .gitattributes
    391 Bytes
    allow flax over 5 years ago
  • README.md
    2.14 kB
    Automatic correction of README.md metadata. Contact website@huggingface.co for any question about 5 years ago
  • config.json
    479 Bytes
    [config.json] tokenizer_class: BertJapaneseTokenizer almost 6 years ago
  • flax_model.msgpack
    443 MB
    xet
    upload flax model over 5 years ago
  • pytorch_model.bin
    445 MB
    xet
    Update pytorch_model.bin over 6 years ago
  • tf_model.h5
    545 MB
    xet
    Update tf_model.h5 over 6 years ago
  • tokenizer_config.json
    120 Bytes
    Updates incorrect tokenizer configuration file (#3) over 2 years ago
  • vocab.txt
    258 kB
    Update vocab.txt over 6 years ago