Instructions to use hachembou/camembert_esgi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hachembou/camembert_esgi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hachembou/camembert_esgi")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hachembou/camembert_esgi") model = AutoModelForTokenClassification.from_pretrained("hachembou/camembert_esgi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
camembert_esgi
This model is a fine-tuned version of distilbert/distilbert-base-cased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0293
- Precision: 0.0
- Recall: 0.0
- F1: 0.0
- Accuracy: 0.9932
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 160 | 0.0248 | 0.0 | 0.0 | 0.0 | 0.9938 |
| No log | 2.0 | 320 | 0.0252 | 0.0 | 0.0 | 0.0 | 0.9931 |
| No log | 3.0 | 480 | 0.0276 | 0.0 | 0.0 | 0.0 | 0.9918 |
| 0.0056 | 4.0 | 640 | 0.0261 | 0.0 | 0.0 | 0.0 | 0.9935 |
| 0.0056 | 5.0 | 800 | 0.0274 | 0.0 | 0.0 | 0.0 | 0.9926 |
| 0.0056 | 6.0 | 960 | 0.0307 | 0.0 | 0.0 | 0.0 | 0.9924 |
| 0.0034 | 7.0 | 1120 | 0.0285 | 0.0 | 0.0 | 0.0 | 0.9931 |
| 0.0034 | 8.0 | 1280 | 0.0276 | 0.0 | 0.0 | 0.0 | 0.9935 |
| 0.0034 | 9.0 | 1440 | 0.0291 | 0.0 | 0.0 | 0.0 | 0.9930 |
| 0.0020 | 10.0 | 1600 | 0.0293 | 0.0 | 0.0 | 0.0 | 0.9932 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.23.1
- Downloads last month
- -
Model tree for hachembou/camembert_esgi
Base model
distilbert/distilbert-base-cased