Instructions to use Oleksandr2003/QA_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Oleksandr2003/QA_model 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="Oleksandr2003/QA_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Oleksandr2003/QA_model") model = AutoModelForQuestionAnswering.from_pretrained("Oleksandr2003/QA_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
c2adaa8
1
Parent(s): 10ad85b
Training in progress, epoch 2
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437958701
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75ad32615246f1547a7a75019c38dba4f18ce85764bdbda108c6beaa0953d21f
|
| 3 |
size 437958701
|
runs/Apr26_11-49-57_f16af88310cd/events.out.tfevents.1682509946.f16af88310cd.3758.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:814c7807e7314dedeedcc026d28056c8ccefe73d184e6878783d152ac556ab6e
|
| 3 |
+
size 4895
|