Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
e120f4c
Setting up GitHub Classroom Feedback
github-classroom[bot] Oct 28, 2024
2805913
issue / PR template 설정
yeseoLee Oct 28, 2024
600f374
workflows에 Black Formatter 지정
yeseoLee Oct 28, 2024
7e65e27
gitignore 기본 설정
yeseoLee Oct 28, 2024
998a981
feat: [as-is] baseline_code.ipynb [to-be] main.py & run_main() 함수 내에서…
Sujinkim-625 Oct 28, 2024
71ff8cc
feat: remove comments
Sujinkim-625 Oct 28, 2024
385b88b
feat: GPU 서버 개발 환경 세팅 스크립트
yeseoLee Oct 28, 2024
01db2e9
chore: 스크립트 주석 추가
yeseoLee Oct 28, 2024
244a6b6
Merge pull request #2 from boostcampaitech7/feat/setup-script
Sujinkim-625 Oct 28, 2024
fb160db
feat: main.py refactoring
hsmin9809 Oct 28, 2024
7e3a82d
feat: config,yaml 추가 및 main.py에 적용 완료
hsmin9809 Oct 28, 2024
2e6591e
style: black formatting 적용
yeseoLee Oct 29, 2024
81f738f
feat: config learning_rate 추가
hsmin9809 Oct 29, 2024
24331cd
feat: config 수정 (lr 누락부분 추가)
hsmin9809 Oct 29, 2024
9e6950e
feat: BERTDataset max_length 설정 변경
Sujinkim-625 Oct 29, 2024
634fd12
feat: lr type str -> float
Sujinkim-625 Oct 29, 2024
970fdd2
feat: apply black formatting
Sujinkim-625 Oct 29, 2024
0619212
feat: strategy steps to epoch
Sujinkim-625 Oct 29, 2024
4c60fe8
feat: split batch_size into train_bs and eval_bs
Sujinkim-625 Oct 29, 2024
30d9ca9
feat: requirements.txt 의존성 패키지 추가
hsmin9809 Oct 29, 2024
7d557f2
Merge branch 'main' into feat/baseline-refactor
hsmin9809 Oct 29, 2024
57483aa
Merge pull request #4 from boostcampaitech7/feat/baseline-refactor
Sujinkim-625 Oct 29, 2024
16538a9
fix: requirements.txt 의존성 패키지 수정
yeseoLee Oct 29, 2024
29795df
feat: add wandb config
Sujinkim-625 Oct 29, 2024
41031fd
fix: requirements.txt 의존성 패키지 수정
yeseoLee Oct 29, 2024
8110e55
fix: requirements.txt 의존성 패키지 수정
yeseoLee Oct 29, 2024
dd34092
fix: requirements.txt 오타 수정
yeseoLee Oct 29, 2024
6625c30
feat: config에서 파라미터를 불러와 변수에 저장하는 기능 추가
Sujinkim-625 Oct 29, 2024
a4967c9
fix: Black Formatter line 수 변경 및 주피터 노트북 제외
yeseoLee Oct 29, 2024
df09737
feat: pre-commit 설정
yeseoLee Oct 29, 2024
244650e
Merge pull request #7 from boostcampaitech7/feat/add-wandb-config
nevertmr Oct 29, 2024
a1b98c9
feat]output,data,wandb관련 폴더 무시
nevertmr Oct 29, 2024
c84170f
feat]debug모드 동장분기설정
nevertmr Oct 29, 2024
875a62a
fix: setup-git.bash 오타 수정
yeseoLee Oct 29, 2024
adc4af4
feat]허깅페이스 연동코드 추가
nevertmr Oct 29, 2024
bbaedd4
feat]허깅페이스 업로드 관련 requirements 추가
nevertmr Oct 29, 2024
2d6a1f5
[style]apply black formatter
nevertmr Oct 29, 2024
08700fb
feat]try-except 코드 안정성 추가
nevertmr Oct 29, 2024
8e2e092
Merge pull request #8 from boostcampaitech7/feat/selective-hf-upload
Sujinkim-625 Oct 29, 2024
bf32245
feat:기본데이터시각화
koreannn Oct 29, 2024
3931143
주석제거
koreannn Oct 29, 2024
93c0862
Delete app.py
koreannn Oct 29, 2024
fd598a6
feat: 노이즈 비율 시각화 중 target 값 선택 [asis]순서무작위 [tobe]오름차순 정렬
Sujinkim-625 Oct 30, 2024
ac2f47e
feat: 단순 데이터 시각화 중 label [asis]순서무작위 [tobe]오름차순 정렬
Sujinkim-625 Oct 30, 2024
585bc48
feat: 노이즈 비율 시각화 중 라벨 별 노이즈 비율 barplot x축 숫자 회전
Sujinkim-625 Oct 30, 2024
8ff7c6e
feat: noise category 외부로 이동
Sujinkim-625 Oct 30, 2024
ec99b4f
fix: formatting
Sujinkim-625 Oct 30, 2024
1d8f558
Merge pull request #11 from boostcampaitech7/feat/streamlit
Sujinkim-625 Oct 30, 2024
564d948
add cleanlab
Effyee Oct 30, 2024
ab5faf6
feat: add cleanlab
Effyee Oct 30, 2024
23921c5
feat: add cleanlab
Effyee Oct 30, 2024
8f0cfb9
feat: add cleanlab
Effyee Oct 30, 2024
3b1e43d
style] config에서 organization 제거
nevertmr Oct 30, 2024
0e2c2ea
chore] 허깅페이스 토큰 관리용 .env 추가
nevertmr Oct 30, 2024
68532c3
feat] 데이터셋 업로드/다운로드 기능 추가
nevertmr Oct 30, 2024
b5c5489
style] adjust blackfomatter
nevertmr Oct 30, 2024
8ba1aed
Merge pull request #13 from boostcampaitech7/feat/cleanlab
Effyee Oct 31, 2024
a50b734
fix] 파일만 업로드하도록 수정
nevertmr Oct 31, 2024
cb6b9f3
fix] 단일 train 데이터셋 다운로드 구현 수정
nevertmr Oct 31, 2024
32f9dae
chore] black fomatter 적용
nevertmr Oct 31, 2024
3598ff9
fix] wandb이름 연동 수정
nevertmr Oct 31, 2024
0fb0f5b
fix: hf 업로드할 파일명 config에서 가져오기
yeseoLee Oct 31, 2024
a00c526
style: 사용하지 않는 import 제거
yeseoLee Oct 31, 2024
d927882
feat: add cleanlab relabeling visualization
Effyee Oct 31, 2024
f304302
Merge pull request #14 from boostcampaitech7/feat/hf-dataset-upload-d…
nevertmr Oct 31, 2024
4427b7a
fix: wandb init 구성에 entity 추가
yeseoLee Oct 31, 2024
4bccc65
chore: add gitignore
yeseoLee Oct 31, 2024
41b4dba
fix: requirements.txt 의존성 누락 추가
yeseoLee Oct 31, 2024
4451733
Merge pull request #16 from boostcampaitech7/feat/cleanlab_vis
koreannn Oct 31, 2024
efbb6ab
Merge pull request #18 from boostcampaitech7/feat/wandb_entity
yeseoLee Oct 31, 2024
0210130
feat: config.yaml 제거 및 sample로 변경
yeseoLee Oct 31, 2024
c76a8c7
chore: config.yaml git ignore
yeseoLee Oct 31, 2024
bf41a04
Merge pull request #19 from boostcampaitech7/feat/config
yeseoLee Oct 31, 2024
70393d7
chore: add gitignore
yeseoLee Nov 1, 2024
b09c823
chore: add package
yeseoLee Nov 1, 2024
6dd4721
feat: detail evaluation 로그 기능 추가
yeseoLee Nov 1, 2024
282d61d
feat: 디버깅 모드 전용 출력 적용 및 config wandb 로그에 기록
yeseoLee Nov 1, 2024
63e4789
feat: 허깅페이스 모델 업로드 제거
yeseoLee Nov 1, 2024
80b0463
feat:utils 분리
yeseoLee Nov 1, 2024
0f48e8d
feat: gdrive output & report 업로드 기능 구현
yeseoLee Nov 1, 2024
e801074
feat: gdrive에 업로드하는 리포트 개선
yeseoLee Nov 1, 2024
0c188c7
feat: evaluating batch 연산으로 속도 개선
yeseoLee Nov 1, 2024
dc783b8
Merge pull request #20 from boostcampaitech7/feat/log
yeseoLee Nov 1, 2024
71244f6
exp: eda
yeseoLee Nov 1, 2024
636c01c
exp:eda
yeseoLee Nov 1, 2024
5a0af52
exp:noise_eda
yeseoLee Nov 1, 2024
604d7c2
exp: noise_eda
yeseoLee Nov 1, 2024
f6c7571
feat]eda 코드 추가
nevertmr Nov 2, 2024
772d557
feat: LLM 불러와서 테스트
nevertmr Nov 2, 2024
7772fcd
exp: morph 기반 노이즈 탐색
yeseoLee Nov 2, 2024
7fafa79
exp: noise eda 샌드위치 패턴
yeseoLee Nov 2, 2024
052570c
exp: noise eda
yeseoLee Nov 2, 2024
f82cb72
exp: noise eda
yeseoLee Nov 2, 2024
12933fe
exp: noise eda about special char
Sujinkim-625 Nov 2, 2024
255abd4
fix: add requirements.txt tabulate
Sujinkim-625 Nov 2, 2024
5736a22
exp: noise eda
yeseoLee Nov 2, 2024
d80cbc2
Merge branch 'exp/eda' of https://github.com/boostcampaitech7/level2-…
yeseoLee Nov 2, 2024
dd27b27
exp: noise eda
yeseoLee Nov 2, 2024
94bc328
exp: noise eda
yeseoLee Nov 2, 2024
8ec5daa
exp: noise eda
yeseoLee Nov 2, 2024
684801d
exp: noise eda
yeseoLee Nov 2, 2024
8b43e5c
Merge pull request #23 from boostcampaitech7/exp/eda
Sujinkim-625 Nov 3, 2024
eca1566
exp: 특수문자를 활용한 noise eda
Sujinkim-625 Nov 3, 2024
a5a2817
Merge pull request #25 from boostcampaitech7/exp/eda2
nevertmr Nov 3, 2024
4f923f5
exp: 라이브러리 pororo 사용법 추가
Sujinkim-625 Nov 3, 2024
59a4d52
exp: noise eda 노트북 코드 정리
yeseoLee Nov 3, 2024
c2689ed
feat: 랭체인에 대한 여러 실험 추가
nevertmr Nov 3, 2024
608d4da
exp: noise eda 개선
yeseoLee Nov 3, 2024
5e76369
exp: noise eda 개선
yeseoLee Nov 3, 2024
d05f744
style: noise_detact로 이름 변경
yeseoLee Nov 3, 2024
84f70e7
exp: denoising
yeseoLee Nov 3, 2024
18876fe
exp: denoising
yeseoLee Nov 3, 2024
50d20cb
Merge pull request #26 from boostcampaitech7/exp/eda
nevertmr Nov 3, 2024
cb83247
exp: 라이브러리 pororo 사용법 readme.md 추가
Sujinkim-625 Nov 4, 2024
2317076
feat: AE모델 기반 데이터 라벨 노이즈 수정 구현
nevertmr Nov 4, 2024
72eb103
feat: 프로젝트 flake8 설정
yeseoLee Nov 4, 2024
520e525
feat: requirements.txt 정리
yeseoLee Nov 4, 2024
8d74095
style: flake8 권장사항으로 코드 컨벤션 맞추기
yeseoLee Nov 4, 2024
5611f8a
fix:데이터파일전달방식수정
koreannn Nov 4, 2024
42e87ee
ci: pre-commit에 issort 세팅
yeseoLee Nov 4, 2024
47ed881
ci: pre-commit issort에 black 인자 추가
yeseoLee Nov 4, 2024
b721d83
refector: 변경된 config 규격에 맞게 cleanlab 수정 및 중복코드 제거
yeseoLee Nov 4, 2024
13da7c9
feat: loguru 의존성 추가
yeseoLee Nov 4, 2024
2dfc1a9
style: isort 적용
yeseoLee Nov 4, 2024
70bfe04
Merge pull request #33 from boostcampaitech7/feat/flake8-refector
yeseoLee Nov 4, 2024
4e12e14
Merge pull request #31 from boostcampaitech7/exp/pororo
hsmin9809 Nov 4, 2024
e5ca2b8
feat: train과 합치는 기능 추가
nevertmr Nov 4, 2024
85a41bb
ci: Makefile로 코드 정적 검사 및 포매팅 구성
yeseoLee Nov 4, 2024
1f5a81e
style: 포매팅 및 컨벤션 적용
yeseoLee Nov 4, 2024
677e631
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
yeseoLee Nov 4, 2024
381b986
chore: requirement 경로 오타 수정
yeseoLee Nov 4, 2024
25548a4
Merge branch 'main' into exp/noise-cleaning
yeseoLee Nov 4, 2024
5a952a8
feat:노이즈비율 오름차순정렬
koreannn Nov 4, 2024
0cf5ab9
feat:노이즈비율 오름차순정렬
koreannn Nov 4, 2024
7ceb977
feat:토크나이징결과 시각화
koreannn Nov 4, 2024
1985bc5
Merge branch 'main' into feat/streamlit
koreannn Nov 4, 2024
9aee3a4
feat: is_noise 컬럼을 기준으로 리라벨 학습을 위한 train-test 스플릿코드작성
nevertmr Nov 5, 2024
95c5761
feat: is_noise column기준 스플릿 코드 고도화
nevertmr Nov 5, 2024
b266944
exp: denoising
yeseoLee Nov 5, 2024
3e49614
exp: denoise 의미없는 문자 추가
yeseoLee Nov 5, 2024
1912165
exp: denoising
yeseoLee Nov 5, 2024
b8c0676
exp: denoising
yeseoLee Nov 5, 2024
0e670eb
feat:add t5 tokenizing denoising
Nov 5, 2024
a546e51
feat: LLM based data restore
Nov 5, 2024
3a8b274
feat: sentencepiece tokenizing denoise
Nov 5, 2024
e3b1234
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
Nov 5, 2024
786679b
style: reformatting
Nov 5, 2024
31e88c7
fix:포매팅
koreannn Nov 5, 2024
d4f373d
Merge branch 'exp/noise-cleaning' of https://github.com/boostcampaite…
koreannn Nov 5, 2024
2cc44bc
.
yeseoLee Nov 5, 2024
dc458ef
fix:formatting
koreannn Nov 5, 2024
d297192
fix:app.py formatting
koreannn Nov 5, 2024
6e5239c
fix:formatting
koreannn Nov 5, 2024
07b3a32
Merge pull request #37 from boostcampaitech7/feat/streamlit
koreannn Nov 5, 2024
3527aed
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
Nov 5, 2024
0f7e2c7
fix:t5 tokenizer denoising
Nov 5, 2024
2ba7670
style:refomatting
Nov 5, 2024
f5bd2aa
feat: LlaMa 3.1 도입
nevertmr Nov 5, 2024
5226dea
feat: eda, 아스키코드 기반 노이즈 detect 코드 추가
nevertmr Nov 5, 2024
11a0431
feat: eda와 dectect 노이즈 관련 코드 분리, 주석 및 설명추가
nevertmr Nov 5, 2024
c74464b
chore: Remove restore_sentence.py
Nov 5, 2024
ac1f482
feat:add LLM based denoising
Nov 5, 2024
109acfb
exp: is_noise를 기준으로 train/eval dataset을 구분하여 학습 후, cleanlab을 진행하는 코드
Sujinkim-625 Nov 5, 2024
1c0a67e
chore: file name change
Nov 5, 2024
4d6881f
style:reformatting
Nov 5, 2024
000adcf
feat: add LLM based augmentation code
Nov 5, 2024
88b9530
Merge pull request #36 from boostcampaitech7/feat/tokenized_denoise
Effyee Nov 5, 2024
88b7fae
Merge pull request #42 from boostcampaitech7/feat/rule-based-text-noi…
nevertmr Nov 5, 2024
d7093a4
feat: add synonym aug
Nov 6, 2024
efc2d94
fix:LLM based denoising
Nov 6, 2024
90b31f4
style:파일 구조 변경
nevertmr Nov 6, 2024
ab7ba14
refactor: 상대경로 지정 업데이트
nevertmr Nov 6, 2024
e7e6c0c
fix: 폴더구조 변경에 따른 경로 업데이트
nevertmr Nov 6, 2024
884531d
feat]eda 코드 추가
nevertmr Nov 2, 2024
603857e
feat: LLM 불러와서 테스트
nevertmr Nov 2, 2024
4a8cbba
feat: 랭체인에 대한 여러 실험 추가
nevertmr Nov 3, 2024
060189b
feat: AE모델 기반 데이터 라벨 노이즈 수정 구현
nevertmr Nov 4, 2024
3e86c3c
feat: train과 합치는 기능 추가
nevertmr Nov 4, 2024
ed17ace
feat: is_noise 컬럼을 기준으로 리라벨 학습을 위한 train-test 스플릿코드작성
nevertmr Nov 5, 2024
502728c
feat: is_noise column기준 스플릿 코드 고도화
nevertmr Nov 5, 2024
3560840
feat: LlaMa 3.1 도입
nevertmr Nov 5, 2024
d2ab035
style:파일 구조 변경
nevertmr Nov 6, 2024
fe63e6c
refactor: 상대경로 지정 업데이트
nevertmr Nov 6, 2024
c78caaa
fix: 폴더구조 변경에 따른 경로 업데이트
nevertmr Nov 6, 2024
a2aa221
Merge branch 'exp/BERT-based-relabeling' of https://github.com/boostc…
nevertmr Nov 6, 2024
c55d8f8
style: isort, flake 적용
nevertmr Nov 6, 2024
0d96e82
fix: pororo 관련 코드 ipynb에서 py로 변경
Sujinkim-625 Nov 6, 2024
d9a2b4a
fix:LLM_aug
Nov 6, 2024
afcc744
chore:Update LLM file
Nov 6, 2024
696fb2f
Merge pull request #46 from boostcampaitech7/exp/LLM_denoise
Effyee Nov 6, 2024
b064378
style:reformatting
Nov 6, 2024
b86b297
chore:folder changed
Nov 6, 2024
e4428a6
Merge pull request #47 from boostcampaitech7/exp/BERT-based-relabeling
nevertmr Nov 6, 2024
2bd865b
feat: 로컬 GPU 상태 체크 cmd코드 구현
nevertmr Nov 6, 2024
e056fbd
feat: llm 기반 텍스트 디노이징 코드 구현
nevertmr Nov 6, 2024
55ded1f
exp: cleanlab2.py 주석 추가 및 clean_lab 폴더생성
Sujinkim-625 Nov 7, 2024
d292f72
fix: make style 적용
Sujinkim-625 Nov 7, 2024
3efbcbf
feat: LLM 기반 디노이징 후처리 구현
nevertmr Nov 7, 2024
80a0343
chore: isort 이용 스타일 변경 및 불필요 코드 삭제
nevertmr Nov 7, 2024
b5002d7
style: change formatting
nevertmr Nov 7, 2024
c7adf3a
ci: prompt 파일은 ruff 제외
yeseoLee Nov 7, 2024
9a60d67
feat: LLM 프롬프트 엔지니어링
yeseoLee Nov 7, 2024
51e8cfc
fix: 직접 만든 데이터 사용시 타입 안맞는 문제 수정
yeseoLee Nov 7, 2024
221c6cc
feat: gdrive 파일 목록 조회
yeseoLee Nov 7, 2024
0064c66
feat: 텍스트 mix 증강 구현
nevertmr Nov 7, 2024
5949129
Merge pull request #51 from boostcampaitech7/feat/llm-based-text-deno…
nevertmr Nov 7, 2024
0ebbd6c
Merge pull request #45 from boostcampaitech7/exp/clean_lab2
yeseoLee Nov 7, 2024
8486df5
fix: hard-coding 제거
Sujinkim-625 Nov 7, 2024
b767e08
Merge pull request #55 from boostcampaitech7/exp/mix-same-label
koreannn Nov 7, 2024
f9bb801
Merge pull request #50 from boostcampaitech7/exp/LLM_aug
nevertmr Nov 7, 2024
4a3725a
feat: stratified random sampling 구현
nevertmr Nov 8, 2024
f06a0b9
Merge pull request #49 from boostcampaitech7/fix/pororo.ipynb-to-py
yeseoLee Nov 8, 2024
dcc500e
Merge remote-tracking branch 'origin/main' into agumentation-exaone
yeseoLee Nov 8, 2024
5c544d6
.
yeseoLee Nov 8, 2024
e691cc8
Merge pull request #54 from boostcampaitech7/agumentation-exaone
yeseoLee Nov 8, 2024
a0b6590
refactor : csv merge파일에 대한 리팩터링
nevertmr Nov 8, 2024
c6c392b
feat: main에 로깅 설정 추가
nevertmr Nov 8, 2024
4eb08c4
refactor : encoder based relabel code refactor
nevertmr Nov 8, 2024
bb5f837
chore: isort 적용
nevertmr Nov 8, 2024
6ffb3c7
feat: check-gpu 커맨드 구현
nevertmr Nov 8, 2024
2de4871
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
nevertmr Nov 8, 2024
f91bf0c
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
nevertmr Nov 8, 2024
119096a
Merge pull request #57 from boostcampaitech7/feat/stratified_random_s…
nevertmr Nov 8, 2024
66713f0
style: 코드 포맷팅 적용
nevertmr Nov 8, 2024
f9415f9
ci: prompt는 lint 제외
yeseoLee Nov 8, 2024
e381303
refector: LLM 코드 프롬프트 분리 및 함수 default parameter 설정
yeseoLee Nov 8, 2024
cb40249
refector: pororo default 인자 설정
yeseoLee Nov 8, 2024
06b2be9
chore: 필요없는 주석 제거
yeseoLee Nov 8, 2024
3472f8a
ci: ruff에 isort 서드파티 띄어쓰기 세팅 추가
yeseoLee Nov 8, 2024
e5d4530
refector: 함수 default 인자 및 argparse 설정
yeseoLee Nov 8, 2024
9979856
Merge pull request #59 from boostcampaitech7/feat/refector-all
yeseoLee Nov 8, 2024
55af2ee
chore: 코드 리팩토링, config파일 작성
nevertmr Nov 8, 2024
5829f81
Merge branch 'main' of https://github.com/boostcampaitech7/level2-nlp…
nevertmr Nov 8, 2024
bdfb339
chore: style 적용
nevertmr Nov 8, 2024
947894d
Merge pull request #58 from boostcampaitech7/style/refactor-ricky-code
nevertmr Nov 8, 2024
a7a4eaa
feat: README 생성
hsmin9809 Nov 10, 2024
f6cfd80
feat: README 수정
hsmin9809 Nov 10, 2024
83f9a1a
README.md 수정
Sujinkim-625 Nov 11, 2024
820969e
fix: change team member username
nevertmr Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .github/.keep
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
issue_templates:
- name: Experiment Template
description: For new experiments
file: experiment.md
- name: Feature Template
description: For new features
file: feature.md
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/experiment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Experiment Issue
about: Suggest a new experiment for this project
title: "[EXP]"
labels:
assignees: ''
---

# ISSUE: Experiment

## 노션 링크


## 실험 목적

- 목적 1
- 목적 2

## 체크리스트

- [ ] 할일 1
- [ ] 할일 2
- [ ] 할일 3

## 실험 내용

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature Issue
about: Suggest a new feature for this project
title: "[FEAT]"
labels:
assignees: ''
---

# ISSUE: Feature

## 노션 링크


## 기능 목적

- 목적 1
- 목적 2

## 체크리스트

- [ ] 할일 1
- [ ] 할일 2
- [ ] 할일 3

## 기능 내용

13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## PR 정보

- 목적:
- 이슈 번호:
- 노션 작업 카드 링크:

## 변경 사항

- 이번 PR에서 작업한 내용을 간략히 설명

## 리뷰 참고사항

- 리뷰어에게 필요한 설명이나 특별히 봐주었으면 하는 부분을 작성
24 changes: 24 additions & 0 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: check-lint

on: [pull_request]

jobs:
check-lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip

- name: Check Lint
run: |
make quality
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.idea/
# macOS
*DS_Store

# custom
tmp/
data/
output/
outputs/
**/wandb/
config/config.yaml
config/credentials.json
config/token.json
nohup.out
preprocess/results/
preprocess_minseo/1.BERT-based-relabeling/results/
preprocess_minseo/1.BERT-based-relabeling/checkpoint/
preprocess_minseo/1.BERT-based-relabeling/wandb/
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: local
hooks:
- id: style
name: style
language: system
entry: make style
types: [python]
48 changes: 48 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
clean: clean-pyc clean-test
quality: set-style-dep check-quality
style: set-style-dep set-style
setup: set-precommit set-style-dep set-test-dep set-git set-dev
test: set-test-dep set-test


##### basic #####
set-git:
git config --local commit.template .gitmessage

set-style-dep:
pip3 install ruff==0.7.2

set-test-dep:
pip3 install pytest==8.3.2

set-precommit:
pip3 install pre-commit==4.0.1
pre-commit install

set-dev:
pip3 install -r ./setup/requirements.txt

set-test:
python3 -m pytest tests/

set-style:
ruff check --fix .
ruff format .

check-quality:
ruff check .
ruff format --check .

##### clean #####
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +

clean-test:
rm -f .coverage
rm -f .coverage.*
rm -rf .pytest_cache
rm -rf .mypy_cache
rm -rf .ruff_cache
Loading