Instructions to use gaya/distilbert-base-uncased-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gaya/distilbert-base-uncased-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="gaya/distilbert-base-uncased-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("gaya/distilbert-base-uncased-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("gaya/distilbert-base-uncased-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse files
config.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
| 19 |
"sinusoidal_pos_embds": false,
|
| 20 |
"tie_weights_": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
-
"transformers_version": "4.35.
|
| 23 |
"vocab_size": 30522
|
| 24 |
}
|
|
|
|
| 19 |
"sinusoidal_pos_embds": false,
|
| 20 |
"tie_weights_": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.35.2",
|
| 23 |
"vocab_size": 30522
|
| 24 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265470032
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9957ac3040c12173e356b71100c6512292bc27bf85e37bb92dd9efff0cbd461
|
| 3 |
size 265470032
|
runs/Nov21_08-20-54_7eaf924ce0bc/events.out.tfevents.1700554862.7eaf924ce0bc.2321.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e74629f53ddd14db9ed9f527dbdccdaaa246be798d003b28ab4bb6f0f9c2ae4
|
| 3 |
+
size 4317
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4600
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c061d8ff60c2d628e32f3ed98ff6d28543ff089579ae2ccbe88b107d5fb68d2
|
| 3 |
size 4600
|