Instructions to use Lowin/chinese-bigbird-base-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lowin/chinese-bigbird-base-4096 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Lowin/chinese-bigbird-base-4096")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Lowin/chinese-bigbird-base-4096") model = AutoModelForMaskedLM.from_pretrained("Lowin/chinese-bigbird-base-4096", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload vocab.txt
#2
by helonky - opened
vocab.txt has 39999 words doesn't match vocab_size 40000.
Found that ',' hides after '' in line 106.
Thanks for find my bug!
Bug the token embeddings has trained by the order of token in vocab.txt,it can't be revised...
Sadlly