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 路
1c531fe
1
Parent(s): 981e167
Training in progress epoch 2
Browse files- README.md +4 -3
- tf_model.h5 +1 -1
README.md
CHANGED
|
@@ -14,9 +14,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Train Loss: 0.
|
| 18 |
-
- Validation Loss: 5.
|
| 19 |
-
- Epoch:
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -44,6 +44,7 @@ The following hyperparameters were used during training:
|
|
| 44 |
|:----------:|:---------------:|:-----:|
|
| 45 |
| 0.6680 | 4.8951 | 0 |
|
| 46 |
| 0.5361 | 5.2595 | 1 |
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
### Framework versions
|
|
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 0.4224
|
| 18 |
+
- Validation Loss: 5.4612
|
| 19 |
+
- Epoch: 2
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 44 |
|:----------:|:---------------:|:-----:|
|
| 45 |
| 0.6680 | 4.8951 | 0 |
|
| 46 |
| 0.5361 | 5.2595 | 1 |
|
| 47 |
+
| 0.4224 | 5.4612 | 2 |
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265583688
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52d1c3afb44e30461147dadfa47a0b1fb4c130109d9a3c3a231de3f9458e3398
|
| 3 |
size 265583688
|