Instructions to use Langboat/mengzi-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Langboat/mengzi-bert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Langboat/mengzi-bert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Langboat/mengzi-bert-base") model = AutoModelForMaskedLM.from_pretrained("Langboat/mengzi-bert-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
a685cb1 -
Update README.md
0c5248a
-
Update README.md
22e94c7 -
Update README.md
98f9e14 -
Update README.md
6e566fe -
Update README.md
b848b8c -
Update README.md
0e46ac3 -
Update README.md
8838869 -
Update README.md
f0503fb -
Update README.md
2ec65a8
-
Update README.md
cc9c507 -
Update config.json
825b69b -
Update README.md
951395a -
Update README.md
2444d8a -
Upload pytorch_model.bin with git-lfs
b37d754 -
Upload config.json
ba13446 -
Upload tokenizer.json
3028507 -
Upload vocab.txt
67f46c7
-
Create README.md
f97122a -
initial commit
770f5d5