Instructions to use AntoineD/camembert_classification_tools_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/camembert_classification_tools_fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/camembert_classification_tools_fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/camembert_classification_tools_fr") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/camembert_classification_tools_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from AntoineD/camembert_classification_tools_fr: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/AntoineD/camembert_classification_tools_fr/resolve/main/README.md
- Command line
-
hf download hf://AntoineD/camembert_classification_tools_fr/README.md
-
curl -L -o README.md https://huggingface.co/AntoineD/camembert_classification_tools_fr/resolve/main/README.md
1.93 kB
| license: mit | |
| base_model: camembert-base | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: camembert_classification_tools_fr | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # camembert_classification_tools_fr | |
| This model is a fine-tuned version of [camembert-base](https://huggingface.co/camembert-base) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.1971 | |
| - Accuracy: 0.8 | |
| ## 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.0001 | |
| - train_batch_size: 24 | |
| - eval_batch_size: 192 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | No log | 1.0 | 5 | 1.9901 | 0.45 | | |
| | No log | 2.0 | 10 | 1.8450 | 0.525 | | |
| | No log | 3.0 | 15 | 1.6934 | 0.625 | | |
| | No log | 4.0 | 20 | 1.5597 | 0.65 | | |
| | No log | 5.0 | 25 | 1.4364 | 0.775 | | |
| | No log | 6.0 | 30 | 1.3490 | 0.825 | | |
| | No log | 7.0 | 35 | 1.2849 | 0.825 | | |
| | No log | 8.0 | 40 | 1.2342 | 0.85 | | |
| | No log | 9.0 | 45 | 1.2078 | 0.8 | | |
| | No log | 10.0 | 50 | 1.1971 | 0.8 | | |
| ### Framework versions | |
| - Transformers 4.34.0 | |
| - Pytorch 2.0.1+cu117 | |
| - Datasets 2.14.5 | |
| - Tokenizers 0.14.1 | |