Downloads · 30 days
0
kwoncho/ko-sroberta-korean-sentence-type-classifier
ko-sroberta-korean-sentence-type-classifier is a text classification model from kwoncho. Use it when you need a label for a piece of text. It is set up for transformers.
This repository contains a Korean 4-way sentence type classifier built on top of jhgan/ko-sroberta-multitask.
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
443 MB
Likes
0
Public
Click a slice to open those files.
.pt443 MB · 100%
From the Hugging Face model README
This repository contains a Korean 4-way sentence type classifier built on top of jhgan/ko-sroberta-multitask.
Labels:
사실형추론형예측형대화형This is a custom classifier built from:
jhgan/ko-sroberta-multitaskTask:
Input:
Output:
Label mapping:
0: 사실형1: 추론형2: 예측형3: 대화형Primary source:
문장 유형(예측, 추론, 사실, 대화) 분류 데이터Local experiment data were built from the official AI Hub labeling archives and flattened into sentence-level JSON files.
Training split used in the final run:
all_train.json: 130,823 sentencesHoldout validation split used in the final run:
all_val.json: 17,644 sentencesFinal holdout label supports:
사실형: 7,113추론형: 4,970예측형: 953대화형: 4,608Backbone:
jhgan/ko-sroberta-multitaskOptimization:
AdamW2e-50.010.1Regularization and stability:
25621.0Imbalance handling:
WeightedRandomSamplermacro F1Final holdout training run:
8321all_train.json0.84060.83970.8410Mean per-label F1:
사실형: 0.8143추론형: 0.7319예측형: 0.8178대화형: 0.9948all_val.json0.82700.81530.8283Per-label holdout metrics:
| Label | Precision | Recall | F1 | Support |
|---|---|---|---|---|
사실형 | 0.8399 | 0.7627 | 0.7994 | 7113 |
추론형 | 0.6954 | 0.7740 | 0.7326 | 4970 |
예측형 | 0.6983 | 0.7723 | 0.7334 | 953 |
대화형 | 0.9965 | 0.9946 | 0.9955 | 4608 |
This model is intended for:
This model is not presented as a universal Korean sentence understanding model.
추론형 and 예측형 remain harder than 대화형.best.pt: trained classifier checkpointtokenizer/: tokenizer fileslabel_mapping.json: explicit label mappingbest_metrics.json: final reported holdout metricshf_export_config.json: export metadataload_spec.json: custom loading notesThis repository contains a custom classification head checkpoint, not a plain AutoModelForSequenceClassification export.
To use it directly, you should load:
tokenizer/best.ptIn other words, this repository is ready for publishing, but inference currently expects the accompanying custom code path rather than a stock Transformers sequence-classification class.