Instructions to use dpravinv/fold_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dpravinv/fold_0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dpravinv/fold_0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dpravinv/fold_0") model = AutoModelForSequenceClassification.from_pretrained("dpravinv/fold_0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from dpravinv/fold_0: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/dpravinv/fold_0/resolve/main/README.md
- Command line
-
hf download hf://dpravinv/fold_0/README.md
-
curl -L -o README.md https://huggingface.co/dpravinv/fold_0/resolve/main/README.md
1.99 kB
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: answerdotai/ModernBERT-base | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - f1 | |
| model-index: | |
| - name: fold_0 | |
| 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. --> | |
| # fold_0 | |
| This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.9358 | |
| - F1: 0.8578 | |
| ## 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: 5e-05 | |
| - train_batch_size: 32 | |
| - 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 | F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:------:| | |
| | 0.7289 | 1.0 | 188 | 0.4268 | 0.8239 | | |
| | 0.3104 | 2.0 | 376 | 0.3828 | 0.8580 | | |
| | 0.1417 | 3.0 | 564 | 0.4563 | 0.8522 | | |
| | 0.0758 | 4.0 | 752 | 0.5187 | 0.8592 | | |
| | 0.0462 | 5.0 | 940 | 0.7985 | 0.8497 | | |
| | 0.0289 | 6.0 | 1128 | 0.7168 | 0.8545 | | |
| | 0.0152 | 7.0 | 1316 | 1.0003 | 0.8456 | | |
| | 0.006 | 8.0 | 1504 | 0.9324 | 0.8575 | | |
| | 0.0019 | 9.0 | 1692 | 0.9218 | 0.8618 | | |
| | 0.0022 | 10.0 | 1880 | 0.9358 | 0.8578 | | |
| ### Framework versions | |
| - Transformers 4.48.0 | |
| - Pytorch 2.5.1 | |
| - Datasets 3.2.0 | |
| - Tokenizers 0.21.0 | |