Instructions to use phdev/dynamic_tinybert-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phdev/dynamic_tinybert-finetuned-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="phdev/dynamic_tinybert-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("phdev/dynamic_tinybert-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("phdev/dynamic_tinybert-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 4500
Browse files
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265475832
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df4d6b088753fedc47b4ff752b06136fba0660c41d82145ba5dc621a08fa21f3
|
| 3 |
size 265475832
|
runs/Jan22_13-39-21_phdev02/events.out.tfevents.1705941561.phdev02.2976.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:4f655b0a0d57c04da34751281958be0d75d4c7e51613466d89d409373ecc1d1e
|
| 3 |
+
size 5902
|