Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use ingyoun/A.X-patent-maxlen512-train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ingyoun/A.X-patent-maxlen512-train with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ingyoun/A.X-patent-maxlen512-train")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ingyoun/A.X-patent-maxlen512-train") model = AutoModelForSequenceClassification.from_pretrained("ingyoun/A.X-patent-maxlen512-train", device_map="auto") - Notebooks
- Google Colab
- Kaggle
A.X-patent-maxlen512-train
This model is a fine-tuned version of skt/A.X-Encoder-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0010
- Micro F1: 0.8632
- Macro F1: 0.8603
- Sample F1: 0.8776
- Empty Rate: 0.0148
- Anchor Weighted F1: 0.8198
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: 8
- eval_batch_size: 32
- 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_steps: 0.1
- num_epochs: 12
Training results
| Training Loss | Epoch | Step | Validation Loss | Micro F1 | Macro F1 | Sample F1 | Empty Rate | Anchor Weighted F1 |
|---|---|---|---|---|---|---|---|---|
| 0.0013 | 0.5000 | 12618 | 0.0009 | 0.6396 | 0.6038 | 0.5759 | 0.2643 | 0.6574 |
| 0.0009 | 1.0000 | 25236 | 0.0007 | 0.7158 | 0.6904 | 0.6750 | 0.1784 | 0.7267 |
| 0.0008 | 1.4999 | 37854 | 0.0006 | 0.7413 | 0.7213 | 0.7009 | 0.1704 | 0.7512 |
| 0.0006 | 1.9999 | 50472 | 0.0005 | 0.7959 | 0.7793 | 0.7813 | 0.0917 | 0.7704 |
| 0.0004 | 2.4999 | 63090 | 0.0004 | 0.8154 | 0.8074 | 0.8112 | 0.0630 | 0.7934 |
| 0.0005 | 2.9999 | 75708 | 0.0004 | 0.8288 | 0.8236 | 0.8323 | 0.0424 | 0.7939 |
| 0.0003 | 3.4999 | 88326 | 0.0004 | 0.8327 | 0.8254 | 0.8367 | 0.0407 | 0.8051 |
| 0.0003 | 3.9998 | 100944 | 0.0004 | 0.8389 | 0.8330 | 0.8478 | 0.0276 | 0.8029 |
| 0.0002 | 4.4998 | 113562 | 0.0004 | 0.8429 | 0.8380 | 0.8540 | 0.0257 | 0.8067 |
| 0.0003 | 4.9998 | 126180 | 0.0004 | 0.8459 | 0.8404 | 0.8556 | 0.0256 | 0.8064 |
| 0.0001 | 5.4998 | 138798 | 0.0005 | 0.8482 | 0.8443 | 0.8602 | 0.0220 | 0.8157 |
| 0.0002 | 5.9998 | 151416 | 0.0005 | 0.8490 | 0.8447 | 0.8584 | 0.0269 | 0.8135 |
| 0.0001 | 6.4997 | 164034 | 0.0005 | 0.8532 | 0.8498 | 0.8686 | 0.0149 | 0.8128 |
| 0.0001 | 6.9997 | 176652 | 0.0006 | 0.8514 | 0.8468 | 0.8633 | 0.0219 | 0.8137 |
| 0.0001 | 7.4997 | 189270 | 0.0006 | 0.8550 | 0.8519 | 0.8674 | 0.0178 | 0.8117 |
| 0.0001 | 7.9997 | 201888 | 0.0006 | 0.8580 | 0.8550 | 0.8735 | 0.0129 | 0.8173 |
| 0.0001 | 8.4997 | 214506 | 0.0007 | 0.8584 | 0.8549 | 0.8719 | 0.0167 | 0.8161 |
| 0.0001 | 8.9996 | 227124 | 0.0007 | 0.8586 | 0.8552 | 0.8711 | 0.0175 | 0.8197 |
| 0.0000 | 9.4996 | 239742 | 0.0008 | 0.8592 | 0.8559 | 0.8723 | 0.0185 | 0.8157 |
| 0.0000 | 9.9996 | 252360 | 0.0009 | 0.8609 | 0.8575 | 0.8742 | 0.0163 | 0.8184 |
| 0.0000 | 10.4996 | 264978 | 0.0009 | 0.8616 | 0.8587 | 0.8770 | 0.0134 | 0.8169 |
| 0.0000 | 10.9996 | 277596 | 0.0010 | 0.8642 | 0.8614 | 0.8786 | 0.0142 | 0.8167 |
| 0.0000 | 11.4995 | 290214 | 0.0010 | 0.8643 | 0.8615 | 0.8779 | 0.0151 | 0.8191 |
| 0.0000 | 11.9995 | 302832 | 0.0010 | 0.8634 | 0.8605 | 0.8777 | 0.0149 | 0.8199 |
| 0.0000 | 12.0 | 302844 | 0.0010 | 0.8632 | 0.8603 | 0.8776 | 0.0148 | 0.8198 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 508
Model tree for ingyoun/A.X-patent-maxlen512-train
Base model
skt/A.X-Encoder-base