Instructions to use EricPeter/distilbert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EricPeter/distilbert-base-cased 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="EricPeter/distilbert-base-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("EricPeter/distilbert-base-cased") model = AutoModelForQuestionAnswering.from_pretrained("EricPeter/distilbert-base-cased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 7
Browse files- README.md +5 -2
- tf_model.h5 +1 -1
README.md
CHANGED
|
@@ -13,8 +13,8 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 13 |
|
| 14 |
This model was trained from scratch on an unknown dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
-
- Train Loss: 0.
|
| 17 |
-
- Epoch:
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -45,6 +45,9 @@ The following hyperparameters were used during training:
|
|
| 45 |
| 0.4521 | 2 |
|
| 46 |
| 0.3887 | 3 |
|
| 47 |
| 0.4055 | 4 |
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
|
|
|
| 13 |
|
| 14 |
This model was trained from scratch on an unknown dataset.
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
+
- Train Loss: 0.3286
|
| 17 |
+
- Epoch: 7
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
|
|
| 45 |
| 0.4521 | 2 |
|
| 46 |
| 0.3887 | 3 |
|
| 47 |
| 0.4055 | 4 |
|
| 48 |
+
| 0.4112 | 5 |
|
| 49 |
+
| 0.3398 | 6 |
|
| 50 |
+
| 0.3286 | 7 |
|
| 51 |
|
| 52 |
|
| 53 |
### Framework versions
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 260895720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c453e3e9c3023bbd5141dd7a415af31a0d3503ba685366937f4701fc7e32c01
|
| 3 |
size 260895720
|