Instructions to use tyavika/Distilbert-QA-Pytorch-FULL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tyavika/Distilbert-QA-Pytorch-FULL 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="tyavika/Distilbert-QA-Pytorch-FULL")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("tyavika/Distilbert-QA-Pytorch-FULL") model = AutoModelForQuestionAnswering.from_pretrained("tyavika/Distilbert-QA-Pytorch-FULL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ should 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 the None dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Loss: 1.
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -45,10 +45,10 @@ The following hyperparameters were used during training:
|
|
| 45 |
|
| 46 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 47 |
|:-------------:|:-----:|:-----:|:---------------:|
|
| 48 |
-
| 1.
|
| 49 |
-
| 0.
|
| 50 |
-
| 0.
|
| 51 |
-
| 0.
|
| 52 |
|
| 53 |
|
| 54 |
### Framework versions
|
|
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Loss: 1.3978
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
|
|
| 45 |
|
| 46 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 47 |
|:-------------:|:-----:|:-----:|:---------------:|
|
| 48 |
+
| 1.3116 | 1.0 | 3290 | 1.1997 |
|
| 49 |
+
| 0.9501 | 2.0 | 6580 | 1.1451 |
|
| 50 |
+
| 0.6785 | 3.0 | 9870 | 1.2330 |
|
| 51 |
+
| 0.45 | 4.0 | 13160 | 1.3978 |
|
| 52 |
|
| 53 |
|
| 54 |
### Framework versions
|