CoolFace
Modelpublic

kakao1513/koElectra_shopping_intent_v2

sourceHugging Faceapache-2.0updated 8mo agoView on Hugging Face
0likes8downloads
Model Card

language: ko license: mit tasks:

  • —text-classification tags:
  • —intent-classification
  • —korean
  • —koelectra
  • —fine-tuned ---

koElectrashoppingintent_v2

한국어 의도 분류(Intent Classification) 모델입니다. koElectra-base-v3-discriminator를 기반으로 파인튜닝했습니다.

모델 개요

  • —기본 모델: monologg/koElectra-base-v3-discriminator
  • —작업: 텍스트 분류 (Intent Classification)
  • —언어: Korean (한국어)
  • —클래스 개수: 39개

성능 지표 (Performance)

전체 성능

  • —정확도 (Accuracy): 0.9907 (99.07%)

상세 리포트

                             precision    recall  f1-score   support

           check_keep_login     0.9730    0.8182    0.8889        44
      check_terms_agreement     0.8431    0.9773    0.9053        44
         click_app_download     1.0000    1.0000    1.0000        44
                 click_cart     1.0000    1.0000    1.0000        44
      click_change_password     1.0000    1.0000    1.0000        44
   click_check_id_duplicate     1.0000    1.0000    1.0000        44
       click_delete_account     1.0000    1.0000    1.0000        44
              click_find_id     1.0000    1.0000    1.0000        44
        click_find_password     1.0000    1.0000    1.0000        44
           click_go_coupang     0.9333    0.9545    0.9438        44
                click_login     1.0000    1.0000    1.0000        44
               click_logout     1.0000    1.0000    1.0000        44
              click_my_page     1.0000    1.0000    1.0000        44
         click_order_detail     1.0000    1.0000    1.0000        44
         click_product_view     1.0000    1.0000    1.0000        44
click_shared_shopping_entry     1.0000    1.0000    1.0000        44
               click_signup     0.9778    1.0000    0.9888        44
           click_view_terms     0.9778    1.0000    0.9888        44
                 go_coupang     0.9535    0.9318    0.9425        44
                  go_hearbe     1.0000    1.0000    1.0000        44
                    go_mall     1.0000    1.0000    1.0000        44
           go_order_history     1.0000    1.0000    1.0000        50
                input_email     1.0000    1.0000    1.0000        44
                   input_id     1.0000    1.0000    1.0000        44
                 input_name     1.0000    1.0000    1.0000        44
             input_password     1.0000    1.0000    1.0000        44
     input_password_confirm     1.0000    1.0000    1.0000        44
         input_phone_number     1.0000    1.0000    1.0000        44
read_available_marketplaces     1.0000    0.9773    0.9885        44
  read_current_page_actions     1.0000    1.0000    1.0000        44
     read_frequent_products     1.0000    1.0000    1.0000        50
          read_hearbe_guide     1.0000    1.0000    1.0000        44
  read_order_history_recent     1.0000    1.0000    1.0000        50
                  read_page     0.9362    1.0000    0.9670        44
  read_recommended_products     1.0000    1.0000    1.0000        50
                 read_terms     1.0000    0.9773    0.9885        44
              submit_signup     1.0000    0.9545    0.9767        44
         uncheck_keep_login     1.0000    1.0000    1.0000        44
                    unknown     1.0000    0.9971    0.9986       350

                   accuracy                         0.9907      2046
                  macro avg     0.9896    0.9894    0.9892      2046
               weighted avg     0.9913    0.9907    0.9907      2046

학습 설정 (Training Configuration)

하이퍼파라미터

  • —Learning Rate: 2e-05
  • —Train Batch Size: 256
  • —Eval Batch Size: 256
  • —Epochs: 15
  • —Weight Decay: 0.01
  • —Label Smoothing: 0.1
  • —Evaluation Strategy: IntervalStrategy.STEPS

학습 환경

  • —최대 시퀀스 길이: 64 tokens
  • —저장 전략: SaveStrategy.STEPS
  • —학습 로그: ./logs

클래스 정보 (Labels)

총 39개의 의도 클래스: unknown, gohearbe, gocoupang, readcurrentpageactions, readhearbeguide, gomall, clicksharedshoppingentry, clickappdownload, inputid, inputpassword, checkkeeplogin, uncheckkeeplogin, clicklogin, clickfindid, clickfindpassword, clicksignup, clickcheckidduplicate, inputname, clickviewterms, readterms, checktermsagreement, submitsignup, inputphonenumber, inputpasswordconfirm, inputemail, readavailablemarketplaces, clicklogout, clickgocoupang, clickcart, clickmypage, readpage, clickchangepassword, clickdeleteaccount, clickorderdetail, clickproductview, goorderhistory, readorderhistoryrecent, readfrequentproducts, readrecommendedproducts

사용 방법 (Usage)

python
from transformers import pipeline

# 모델 로드
classifier = pipeline("text-classification", model="your-username/model-name")

# 추론 실행
text = "당신의 문장을 입력하세요"
result = classifier(text)
print(result)

학습 데이터

  • —데이터셋: 한국어 쇼핑 의도 분류 데이터
  • —테스트 데이터: 평가 메트릭 계산에 사용

주의사항 (Limitations)

  • —학습 데이터와 유사한 도메인(쇼핑 관련 텍스트)에서 최적의 성능을 보입니다.
  • —다른 도메인의 데이터에서는 성능이 저하될 수 있습니다.
  • —테스트 데이터에서의 성능이 실제 운영 환경과 다를 수 있습니다.

생성 메타데이터 (Metadata)

  • —생성 날짜: 2026-02-12 10:25:18
  • —Fine-tuned from: monologg/koElectra-base-v3-discriminator

koElectrashoppingintent_v2

This model is a fine-tuned version of monologg/koElectra-base-v3-discriminator on the custom-intent-dataset dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.1867
  • —Accuracy: 0.9902
  • —F1: 0.9902

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
  • —trainbatchsize: 256
  • —evalbatchsize: 256
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 15
  • —mixedprecisiontraining: Native AMP
  • —labelsmoothingfactor: 0.1

Training results

Training LossEpochStepValidation LossAccuracyF1
No log003.66480.02490.0078
3.49091.5625503.39170.17450.0564
3.00853.1251002.89140.53670.4781
2.59344.68751502.42030.83970.8110
2.22206.252002.01620.93010.9194
1.89627.81252501.70290.96970.9682
1.67789.3753001.47340.98730.9872
1.499710.93753501.32220.99070.9907
1.394812.54001.23130.99020.9902
1.346914.06254501.18670.99020.9902

Framework versions

  • —Transformers 5.1.0
  • —Pytorch 2.9.1+cu128
  • —Datasets 4.5.0
  • —Tokenizers 0.22.2