Instructions to use voidful/albert_chinese_tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use voidful/albert_chinese_tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="voidful/albert_chinese_tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("voidful/albert_chinese_tiny") model = AutoModelForMaskedLM.from_pretrained("voidful/albert_chinese_tiny", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (16c5b80d9af3e0cfad5978506434f9a08f5412a0) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>62e436e
-
update auto tokenizer support
d40f566
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/voidful/albert_chinese_tiny/README.mdbc1e506
-
Update config.json
6fe5c1f
-
Update config.json
36465de -
Update vocab.txt
910c1e7 -
Update pytorch_model.bin
5fc4386 -
initial commit
827fff6