Loading…
Loading…
업무 자동화 워크플로우 에이전트(듀듀)를 위한 한국어 의도 분류 모델입니다.
사용자의 자연어 입력을 8개 업무 의도(intent)로 분류합니다.
| Item | Detail |
|---|---|
| Base Model | monologg/koelectra-base-v3-discriminator |
| Architecture | ElectraForSequenceClassification |
| Parameters | 112.9M |
| Language | Korean |
| Experiment | v2_stage6 |
| ID | Intent | Description |
|---|---|---|
| 0 | judgment |
업무 판단 요청 (승인/반려/검토) |
| 1 | doc_search |
문서 검색 |
| 2 | doc_generate |
문서 생성 (회의록, 보고서 등) |
| 3 | doc_summary |
문서 요약 |
| 4 | schedule_add |
일정 추가/등록 |
| 5 | schedule_view |
일정 조회/확인 |
| 6 | general |
일반 대화/질문 |
| 7 | doc_qa |
문서 기반 Q&A |
| Metric | Score |
|---|---|
| Test F1 | 97.88% |
| Adversarial F1 | 87.84% |
| Inference Speed | 7.9ms / sample |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_name = "jiyong1110/koelectra-intent-classifier"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
text = "내일 오후 3시에 회의 잡아줘"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=128)
with torch.no_grad():
outputs = model(**inputs)
pred = torch.argmax(outputs.logits, dim=-1).item()
id2label = model.config.id2label
print(f"Intent: {id2label[pred]}") # schedule_add
7단계 실험을 거쳐 최적화된 모델입니다:
SKN21-FINAL-3TEAM — WorkFlow Agent (듀듀)
LangGraph 기반 멀티 에이전트 업무 자동화 시스템의 Intent Classification 모듈입니다.
monologg/koelectra-base-v3-discriminator