Instructions to use negfir/squeezebert-uncased-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use negfir/squeezebert-uncased-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="negfir/squeezebert-uncased-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("negfir/squeezebert-uncased-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("negfir/squeezebert-uncased-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 115531239
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0b21e26b464e3fa3c89a0233e7b706a0218da2799190b6e212c92af4619aada
|
| 3 |
size 115531239
|
runs/Mar09_16-59-53_d59e2229e41d/events.out.tfevents.1646845201.d59e2229e41d.78.3
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:3a875d39880b88071d35e65c709e648d36f04044a7706cba9ad1ccf3bd98e120
|
| 3 |
+
size 9783
|