elmo-erd
Tables (7)
finetuning_models
- fm_no — INT — Primary key — NOT NULL — AUTO_INCREMENT
- user_no — INT — Foreign key → users.user_no — NOT NULL
- pm_no — INT — Foreign key → pretrained_models.pm_no — NOT NULL
- fm_name — VARCHAR(50) — NOT NULL — 해당 파인튜닝 모델의 이름
- fm_description — VARCHAR(255) — 해당 파인튜닝 모델에 대한 설명(*디자인에 반영안됨, 우선순위 낮음)
messages
- msg_no — INT — Primary key — NOT NULL — AUTO INCRAMENT
- msg — VARCHAR(5000) — NOT NULL
- created_at — DATETIME — NOT NULL
- is_user — INT — NOT NULL — 1 is user, otherwise model
- test_no — INT — Foreign key → tests.test_no — NOT NULL — AUTO INCRAMENT
pretrained_models
- pm_no — INT — Primary key — NOT NULL — AUTO_INCREMENT
- name — VARCHAR(50) — NOT NULL
- decription — VARCHAR(255) — NOT NULL
- version — VARCHAR(50) — NOT NULL
- base_model — VARCHAR(255) — NOT NULL — 해당 모델의 베이스모델 명
- dl_url — VARCHAR(255) — NOT NULL
- dl_mirror — VARCHAR(255)
- parameters — VARCHAR(1000) — 훈련을 위한 파라미터와 기본값. json 형식의 긴 텍스트로 저장. 예: {"batch_size": 32, "learning_rate": 1e2222, ...}
tests
- test_no — INT — Primary key — NOT NULL — AUTO INCRAMENT
- session_no (session_no2) — INT — Foreign key → training_sessions.session_no — NOT NULL — AUTO_INCREMENT
- fm_no (fm_no2) — INT — Foreign key → training_sessions.fm_no — NOT NULL — AUTO_INCREMENT
training_parameter
- param_no — INT — Primary key — NOT NULL — AUTO_INCREMENT
- session_no — INT — Foreign key → training_sessions.session_no — NOT NULL — AUTO_INCREMENT
- fm_no — INT — Foreign key → training_sessions.fm_no — NOT NULL — AUTO_INCREMENT
- model_name — VARCHAR(50) — NOT NULL — 해당 세션으로 파인튜닝된 모델의 이름
- epochs — INT — NOT NULL
- save_strategy — VARCHAR(50) — NOT NULL
- logging_strategy — VARCHAR(50) — NOT NULL — 해당 세션으로 파인튜닝된 모델의 이름
- evaluation_strategy — VARCHAR(1000) — NOT NULL — json 형식의 긴 텍스트로 저장. 예: {"batch_size": 32, "learning_rate": 1e2222, ...}
- learning_rate — FLOAT — NOT NULL — 훈련에 쓰인 dataset file path
- weight_decay — FLOAT — NOT NULL
- batch_size — INT — NOT NULL
- eval_steps — INT — NOT NULL
- save_steps — INT — NOT NULL
- save_total_limits — INT — NOT NULL
- run_on_gpu — TINYINT(1) — NOT NULL
- load_best_at_the_end — TINYINT(1) — NOT NULL
- dataset — VARCHAR(255) — NOT NULL — 훈련에 쓰인 dataset file path
training_sessions
- session_no — INT — Primary key — NOT NULL — AUTO_INCREMENT
- fm_no — INT — Foreign key → finetuning_models.fm_no — NOT NULL — AUTO_INCREMENT
- parent_session_no — INT — NOT NULL — 부모 모델의 세션번호
- start_time — DATETIME — NOT NULL
- end_time — DATETIME — NOT NULL
- ts_model_name — VARCHAR(50) — NOT NULL — 해당 세션으로 파인튜닝된 모델의 이름-epoch, loss율로 표시
users
- user_no — INT — Primary key — NOT NULL — AUTO_INCREMENT
- id — VARCHAR(20) — NOT NULL
- password — VARCHAR(50) — NOT NULL
- model_path — VARCHAR(255) — NOT NULL
- server_url — VARCHAR(255) — NOT NULL