Instructions to use Akari/albert-base-v2-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Akari/albert-base-v2-finetuned-squad 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="Akari/albert-base-v2-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Akari/albert-base-v2-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("Akari/albert-base-v2-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, step 1000
cc24dc4 -
Training in progress, step 500
5d3cc37 -
Training in progress, step 500
1ddd08e -
Training in progress, step 500
4aa8523
-
Training in progress, step 500
d9b2a70 -
Training in progress, step 500
66b042e -
Training in progress, step 500
39697d0
-
Training in progress, step 500
62bd184 -
End of training
61d2c1b
-
Training in progress, step 500
d522bda -
Training in progress, step 500
a13b233 -
Training in progress, step 500
b77033c -
Training in progress, step 500
8958ffc
-
Training in progress, step 500
86a48d5