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
Request: DOI
#5
by christopher - opened
Would be great for this model to be citable !
Side question: was this trained from scratch by HF? Is there an original paper to be cited if we use this in a publication?
it was not trained by us, and i think one should look into transformers commit history to find who initially submitted it
went back in time to https://github.com/huggingface/transformers/pull/29 but... 🤷