Instructions to use alycialee/m2-bert-110M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alycialee/m2-bert-110M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="alycialee/m2-bert-110M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("alycialee/m2-bert-110M", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("alycialee/m2-bert-110M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update revision in readme
69a23b8 -
disable inference api, remove tokenizer files, update readme
0405c12
-
fix vocab size in config
4a1d153 -
remove model. prefix from state_dict keys
725617d -
update model file to only contain state_dict[state][model] values
9fbe486
-
update task to fill mask
123da1e -
update readme
f4ea702 -
add model, tokenizer, and src code
eee02a4 -
initial commit
13c37e6