Instructions to use kasohrab/electra-distilled-squadv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kasohrab/electra-distilled-squadv2 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="kasohrab/electra-distilled-squadv2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("kasohrab/electra-distilled-squadv2") model = AutoModelForQuestionAnswering.from_pretrained("kasohrab/electra-distilled-squadv2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 4
Browse files
logs/events.out.tfevents.1714017504.persepolis.56460.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:126ca43df7b7b52dd8c38c7084209d1092769c0471c4f63d90c010fa21e4593e
|
| 3 |
+
size 4756
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 54007922
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b188a272c5c3f334837f66e775aaa6801c32db44da1df718aae4f0717d6010d
|
| 3 |
size 54007922
|