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 路
9c0639c
1
Parent(s): 3781664
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 435644909
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9bcd3efce0cf820bda1b6b876f1ed3e78bc8c11a862faa5728450b58b2a0ca6
|
| 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:e0f42b7761b4f1293fe34456c8bfb177a20c48e3358c1bc161f39236f3b8e01d
|
| 3 |
+
size 8294
|