Instructions to use MatyLO/my_1rst_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MatyLO/my_1rst_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MatyLO/my_1rst_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MatyLO/my_1rst_model") model = AutoModelForTokenClassification.from_pretrained("MatyLO/my_1rst_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from MatyLO/my_1rst_model: direct link, hf CLI and curl.
- Browser
- Download file 2.42 kB
-
https://huggingface.co/MatyLO/my_1rst_model/resolve/main/README.md
- Command line
-
hf download hf://MatyLO/my_1rst_model/README.md
-
curl -L -o README.md https://huggingface.co/MatyLO/my_1rst_model/resolve/main/README.md
2.42 kB
| library_name: transformers | |
| license: mit | |
| base_model: almanach/camembert-base | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - precision | |
| - recall | |
| - f1 | |
| - accuracy | |
| model-index: | |
| - name: my_1rst_model | |
| 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. --> | |
| # my_1rst_model | |
| This model is a fine-tuned version of [almanach/camembert-base](https://huggingface.co/almanach/camembert-base) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0219 | |
| - Precision: 0.0 | |
| - Recall: 0.0 | |
| - F1: 0.0 | |
| - Accuracy: 0.9960 | |
| ## 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.0317 | 0.0 | 0.0 | 0.0 | 0.9937 | | |
| | No log | 2.0 | 320 | 0.0288 | 0.0 | 0.0 | 0.0 | 0.9943 | | |
| | No log | 3.0 | 480 | 0.0268 | 0.0 | 0.0 | 0.0 | 0.9948 | | |
| | 0.0387 | 4.0 | 640 | 0.0252 | 0.0 | 0.0 | 0.0 | 0.9951 | | |
| | 0.0387 | 5.0 | 800 | 0.0241 | 0.0 | 0.0 | 0.0 | 0.9953 | | |
| | 0.0387 | 6.0 | 960 | 0.0232 | 0.0 | 0.0 | 0.0 | 0.9954 | | |
| | 0.0318 | 7.0 | 1120 | 0.0226 | 0.0 | 0.0 | 0.0 | 0.9955 | | |
| | 0.0318 | 8.0 | 1280 | 0.0222 | 0.0 | 0.0 | 0.0 | 0.9958 | | |
| | 0.0318 | 9.0 | 1440 | 0.0220 | 0.0 | 0.0 | 0.0 | 0.9959 | | |
| | 0.0294 | 10.0 | 1600 | 0.0219 | 0.0 | 0.0 | 0.0 | 0.9960 | | |
| ### Framework versions | |
| - Transformers 4.56.1 | |
| - Pytorch 2.8.0 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.22.0 | |