Instructions to use JeremiahZ/TinyBERT_4L_zh_backup with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JeremiahZ/TinyBERT_4L_zh_backup with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="JeremiahZ/TinyBERT_4L_zh_backup")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("JeremiahZ/TinyBERT_4L_zh_backup") model = AutoModel.from_pretrained("JeremiahZ/TinyBERT_4L_zh_backup") - Notebooks
- Google Colab
- Kaggle
Tiny BERT 4L zh
This is a backup repo of the official repo.
Now the model can be loaded with
from transformers import AutoModel
model = AutoModel.from_pretrained("JeremiahZ/TinyBERT_4L_zh_backup")
More information on this model can be found here.
- Downloads last month
- 6