Instructions to use hsincho/policing_cai_huang with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hsincho/policing_cai_huang with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hsincho/policing_cai_huang")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hsincho/policing_cai_huang") model = AutoModelForSequenceClassification.from_pretrained("hsincho/policing_cai_huang") - Notebooks
- Google Colab
- Kaggle
policing_cai_huang
This model is a fine-tuned version of feynmanzhao/chinese-modernbert-large-wwm on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.7797
- Accuracy: 0.9393
- F1: 0.9391
- Precision: 0.9392
- Recall: 0.9393
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: 2e-05
- train_batch_size: 256
- eval_batch_size: 512
- 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: cosine
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 6
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 1.0113 | 1.0 | 613 | 1.0620 | 0.9175 | 0.9182 | 0.9206 | 0.9175 |
| 0.9227 | 2.0 | 1226 | 0.8524 | 0.9335 | 0.9331 | 0.9336 | 0.9335 |
| 0.8023 | 3.0 | 1839 | 0.8049 | 0.9376 | 0.9373 | 0.9378 | 0.9376 |
| 0.6465 | 4.0 | 2452 | 0.7838 | 0.9393 | 0.9390 | 0.9392 | 0.9393 |
| 0.6166 | 5.0 | 3065 | 0.7801 | 0.9390 | 0.9388 | 0.9389 | 0.9390 |
| 0.6582 | 6.0 | 3678 | 0.7797 | 0.9393 | 0.9391 | 0.9392 | 0.9393 |
Framework versions
- Transformers 5.10.2
- Pytorch 2.12.0+cu126
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 2
Model tree for hsincho/policing_cai_huang
Base model
feynmanzhao/chinese-modernbert-large-wwm