Instructions to use Shresthadev403/ner-bert-ingredientstesting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shresthadev403/ner-bert-ingredientstesting with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Shresthadev403/ner-bert-ingredientstesting")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Shresthadev403/ner-bert-ingredientstesting") model = AutoModelForTokenClassification.from_pretrained("Shresthadev403/ner-bert-ingredientstesting", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -15,7 +15,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -45,13 +50,6 @@ The following hyperparameters were used during training:
|
|
| 45 |
- num_epochs: 1
|
| 46 |
- mixed_precision_training: Native AMP
|
| 47 |
|
| 48 |
-
### Training results
|
| 49 |
-
|
| 50 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
| 51 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
| 52 |
-
| 0.9982 | 1.0 | 1 | 4.0122 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
### Framework versions
|
| 56 |
|
| 57 |
- Transformers 4.35.2
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- eval_loss: 4.0211
|
| 19 |
+
- eval_runtime: 0.0298
|
| 20 |
+
- eval_samples_per_second: 67.051
|
| 21 |
+
- eval_steps_per_second: 33.525
|
| 22 |
+
- epoch: 1.0
|
| 23 |
+
- step: 1
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 50 |
- num_epochs: 1
|
| 51 |
- mixed_precision_training: Native AMP
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
### Framework versions
|
| 54 |
|
| 55 |
- Transformers 4.35.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 435756040
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e4a538ea341df6bb02bef6855b2d918dad4568b74343c1d190676efeb5f450a
|
| 3 |
size 435756040
|
runs/Jan17_06-30-10_9e8811c6b851/events.out.tfevents.1705473013.9e8811c6b851.3247.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9f23082bb6494e75b1d21a892398363058a09f81277f8d056e306abbac168ea
|
| 3 |
+
size 6940
|
trainer_state.json
CHANGED
|
@@ -11,25 +11,16 @@
|
|
| 11 |
{
|
| 12 |
"epoch": 1.0,
|
| 13 |
"learning_rate": 0.0,
|
| 14 |
-
"loss":
|
| 15 |
"step": 1
|
| 16 |
},
|
| 17 |
{
|
| 18 |
"epoch": 1.0,
|
| 19 |
-
"eval_loss": 4.
|
| 20 |
-
"eval_runtime": 0.
|
| 21 |
-
"eval_samples_per_second":
|
| 22 |
-
"eval_steps_per_second":
|
| 23 |
"step": 1
|
| 24 |
-
},
|
| 25 |
-
{
|
| 26 |
-
"epoch": 1.0,
|
| 27 |
-
"step": 1,
|
| 28 |
-
"total_flos": 584109418464.0,
|
| 29 |
-
"train_loss": 0.9981689453125,
|
| 30 |
-
"train_runtime": 19.7049,
|
| 31 |
-
"train_samples_per_second": 0.406,
|
| 32 |
-
"train_steps_per_second": 0.051
|
| 33 |
}
|
| 34 |
],
|
| 35 |
"logging_steps": 1,
|
|
|
|
| 11 |
{
|
| 12 |
"epoch": 1.0,
|
| 13 |
"learning_rate": 0.0,
|
| 14 |
+
"loss": 1.0194,
|
| 15 |
"step": 1
|
| 16 |
},
|
| 17 |
{
|
| 18 |
"epoch": 1.0,
|
| 19 |
+
"eval_loss": 4.0211181640625,
|
| 20 |
+
"eval_runtime": 0.0298,
|
| 21 |
+
"eval_samples_per_second": 67.051,
|
| 22 |
+
"eval_steps_per_second": 33.525,
|
| 23 |
"step": 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
],
|
| 26 |
"logging_steps": 1,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4600
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:065b0a80a262d13a8bf4341433bc0cfb2140cb6a619c486b530252125addb71b
|
| 3 |
size 4600
|