Instructions to use AntoineD/camembert_ccnet_classification_tools_classifier-only_fr-p0.2 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-p0.2 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-p0.2")# 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-p0.2") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/camembert_ccnet_classification_tools_classifier-only_fr-p0.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +119 -0
- pytorch_model.bin +1 -1
README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-p0.2
|
| 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-p0.2
|
| 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.1673
|
| 20 |
+
- Accuracy: 0.95
|
| 21 |
+
- Learning Rate: 0.0
|
| 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.001
|
| 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 |
+
| No log | 1.0 | 7 | 0.4658 | 0.825 | 0.0010 |
|
| 53 |
+
| No log | 2.0 | 14 | 0.3444 | 0.95 | 0.0010 |
|
| 54 |
+
| No log | 3.0 | 21 | 0.2803 | 0.925 | 0.0009 |
|
| 55 |
+
| No log | 4.0 | 28 | 0.3995 | 0.825 | 0.0009 |
|
| 56 |
+
| No log | 5.0 | 35 | 0.2299 | 0.95 | 0.0009 |
|
| 57 |
+
| No log | 6.0 | 42 | 0.3046 | 0.925 | 0.0009 |
|
| 58 |
+
| No log | 7.0 | 49 | 0.4598 | 0.8 | 0.0009 |
|
| 59 |
+
| No log | 8.0 | 56 | 0.2019 | 0.95 | 0.0009 |
|
| 60 |
+
| No log | 9.0 | 63 | 0.2067 | 0.925 | 0.0008 |
|
| 61 |
+
| No log | 10.0 | 70 | 0.3652 | 0.9 | 0.0008 |
|
| 62 |
+
| No log | 11.0 | 77 | 0.2074 | 0.925 | 0.0008 |
|
| 63 |
+
| No log | 12.0 | 84 | 0.3108 | 0.875 | 0.0008 |
|
| 64 |
+
| No log | 13.0 | 91 | 0.2461 | 0.975 | 0.0008 |
|
| 65 |
+
| No log | 14.0 | 98 | 0.2046 | 0.975 | 0.0008 |
|
| 66 |
+
| No log | 15.0 | 105 | 0.3392 | 0.85 | 0.0008 |
|
| 67 |
+
| No log | 16.0 | 112 | 0.2231 | 0.95 | 0.0007 |
|
| 68 |
+
| No log | 17.0 | 119 | 0.3282 | 0.9 | 0.0007 |
|
| 69 |
+
| No log | 18.0 | 126 | 0.2064 | 0.975 | 0.0007 |
|
| 70 |
+
| No log | 19.0 | 133 | 0.2215 | 0.925 | 0.0007 |
|
| 71 |
+
| No log | 20.0 | 140 | 0.2380 | 0.9 | 0.0007 |
|
| 72 |
+
| No log | 21.0 | 147 | 0.1949 | 0.975 | 0.0007 |
|
| 73 |
+
| No log | 22.0 | 154 | 0.1659 | 0.95 | 0.0006 |
|
| 74 |
+
| No log | 23.0 | 161 | 0.2391 | 0.9 | 0.0006 |
|
| 75 |
+
| No log | 24.0 | 168 | 0.2423 | 0.95 | 0.0006 |
|
| 76 |
+
| No log | 25.0 | 175 | 0.2612 | 0.9 | 0.0006 |
|
| 77 |
+
| No log | 26.0 | 182 | 0.2852 | 0.875 | 0.0006 |
|
| 78 |
+
| No log | 27.0 | 189 | 0.2253 | 0.95 | 0.0006 |
|
| 79 |
+
| No log | 28.0 | 196 | 0.2657 | 0.9 | 0.0005 |
|
| 80 |
+
| No log | 29.0 | 203 | 0.1879 | 0.95 | 0.0005 |
|
| 81 |
+
| No log | 30.0 | 210 | 0.1927 | 0.95 | 0.0005 |
|
| 82 |
+
| No log | 31.0 | 217 | 0.2760 | 0.9 | 0.0005 |
|
| 83 |
+
| No log | 32.0 | 224 | 0.2340 | 0.975 | 0.0005 |
|
| 84 |
+
| No log | 33.0 | 231 | 0.1929 | 0.95 | 0.0005 |
|
| 85 |
+
| No log | 34.0 | 238 | 0.1898 | 0.925 | 0.0004 |
|
| 86 |
+
| No log | 35.0 | 245 | 0.1868 | 0.975 | 0.0004 |
|
| 87 |
+
| No log | 36.0 | 252 | 0.1988 | 0.95 | 0.0004 |
|
| 88 |
+
| No log | 37.0 | 259 | 0.2276 | 0.9 | 0.0004 |
|
| 89 |
+
| No log | 38.0 | 266 | 0.1873 | 0.925 | 0.0004 |
|
| 90 |
+
| No log | 39.0 | 273 | 0.1512 | 0.975 | 0.0003 |
|
| 91 |
+
| No log | 40.0 | 280 | 0.1580 | 0.975 | 0.0003 |
|
| 92 |
+
| No log | 41.0 | 287 | 0.1751 | 0.95 | 0.0003 |
|
| 93 |
+
| No log | 42.0 | 294 | 0.2039 | 0.925 | 0.0003 |
|
| 94 |
+
| No log | 43.0 | 301 | 0.2150 | 0.9 | 0.0003 |
|
| 95 |
+
| No log | 44.0 | 308 | 0.1601 | 0.975 | 0.0003 |
|
| 96 |
+
| No log | 45.0 | 315 | 0.1538 | 0.975 | 0.0003 |
|
| 97 |
+
| No log | 46.0 | 322 | 0.1678 | 0.975 | 0.0002 |
|
| 98 |
+
| No log | 47.0 | 329 | 0.1763 | 0.95 | 0.0002 |
|
| 99 |
+
| No log | 48.0 | 336 | 0.1952 | 0.95 | 0.0002 |
|
| 100 |
+
| No log | 49.0 | 343 | 0.1751 | 0.95 | 0.0002 |
|
| 101 |
+
| No log | 50.0 | 350 | 0.1659 | 0.975 | 0.0002 |
|
| 102 |
+
| No log | 51.0 | 357 | 0.1716 | 0.975 | 0.0001 |
|
| 103 |
+
| No log | 52.0 | 364 | 0.1912 | 0.975 | 0.0001 |
|
| 104 |
+
| No log | 53.0 | 371 | 0.1950 | 0.95 | 0.0001 |
|
| 105 |
+
| No log | 54.0 | 378 | 0.2143 | 0.925 | 0.0001 |
|
| 106 |
+
| No log | 55.0 | 385 | 0.2027 | 0.925 | 0.0001 |
|
| 107 |
+
| No log | 56.0 | 392 | 0.1877 | 0.925 | 0.0001 |
|
| 108 |
+
| No log | 57.0 | 399 | 0.1811 | 0.95 | 5e-05 |
|
| 109 |
+
| No log | 58.0 | 406 | 0.1748 | 0.95 | 0.0000 |
|
| 110 |
+
| No log | 59.0 | 413 | 0.1677 | 0.95 | 0.0000 |
|
| 111 |
+
| No log | 60.0 | 420 | 0.1673 | 0.95 | 0.0 |
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
### Framework versions
|
| 115 |
+
|
| 116 |
+
- Transformers 4.34.0
|
| 117 |
+
- Pytorch 2.0.1+cu117
|
| 118 |
+
- Datasets 2.14.5
|
| 119 |
+
- Tokenizers 0.14.1
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 442581361
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab5aa858678dd8c43f58851051be5f7fbe93fd2ec6455faba3c36f084a166a17
|
| 3 |
size 442581361
|