This model detects Korean TIMEX3 time expressions with BIO token classification labels.
The backbone is
jhgan/ko-sroberta-multitask, fine-tuned on
158.시간 표현 탐지 데이터 for four TIMEX3 entity types:
Use this model to identify Korean time expressions in sentences or utterances. It predicts token-level BIO labels and can be used through the Hugging Face token-classification pipeline.
This is an experimental model trained for TIMEX3 span detection. It does not extract EVENT or TLINK annotations.
1python -m time_expression_classifier.train_token_classifier \
2 --data-root "158.시간 표현 탐지 데이터" \
3 --model-name jhgan/ko-sroberta-multitask \
4 --output-dir outputs/official_epoch2 \
5 --split-mode official \
6 --epochs 2 \
7 --learning-rate 3e-5 \
8 --batch-size 16 \
9 --max-length 256
1from transformers import pipeline
2
3tagger = pipeline(
4 "token-classification",
5 model="kwoncho/ko-sroberta-korean-time-expression-classifier",
6 aggregation_strategy="simple",
7)
8
9text = "매주 토요일 저녁에 회의를 합니다."
10print(tagger(text))