Text Classification
Transformers
ONNX
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use tmtryggingar/payment-codes-classifier-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tmtryggingar/payment-codes-classifier-dev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tmtryggingar/payment-codes-classifier-dev")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tmtryggingar/payment-codes-classifier-dev") model = AutoModelForSequenceClassification.from_pretrained("tmtryggingar/payment-codes-classifier-dev", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from tmtryggingar/payment-codes-classifier-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.79 kB
-
https://huggingface.co/tmtryggingar/payment-codes-classifier-dev/resolve/main/README.md
- Command line
-
hf download hf://tmtryggingar/payment-codes-classifier-dev/README.md
-
curl -L -o README.md https://huggingface.co/tmtryggingar/payment-codes-classifier-dev/resolve/main/README.md
1.79 kB
| library_name: transformers | |
| license: cc-by-4.0 | |
| base_model: mideind/IceBERT-large | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| - f1 | |
| model-index: | |
| - name: payment-codes-classifier-dev | |
| 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. --> | |
| # payment-codes-classifier-dev | |
| This model is a fine-tuned version of [mideind/IceBERT-large](https://huggingface.co/mideind/IceBERT-large) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0475 | |
| - Accuracy: 0.9795 | |
| - F1: 0.9777 | |
| ## 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: 3e-05 | |
| - 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 | |
| - lr_scheduler_warmup_ratio: 0.06 | |
| - num_epochs: 4 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:| | |
| | 0.1007 | 1.0 | 1413 | 0.0601 | 0.9728 | 0.9654 | | |
| | 0.0494 | 2.0 | 2826 | 0.0715 | 0.9710 | 0.9643 | | |
| | 0.0316 | 3.0 | 4239 | 0.0549 | 0.9759 | 0.9718 | | |
| | 0.0141 | 4.0 | 5652 | 0.0540 | 0.9791 | 0.9769 | | |
| ### Framework versions | |
| - Transformers 4.55.4 | |
| - Pytorch 2.8.0 | |
| - Datasets 4.3.0 | |
| - Tokenizers 0.21.4 | |