Instructions to use HIT-TMG/GlyphBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HIT-TMG/GlyphBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HIT-TMG/GlyphBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("HIT-TMG/GlyphBERT") model = AutoModelForMaskedLM.from_pretrained("HIT-TMG/GlyphBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
1d786d3
-
Update README.md
cc3f431 -
Update README.md
16bb34f -
Update README.md
eceb38d -
Upload LICENSE
7470e3c -
Update README.md
Updating the first version of readme.a437efa -
Upload config.json
d728f7a -
Upload vocab.txt
88d67e4
-
Upload pytorch_model.pt
A dictionary including: state_dict is a dict: + "config": the config of pretraining, + "training_state": the training state of pretraining, + "model": GlyphBERT's parametersa9899a4
-
initial commit
43e116c