Instructions to use leomaurodesenv/bert-basketball-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leomaurodesenv/bert-basketball-qa 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="leomaurodesenv/bert-basketball-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("leomaurodesenv/bert-basketball-qa") model = AutoModelForQuestionAnswering.from_pretrained("leomaurodesenv/bert-basketball-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +7 -12
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,7 +18,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [deepset/bert-base-uncased-squad2](https://huggingface.co/deepset/bert-base-uncased-squad2) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 1.
|
| 22 |
- Exact: 79.4118
|
| 23 |
- F1: 82.5210
|
| 24 |
- Total: 68
|
|
@@ -62,17 +62,12 @@ The following hyperparameters were used during training:
|
|
| 62 |
|
| 63 |
| Training Loss | Epoch | Step | Validation Loss | Exact | F1 | Total | Hasans Exact | Hasans F1 | Hasans Total | Best Exact | Best Exact Thresh | Best F1 | Best F1 Thresh |
|
| 64 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-----:|:------------:|:---------:|:------------:|:----------:|:-----------------:|:-------:|:--------------:|
|
| 65 |
-
|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
| No log | 35.0 | 70 | 1.1566 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 72 |
-
| No log | 40.0 | 80 | 1.1653 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 73 |
-
| No log | 45.0 | 90 | 1.1723 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 74 |
-
| 0.1023 | 50.0 | 100 | 1.1777 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 75 |
-
| 0.1023 | 55.0 | 110 | 1.1835 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 76 |
|
| 77 |
|
| 78 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [deepset/bert-base-uncased-squad2](https://huggingface.co/deepset/bert-base-uncased-squad2) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.4612
|
| 22 |
- Exact: 79.4118
|
| 23 |
- F1: 82.5210
|
| 24 |
- Total: 68
|
|
|
|
| 62 |
|
| 63 |
| Training Loss | Epoch | Step | Validation Loss | Exact | F1 | Total | Hasans Exact | Hasans F1 | Hasans Total | Best Exact | Best Exact Thresh | Best F1 | Best F1 Thresh |
|
| 64 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-----:|:------------:|:---------:|:------------:|:----------:|:-----------------:|:-------:|:--------------:|
|
| 65 |
+
| 0.0005 | 5.0 | 10 | 1.3052 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 66 |
+
| 0.0002 | 10.0 | 20 | 1.3620 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 67 |
+
| 0.0001 | 15.0 | 30 | 1.3976 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 68 |
+
| 0.0001 | 20.0 | 40 | 1.4235 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 69 |
+
| 0.0001 | 25.0 | 50 | 1.4453 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
| 70 |
+
| 0.0001 | 30.0 | 60 | 1.4612 | 79.4118 | 82.5210 | 68 | 79.4118 | 82.5210 | 68 | 79.4118 | 0.0 | 82.5210 | 0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 435596088
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:266863d39d89129a28180845041c60d856072759dc00a33920111cd0ab849f81
|
| 3 |
size 435596088
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5304
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ee3c1ea40528eca60ecb183df5d2df3ddd5b90693a16ab18abcbff9d672ba59
|
| 3 |
size 5304
|