Instructions to use npan1990/squad-distil-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use npan1990/squad-distil-bert 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="npan1990/squad-distil-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("npan1990/squad-distil-bert") model = AutoModelForQuestionAnswering.from_pretrained("npan1990/squad-distil-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 5000
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:859f2b03139ec0ef8add5a62179765981711e1668b0b20230c494a12b8943cc8
|
| 3 |
size 265470032
|
runs/Feb04_14-57-16_nikos-IdeaPad-Gaming-3-16ARH7/events.out.tfevents.1707051438.nikos-IdeaPad-Gaming-3-16ARH7.20807.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:5db5bd98c34e1522422a2329c736110b71acacb2b26af8e983052c59c5cfb38d
|
| 3 |
+
size 5807
|