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 路
a56fb10
1
Parent(s): 531c5da
update model card README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
model-index:
|
|
@@ -12,9 +11,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 12 |
|
| 13 |
# QA_model
|
| 14 |
|
| 15 |
-
This model
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Loss:
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -45,9 +44,9 @@ The following hyperparameters were used during training:
|
|
| 45 |
|
| 46 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 47 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 48 |
-
|
|
| 49 |
-
|
|
| 50 |
-
|
|
| 51 |
|
| 52 |
|
| 53 |
### Framework versions
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
- generated_from_trainer
|
| 4 |
model-index:
|
|
|
|
| 11 |
|
| 12 |
# QA_model
|
| 13 |
|
| 14 |
+
This model was trained from scratch on the None dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
+
- Loss: 1.3301
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
|
|
| 44 |
|
| 45 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 46 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 47 |
+
| 2.1191 | 1.0 | 522 | 1.5923 |
|
| 48 |
+
| 1.2952 | 2.0 | 1044 | 1.4592 |
|
| 49 |
+
| 1.0273 | 3.0 | 1566 | 1.4694 |
|
| 50 |
|
| 51 |
|
| 52 |
### Framework versions
|