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 路
2d950ea
1
Parent(s): 737abcc
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:bf45711b17f377311e13316410a25dc63563352cb89832851aa0d480acdb0012
|
| 3 |
size 437958701
|
runs/Feb25_19-32-30_8220ed70bed5/events.out.tfevents.1677353556.8220ed70bed5.370.2
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:a6ed72e6e8e503faf58f2243c8bf0220db1dd9aeb5dec176eec5d6a98831952f
|
| 3 |
+
size 4557
|