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 路
a1effe7
1
Parent(s): 9c0639c
Training in progress, step 1500
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:a4a0da75e09699df4f4cd608ce79259118bddf25459a8130c2775e062dd72713
|
| 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:03c8f9953157645497812413e97354049c9a6f11f74be6bea233da3a2017cbb2
|
| 3 |
+
size 8451
|