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 路
3d8564a
1
Parent(s): 8a898c5
Training in progress, epoch 5
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:fd4aeb345a1d1fe64ef0b8506faa63895582480541831bf54c8c691f71b20177
|
| 3 |
size 437958701
|
runs/Feb24_12-38-33_752aeac85912/events.out.tfevents.1677242488.752aeac85912.164.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:d6e07080d4c5fd22a026f8e284eee1a69be3916a4df50e237148fc3b47d929f1
|
| 3 |
+
size 5998
|