Instructions to use alexia-allal/ner-model-camembert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexia-allal/ner-model-camembert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="alexia-allal/ner-model-camembert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("alexia-allal/ner-model-camembert") model = AutoModelForTokenClassification.from_pretrained("alexia-allal/ner-model-camembert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -21,11 +21,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [camembert-base](https://huggingface.co/camembert-base) on the None dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
-
- Precision: 0.
|
| 26 |
-
- Recall: 0.
|
| 27 |
-
- F1: 0.
|
| 28 |
-
- Accuracy: 0.
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
@@ -50,14 +50,17 @@ The following hyperparameters were used during training:
|
|
| 50 |
- seed: 42
|
| 51 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
- lr_scheduler_type: linear
|
| 53 |
-
- num_epochs:
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
-
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1
|
| 58 |
-
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
|
| 59 |
-
| No log | 1.0 | 24 | 0.
|
| 60 |
-
| No log | 2.0 | 48 | 0.
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [camembert-base](https://huggingface.co/camembert-base) on the None dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.2378
|
| 25 |
+
- Precision: 0.7015
|
| 26 |
+
- Recall: 0.6115
|
| 27 |
+
- F1: 0.6534
|
| 28 |
+
- Accuracy: 0.9182
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 50 |
- seed: 42
|
| 51 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 5
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 58 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 59 |
+
| No log | 1.0 | 24 | 0.3755 | 0.0 | 0.0 | 0.0 | 0.8739 |
|
| 60 |
+
| No log | 2.0 | 48 | 0.3258 | 0.0 | 0.0 | 0.0 | 0.8739 |
|
| 61 |
+
| No log | 3.0 | 72 | 0.2695 | 0.0 | 0.0 | 0.0 | 0.8739 |
|
| 62 |
+
| No log | 4.0 | 96 | 0.2439 | 0.6749 | 0.6059 | 0.6386 | 0.9135 |
|
| 63 |
+
| No log | 5.0 | 120 | 0.2378 | 0.7015 | 0.6115 | 0.6534 | 0.9182 |
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
runs/Jan28_09-17-19_4431f1c5681e/events.out.tfevents.1738055841.4431f1c5681e.434.2
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4616893b522006bb9ca6f22554a3167508fbe5d4ac079610ce5eb412a2154084
|
| 3 |
+
size 7852
|