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 路
31f3c24
1
Parent(s): f15426a
Training in progress, step 4000
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:e95ada2b6e39be261e89669860130d1a13e5e10fb53c74f2e527d5e74a8137d8
|
| 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:d65722448793e711878f373f96d6b4055eae323f0adc75329bfae8677fdebea3
|
| 3 |
+
size 9507
|