Instructions to use AntoineD/MiniLM_classification_tools_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/MiniLM_classification_tools_fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/MiniLM_classification_tools_fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/MiniLM_classification_tools_fr") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/MiniLM_classification_tools_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +97 -0
- pytorch_model.bin +1 -1
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: microsoft/Multilingual-MiniLM-L12-H384
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: MiniLM_classification_tools_fr
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# MiniLM_classification_tools_fr
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [microsoft/Multilingual-MiniLM-L12-H384](https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.7694
|
| 21 |
+
- Accuracy: 0.75
|
| 22 |
+
- Learning Rate: 0.0000
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 0.0001
|
| 42 |
+
- train_batch_size: 24
|
| 43 |
+
- eval_batch_size: 192
|
| 44 |
+
- seed: 42
|
| 45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- num_epochs: 60
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Rate |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 53 |
+
| No log | 1.0 | 7 | 2.0620 | 0.35 | 0.0001 |
|
| 54 |
+
| No log | 2.0 | 14 | 1.9515 | 0.425 | 0.0001 |
|
| 55 |
+
| No log | 3.0 | 21 | 1.7736 | 0.45 | 0.0001 |
|
| 56 |
+
| No log | 4.0 | 28 | 1.6055 | 0.475 | 0.0001 |
|
| 57 |
+
| No log | 5.0 | 35 | 1.5108 | 0.5 | 0.0001 |
|
| 58 |
+
| No log | 6.0 | 42 | 1.4074 | 0.45 | 9e-05 |
|
| 59 |
+
| No log | 7.0 | 49 | 1.3848 | 0.475 | 0.0001 |
|
| 60 |
+
| No log | 8.0 | 56 | 1.2533 | 0.625 | 0.0001 |
|
| 61 |
+
| No log | 9.0 | 63 | 1.2463 | 0.525 | 0.0001 |
|
| 62 |
+
| No log | 10.0 | 70 | 1.1593 | 0.6 | 0.0001 |
|
| 63 |
+
| No log | 11.0 | 77 | 1.1637 | 0.6 | 0.0001 |
|
| 64 |
+
| No log | 12.0 | 84 | 1.0900 | 0.625 | 8e-05 |
|
| 65 |
+
| No log | 13.0 | 91 | 0.9577 | 0.7 | 0.0001 |
|
| 66 |
+
| No log | 14.0 | 98 | 0.9465 | 0.675 | 0.0001 |
|
| 67 |
+
| No log | 15.0 | 105 | 0.9255 | 0.675 | 0.0001 |
|
| 68 |
+
| No log | 16.0 | 112 | 0.8836 | 0.675 | 0.0001 |
|
| 69 |
+
| No log | 17.0 | 119 | 0.8307 | 0.675 | 0.0001 |
|
| 70 |
+
| No log | 18.0 | 126 | 0.8335 | 0.725 | 7e-05 |
|
| 71 |
+
| No log | 19.0 | 133 | 0.8469 | 0.625 | 0.0001 |
|
| 72 |
+
| No log | 20.0 | 140 | 0.7384 | 0.75 | 0.0001 |
|
| 73 |
+
| No log | 21.0 | 147 | 0.7330 | 0.775 | 0.0001 |
|
| 74 |
+
| No log | 22.0 | 154 | 0.7811 | 0.775 | 0.0001 |
|
| 75 |
+
| No log | 23.0 | 161 | 0.6857 | 0.8 | 0.0001 |
|
| 76 |
+
| No log | 24.0 | 168 | 0.6733 | 0.825 | 6e-05 |
|
| 77 |
+
| No log | 25.0 | 175 | 0.6510 | 0.85 | 0.0001 |
|
| 78 |
+
| No log | 26.0 | 182 | 0.6363 | 0.85 | 0.0001 |
|
| 79 |
+
| No log | 27.0 | 189 | 0.6101 | 0.875 | 0.0001 |
|
| 80 |
+
| No log | 28.0 | 196 | 0.6434 | 0.8 | 0.0001 |
|
| 81 |
+
| No log | 29.0 | 203 | 0.6644 | 0.775 | 0.0001 |
|
| 82 |
+
| No log | 30.0 | 210 | 0.7162 | 0.75 | 5e-05 |
|
| 83 |
+
| No log | 31.0 | 217 | 0.7422 | 0.775 | 0.0000 |
|
| 84 |
+
| No log | 32.0 | 224 | 0.7120 | 0.775 | 0.0000 |
|
| 85 |
+
| No log | 33.0 | 231 | 0.6296 | 0.8 | 0.0000 |
|
| 86 |
+
| No log | 34.0 | 238 | 0.6522 | 0.775 | 0.0000 |
|
| 87 |
+
| No log | 35.0 | 245 | 0.7636 | 0.75 | 0.0000 |
|
| 88 |
+
| No log | 36.0 | 252 | 0.7703 | 0.75 | 4e-05 |
|
| 89 |
+
| No log | 37.0 | 259 | 0.7694 | 0.75 | 0.0000 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
### Framework versions
|
| 93 |
+
|
| 94 |
+
- Transformers 4.34.0
|
| 95 |
+
- Pytorch 2.0.1+cu117
|
| 96 |
+
- Datasets 2.14.5
|
| 97 |
+
- 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 470695729
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42d03d8fd79e619a41505027d372a3b6d1aee116b774a83e1915d8b20494b971
|
| 3 |
size 470695729
|