Instructions to use AntoineD/camembert_ccnet_classification_tools_classifier-only_fr_V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/camembert_ccnet_classification_tools_classifier-only_fr_V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/camembert_ccnet_classification_tools_classifier-only_fr_V2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/camembert_ccnet_classification_tools_classifier-only_fr_V2") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/camembert_ccnet_classification_tools_classifier-only_fr_V2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: camembert/camembert-base-ccnet
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: camembert_ccnet_classification_tools_classifier-only_fr_V2
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# camembert_ccnet_classification_tools_classifier-only_fr_V2
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [camembert/camembert-base-ccnet](https://huggingface.co/camembert/camembert-base-ccnet) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.8155
|
| 20 |
+
- Accuracy: 0.7396
|
| 21 |
+
- Learning Rate: 0.0000
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0001
|
| 41 |
+
- train_batch_size: 24
|
| 42 |
+
- eval_batch_size: 192
|
| 43 |
+
- seed: 42
|
| 44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
+
- lr_scheduler_type: linear
|
| 46 |
+
- num_epochs: 60
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Rate |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 52 |
+
| 2.0589 | 1.0 | 15 | 2.0475 | 0.25 | 0.0001 |
|
| 53 |
+
| 2.0002 | 2.0 | 30 | 1.9708 | 0.3958 | 0.0001 |
|
| 54 |
+
| 1.9338 | 3.0 | 45 | 1.9353 | 0.3646 | 0.0001 |
|
| 55 |
+
| 1.8829 | 4.0 | 60 | 1.8915 | 0.3958 | 0.0001 |
|
| 56 |
+
| 1.8255 | 5.0 | 75 | 1.8285 | 0.4688 | 0.0001 |
|
| 57 |
+
| 1.79 | 6.0 | 90 | 1.7780 | 0.5833 | 9e-05 |
|
| 58 |
+
| 1.7391 | 7.0 | 105 | 1.7396 | 0.4688 | 0.0001 |
|
| 59 |
+
| 1.6838 | 8.0 | 120 | 1.6781 | 0.5417 | 0.0001 |
|
| 60 |
+
| 1.6385 | 9.0 | 135 | 1.6208 | 0.6042 | 0.0001 |
|
| 61 |
+
| 1.6083 | 10.0 | 150 | 1.5847 | 0.5729 | 0.0001 |
|
| 62 |
+
| 1.5543 | 11.0 | 165 | 1.5476 | 0.625 | 0.0001 |
|
| 63 |
+
| 1.5171 | 12.0 | 180 | 1.5068 | 0.6042 | 8e-05 |
|
| 64 |
+
| 1.4848 | 13.0 | 195 | 1.4651 | 0.6354 | 0.0001 |
|
| 65 |
+
| 1.4068 | 14.0 | 210 | 1.4436 | 0.6354 | 0.0001 |
|
| 66 |
+
| 1.4141 | 15.0 | 225 | 1.3965 | 0.6042 | 0.0001 |
|
| 67 |
+
| 1.3678 | 16.0 | 240 | 1.3565 | 0.6562 | 0.0001 |
|
| 68 |
+
| 1.309 | 17.0 | 255 | 1.3221 | 0.6875 | 0.0001 |
|
| 69 |
+
| 1.2867 | 18.0 | 270 | 1.2940 | 0.6667 | 7e-05 |
|
| 70 |
+
| 1.2667 | 19.0 | 285 | 1.2548 | 0.6667 | 0.0001 |
|
| 71 |
+
| 1.2271 | 20.0 | 300 | 1.2286 | 0.6875 | 0.0001 |
|
| 72 |
+
| 1.1865 | 21.0 | 315 | 1.1943 | 0.6875 | 0.0001 |
|
| 73 |
+
| 1.1691 | 22.0 | 330 | 1.1705 | 0.6979 | 0.0001 |
|
| 74 |
+
| 1.1502 | 23.0 | 345 | 1.1483 | 0.6875 | 0.0001 |
|
| 75 |
+
| 1.1195 | 24.0 | 360 | 1.1250 | 0.6875 | 6e-05 |
|
| 76 |
+
| 1.1148 | 25.0 | 375 | 1.1058 | 0.6979 | 0.0001 |
|
| 77 |
+
| 1.0893 | 26.0 | 390 | 1.0787 | 0.7083 | 0.0001 |
|
| 78 |
+
| 1.0736 | 27.0 | 405 | 1.0668 | 0.6979 | 0.0001 |
|
| 79 |
+
| 1.0303 | 28.0 | 420 | 1.0466 | 0.6979 | 0.0001 |
|
| 80 |
+
| 1.0475 | 29.0 | 435 | 1.0211 | 0.6979 | 0.0001 |
|
| 81 |
+
| 1.0122 | 30.0 | 450 | 0.9995 | 0.7292 | 5e-05 |
|
| 82 |
+
| 1.0014 | 31.0 | 465 | 0.9907 | 0.7292 | 0.0000 |
|
| 83 |
+
| 0.973 | 32.0 | 480 | 0.9791 | 0.7292 | 0.0000 |
|
| 84 |
+
| 0.9894 | 33.0 | 495 | 0.9643 | 0.7188 | 0.0000 |
|
| 85 |
+
| 0.9503 | 34.0 | 510 | 0.9531 | 0.7292 | 0.0000 |
|
| 86 |
+
| 0.9382 | 35.0 | 525 | 0.9386 | 0.7188 | 0.0000 |
|
| 87 |
+
| 0.9371 | 36.0 | 540 | 0.9313 | 0.7188 | 4e-05 |
|
| 88 |
+
| 0.9207 | 37.0 | 555 | 0.9192 | 0.7188 | 0.0000 |
|
| 89 |
+
| 0.9422 | 38.0 | 570 | 0.9091 | 0.7292 | 0.0000 |
|
| 90 |
+
| 0.9041 | 39.0 | 585 | 0.8975 | 0.7188 | 0.0000 |
|
| 91 |
+
| 0.8966 | 40.0 | 600 | 0.8888 | 0.7188 | 0.0000 |
|
| 92 |
+
| 0.8877 | 41.0 | 615 | 0.8800 | 0.75 | 0.0000 |
|
| 93 |
+
| 0.8933 | 42.0 | 630 | 0.8748 | 0.7396 | 3e-05 |
|
| 94 |
+
| 0.854 | 43.0 | 645 | 0.8629 | 0.75 | 0.0000 |
|
| 95 |
+
| 0.8858 | 44.0 | 660 | 0.8580 | 0.7396 | 0.0000 |
|
| 96 |
+
| 0.8407 | 45.0 | 675 | 0.8516 | 0.75 | 0.0000 |
|
| 97 |
+
| 0.8413 | 46.0 | 690 | 0.8475 | 0.75 | 0.0000 |
|
| 98 |
+
| 0.86 | 47.0 | 705 | 0.8416 | 0.7396 | 0.0000 |
|
| 99 |
+
| 0.8282 | 48.0 | 720 | 0.8332 | 0.7396 | 2e-05 |
|
| 100 |
+
| 0.835 | 49.0 | 735 | 0.8303 | 0.7396 | 0.0000 |
|
| 101 |
+
| 0.8123 | 50.0 | 750 | 0.8267 | 0.7396 | 0.0000 |
|
| 102 |
+
| 0.8175 | 51.0 | 765 | 0.8227 | 0.7396 | 0.0000 |
|
| 103 |
+
| 0.8097 | 52.0 | 780 | 0.8177 | 0.75 | 0.0000 |
|
| 104 |
+
| 0.806 | 53.0 | 795 | 0.8155 | 0.7396 | 0.0000 |
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
### Framework versions
|
| 108 |
+
|
| 109 |
+
- Transformers 4.34.0
|
| 110 |
+
- Pytorch 2.0.1+cu117
|
| 111 |
+
- Datasets 2.14.5
|
| 112 |
+
- Tokenizers 0.14.1
|