Instructions to use avecoder/bert-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use avecoder/bert-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="avecoder/bert-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("avecoder/bert-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("avecoder/bert-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 2
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 430957037
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68690dc7cd6e2208c240842e598c85534a249a74bc0e6dd77d277959e58581d0
|
| 3 |
size 430957037
|
runs/Jun29_10-43-03_ea2434b99fa3/events.out.tfevents.1688035420.ea2434b99fa3.564.1
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a70a4bc43daba339f17fbeed2f81ec17d051aaf083e825d022025d4581369a19
|
| 3 |
+
size 10954
|