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 4000
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:9bba602a49d93e87d02ff74746ae65553c4c700af1a20fbe2928e1fd9e168cf7
|
| 3 |
+
size 24236
|
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:7d05d41568bff9870f9870084a4a256b5c28276ab0fc377d723df157a2686497
|
| 3 |
size 1330173664
|