Instructions to use albert/albert-xxlarge-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use albert/albert-xxlarge-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="albert/albert-xxlarge-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("albert/albert-xxlarge-v2") model = AutoModelForMaskedLM.from_pretrained("albert/albert-xxlarge-v2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adds the tokenizer configuration file (#3)
Verified signature- Adds tokenizer_config.json file (5e3bd0f01d51209dda1e8254e55482ed55573f5d)97d3e58
-
addition of Rust model (#2)
Verified signature- addition of Rust model (1b58c7edd9de850c43fe286312b0a064a6aeadae) Co-authored-by: Kavan Mevada <kavanmevada@users.noreply.huggingface.co>ff12645
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (ca4032e7991970cfc9a2ca9f77dee5ebbc180fb4) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>c5d4d78
-
Create ALBERT XXLarge v2 model card
aaec31c
-
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/albert-xxlarge-v2-README.mdf86301d
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>cd0ec4d
-
Update tokenizer.json
84f1846
-
Update tokenizer.json
a955483
-
Update tf_model.h5
1d25577
-
Update config.json
05cb870
-
Update with-prefix-tf_model.h5
c2fa6d5
-
Update config.json
e821188
-
Update config.json
d446817
-
Update modelcard.json
51de6b6
-
Update pytorch_model.bin
284acd9
-
Update config.json
48c123d -
Update spiece.model
ea54100 -
initial commit
ab4635a