Instructions to use parth0908/bert-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use parth0908/bert-squad2 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="parth0908/bert-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("parth0908/bert-squad2") model = AutoModelForQuestionAnswering.from_pretrained("parth0908/bert-squad2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 3500
Browse files
logs/events.out.tfevents.1741531042.36c56c76e8b8.31.6
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:4de31ef9818f1b0e901187be70f98f6588514736ffa57ae763bae58028721508
|
| 3 |
+
size 21826
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1330173664
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eed455586730a73a6c8ecb386c86d0794c50c94072ac40ae365c2c86f0a9141e
|
| 3 |
size 1330173664
|