Instructions to use mfeb/albert-xxlarge-v2-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mfeb/albert-xxlarge-v2-squad2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="mfeb/albert-xxlarge-v2-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("mfeb/albert-xxlarge-v2-squad2") model = AutoModelForQuestionAnswering.from_pretrained("mfeb/albert-xxlarge-v2-squad2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload vocab.txt
aa4eafa -
Create README.md
5e78d09
-
Update config.json
e734d35
-
Update special_tokens_map.json
644e20b -
Update tokenizer_config.json
52678ee -
Update null_odds_.json
00ef585 -
Update spiece.model
707f041 -
Update pytorch_model.bin
1188261 -
Update predictions_.json
e08f824 -
Update config.json
457e31e -
Update nbest_predictions_.json
0ddf74f -
Update training_args.bin
33fcf5c -
initial commit
17c3b8b