Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-moon authored Nov 10, 2021
1 parent cdc47a5 commit 6e2f768
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,36 @@
# NIKL-GLUE

## pretrained model & data
need extract inside each task folder
boolq : https://drive.google.com/file/d/1OZaN9qVNFlEbk7GIpaoREcEObLttibFk/view?usp=sharing
copa : https://drive.google.com/file/d/1QB66EebwWP2XhgZFweG00NIu3QIBZ-hh/view?usp=sharing
cola : https://drive.google.com/file/d/1d-eIMrLZSxreeiE-vcO6lX5hjF70c6zS/view?usp=sharing
wic : https://drive.google.com/file/d/1Rm1J6vYpZ09OTOVBBC0Un-gFTpcSoAch/view?usp=sharing

## 평가방법
### CPU inference권장
### CPU inference를 권장드립니다

### 기존 테스트셋으로 inference를 할 때
1. 본 repository를 clone한다
1. 본 repository를 clone합니다

2. 도커 이미지를 빌드한다.
2. 도커 이미지를 빌드합니다
빌드 명령어: docker build -t inference-docker -f Dockerfile .

3. 도커 이미지를 run한다
3. 도커 이미지를 run합니다
run 명령어: docker run -v "$PWD:/mnt/work" -it inference-docker

4. 기존 테스트셋(대회에서 주어진 testset)으로 inference를 할 때에는 all_inference.sh를 실행한다.
4. 기존 테스트셋(대회에서 주어진 testset)으로 inference를 할 때에는 all_inference.sh를 실행합니다
실행 명령어: sh all_inference.sh

### 새로운 테스트셋(평가set)으로 inference할 때

1. 본 repository를 clone한다
1. 본 repository를 clone합니다

2. 도커를 빌드한다 ///****주의**** -> 재빌드 필수, 기존 도커로 inference 실행불가///
2. 도커를 빌드합니다 **주의사항 : 다시 재빌드 하지 않고 실행시 오류가 발생할 수 있습니다 재 빌드 해주세요!!**
빌드 명령어: docker build -t inference-docker -f Dockerfile .

3. 도커 이미지를 run한다
3. 도커 이미지를 run합니다
run 명령어: docker run -v "$PWD:/mnt/work" -it inference-docker

4. 새로운 테스트셋(새로운 평가 testset)으로 inference를 할 때에는 데이터를 new_test 디렉토리에 다음과 같이 넣어준다
4. 새로운 테스트셋(새로운 평가 testset)으로 inference를 할 때에는 데이터를 new_test 디렉토리에 다음과 같이 넣어줍니다
new_test/BoolQ.tsv
new_test/CoLA.tsv
new_test/WiC.tsv
new_test/CoPA.tsv
주의: 반드시 new_test 디렉토리 내부에 파일 이름을 위와 동일하게 할것
주의: 반드시 new_test 디렉토리 내부에서 위에 명시된 파일 명과 같이 추가해주세요!

5. new_inference.sh를 실행한다.
실행 명령어: sh new_inference.sh
Expand Down

0 comments on commit 6e2f768

Please sign in to comment.