how can I use BERT-tiny .. I tried to load bert-base-uncased by this line
transformers.AutoTokenizer.from_pretrained("bert-base-uncased")
but how can I use BERT-tiny, please?
You can use the bert-tiny model uploaded to the huggingface model repository by user prajjwal1. The model card mentions that it uses the checkpoint from the offical Google BERT repository and converted it to pytorch.
import transformers
transformers.AutoTokenizer.from_pretrained("prajjwal1/bert-tiny")