Instructions to use BaselMousi/distilbert-qa-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BaselMousi/distilbert-qa-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="BaselMousi/distilbert-qa-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("BaselMousi/distilbert-qa-squad") model = AutoModelForQuestionAnswering.from_pretrained("BaselMousi/distilbert-qa-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 1500
Browse files
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:052c18bf05703de0eb34c2bb0e66e2bee7b17527a84f3e4e752c748d74578e60
|
| 3 |
size 265470032
|
runs/Mar26_03-55-49_6abedbe94c7f/events.out.tfevents.1742961353.6abedbe94c7f.5951.0
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:74c97312e332e681c63599fe65bd65f014fde08fc5c586364174563e56797f0b
|
| 3 |
+
size 5577
|