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 8000
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:0a69fc835590746571d7f8033c3e66bbe58a6865e7ca85d56503be61e24f236a
|
| 3 |
size 265470032
|
runs/Feb04_13-02-13_nikos-IdeaPad-Gaming-3-16ARH7/events.out.tfevents.1707044535.nikos-IdeaPad-Gaming-3-16ARH7.16944.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:58d65996959aa8444b18ccf304ad97ca6d394a54b71c21da4a53b0c583949615
|
| 3 |
+
size 6749
|