Instructions to use srcocotero/bert-large-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srcocotero/bert-large-qa 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="srcocotero/bert-large-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("srcocotero/bert-large-qa") model = AutoModelForQuestionAnswering.from_pretrained("srcocotero/bert-large-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
d83d65d
1
Parent(s): 1ac4d5b
Training in progress, step 1000
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 435643185
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ee305512fe3e2e33739a05b2d5c28dea74e7549454e3dfe26001708514de0dd
|
| 3 |
size 435643185
|
runs/Aug09_08-32-25_58e64a916bd5/events.out.tfevents.1660034595.58e64a916bd5.366.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:8cce1c4eb9a24faa7a74bbf75d33725dbcbe14a20b2f6606b8d4bf0c6c9a235e
|
| 3 |
+
size 4003
|