Instructions to use annakotarba/model_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annakotarba/model_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="annakotarba/model_v1")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("annakotarba/model_v1") model = AutoModelForQuestionAnswering.from_pretrained("annakotarba/model_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
a9acf21
1
Parent(s): e092555
update model card README.md
Browse files
README.md
CHANGED
|
@@ -14,8 +14,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
# model_v1
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [henryk/bert-base-multilingual-cased-finetuned-polish-squad2](https://huggingface.co/henryk/bert-base-multilingual-cased-finetuned-polish-squad2) on the poquad dataset.
|
| 17 |
-
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss: 1.6062
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -40,20 +38,18 @@ The following hyperparameters were used during training:
|
|
| 40 |
- seed: 42
|
| 41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
- lr_scheduler_type: linear
|
| 43 |
-
- num_epochs:
|
| 44 |
|
| 45 |
### Training results
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
-
| No log | 1.0 | 250 | 1.
|
| 50 |
-
| 1.4425 | 2.0 | 500 | 1.5147 |
|
| 51 |
-
| 1.4425 | 3.0 | 750 | 1.6062 |
|
| 52 |
|
| 53 |
|
| 54 |
### Framework versions
|
| 55 |
|
| 56 |
-
- Transformers 4.
|
| 57 |
-
- Pytorch
|
| 58 |
-
- Datasets 2.
|
| 59 |
-
- Tokenizers 0.13.
|
|
|
|
| 14 |
# model_v1
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [henryk/bert-base-multilingual-cased-finetuned-polish-squad2](https://huggingface.co/henryk/bert-base-multilingual-cased-finetuned-polish-squad2) on the poquad dataset.
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
|
|
| 38 |
- seed: 42
|
| 39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 40 |
- lr_scheduler_type: linear
|
| 41 |
+
- num_epochs: 1
|
| 42 |
|
| 43 |
### Training results
|
| 44 |
|
| 45 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 46 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 47 |
+
| No log | 1.0 | 250 | 1.5455 |
|
|
|
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
| 51 |
|
| 52 |
+
- Transformers 4.28.1
|
| 53 |
+
- Pytorch 2.0.0+cu118
|
| 54 |
+
- Datasets 2.11.0
|
| 55 |
+
- Tokenizers 0.13.3
|