Instructions to use StaAhmed/Values_QA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use StaAhmed/Values_QA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="StaAhmed/Values_QA")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("StaAhmed/Values_QA") model = AutoModelForQuestionAnswering.from_pretrained("StaAhmed/Values_QA") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +7 -7
- config.json +1 -1
- model.safetensors +1 -1
- runs/Mar01_08-39-21_95e4a57e3692/events.out.tfevents.1709282362.95e4a57e3692.234.0 +3 -0
- tokenizer.json +2 -16
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [StaAhmed/my_awesome_qa_model](https://huggingface.co/StaAhmed/my_awesome_qa_model) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss:
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -46,16 +46,16 @@ The following hyperparameters were used during training:
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
-
| No log | 1.0 | 9 |
|
| 50 |
-
| No log | 2.0 | 18 | 2.
|
| 51 |
-
| No log | 3.0 | 27 |
|
| 52 |
-
| No log | 4.0 | 36 |
|
| 53 |
-
| No log | 5.0 | 45 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
-
- Transformers 4.38.
|
| 59 |
- Pytorch 2.2.1+cu121
|
| 60 |
- Datasets 2.17.1
|
| 61 |
- Tokenizers 0.15.2
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [StaAhmed/my_awesome_qa_model](https://huggingface.co/StaAhmed/my_awesome_qa_model) on the None dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 1.7953
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
+
| No log | 1.0 | 9 | 2.6667 |
|
| 50 |
+
| No log | 2.0 | 18 | 2.3185 |
|
| 51 |
+
| No log | 3.0 | 27 | 1.9446 |
|
| 52 |
+
| No log | 4.0 | 36 | 1.7909 |
|
| 53 |
+
| No log | 5.0 | 45 | 1.7953 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
+
- Transformers 4.38.2
|
| 59 |
- Pytorch 2.2.1+cu121
|
| 60 |
- Datasets 2.17.1
|
| 61 |
- Tokenizers 0.15.2
|
config.json
CHANGED
|
@@ -19,6 +19,6 @@
|
|
| 19 |
"sinusoidal_pos_embds": false,
|
| 20 |
"tie_weights_": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
-
"transformers_version": "4.38.
|
| 23 |
"vocab_size": 30522
|
| 24 |
}
|
|
|
|
| 19 |
"sinusoidal_pos_embds": false,
|
| 20 |
"tie_weights_": true,
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
+
"transformers_version": "4.38.2",
|
| 23 |
"vocab_size": 30522
|
| 24 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265470032
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c4538d24a021ac6cd131ec52b51b44a317e0305e86942e63672867d1cd085e7
|
| 3 |
size 265470032
|
runs/Mar01_08-39-21_95e4a57e3692/events.out.tfevents.1709282362.95e4a57e3692.234.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b658c7d1834b792064fba5916ad2e86b5511e05b74dc2db66db510bc0b1ef446
|
| 3 |
+
size 6142
|
tokenizer.json
CHANGED
|
@@ -1,21 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
| 5 |
-
"max_length": 512,
|
| 6 |
-
"strategy": "OnlySecond",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
-
"padding": {
|
| 10 |
-
"strategy": {
|
| 11 |
-
"Fixed": 512
|
| 12 |
-
},
|
| 13 |
-
"direction": "Right",
|
| 14 |
-
"pad_to_multiple_of": null,
|
| 15 |
-
"pad_id": 0,
|
| 16 |
-
"pad_type_id": 0,
|
| 17 |
-
"pad_token": "[PAD]"
|
| 18 |
-
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4856
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de44e94e4c49df23c3568c998e820376157e432b18f563aface4722fc377e858
|
| 3 |
size 4856
|