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 1000
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:2f143c661c3cad05c13283d15e75cf45ff217ad34aa1c86e926e129c8ee493f5
|
| 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:30aae5657e55088e0a1bbde961aa0e795403cefbfa27261877e4b5a5947c0336
|
| 3 |
+
size 5366
|