Instructions to use rooftopcoder/bert-base-uncased-coqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rooftopcoder/bert-base-uncased-coqa 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="rooftopcoder/bert-base-uncased-coqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("rooftopcoder/bert-base-uncased-coqa") model = AutoModelForQuestionAnswering.from_pretrained("rooftopcoder/bert-base-uncased-coqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
17787e3
1
Parent(s): 31f3c24
Training in progress, step 4500
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 435644909
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb761a17ecc9dd4fce265b041daf5a9154ed5b216e0677cbee9cdfc58b9fd45f
|
| 3 |
size 435644909
|
runs/Jun14_06-50-02_a289516bacb6/events.out.tfevents.1686725408.a289516bacb6.691.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:8fb03fa0269141f61ef400119f22e3818e37bdb66eac4271921bb7b432003358
|
| 3 |
+
size 9664
|