Instructions to use BrianTin/MTBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BrianTin/MTBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="BrianTin/MTBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("BrianTin/MTBERT") model = AutoModelForMaskedLM.from_pretrained("BrianTin/MTBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (52fea828be9f3503c43908a305f685a0b6aa9a6a) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>820314a
-
upload flax model
cf1b957 -
allow flax
ca5328c
-
Update tokenizer_config.json
06fde36 -
Update .DS_Store
1e42b10 -
Update pytorch_model.bin
cc0ff7f -
Update vocab.txt
491dde4 -
Update config.json
f749d86 -
Update special_tokens_map.json
22e49be -
Update tokenizer_config.json
6b4bfd9 -
Update .DS_Store
685f334 -
initial commit
9352c49