Instructions to use google-bert/bert-base-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-base-chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-base-chinese")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-chinese") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-base-chinese") - Inference
- Notebooks
- Google Colab
- Kaggle
Model card
#1
by Marissa - opened
Your model is awesome and we see it is being used a ton! As part of our ethical work @huggingface, we are working to improve and increase adoption of model cards. Would you be open to us adding a model card to your model through a PR?
-Marissa & Ezi (@Es-O), Hugging Face research interns working on model cards!