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 10000
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:1f4677e91dfb2abcebcaddcab2d7d79811b91d1373968f7c6f6a8034338612f5
|
| 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:adfd0204c2ffd2c76461ce6ba6711606ca07159f45215ca0368bcb7058ccdefd
|
| 3 |
+
size 9706
|