🔨 Trial and Error Log

🔨 Trial and Error Log

[Excel to Google Form] 엑셀을 불러와서 구글 폼에서 사용하기

1. 아마존(AMT)을 사용하지 않고 주변인들에게 정성평가 할일이 생긴다면 아주 유용하게 쓰일 것 2. 구글폼을 이렇게 바꿔서 쓰면되는데 좀 비효율적으로 진행한 정성평가가 많다... 확장 프로그램은 Form builder for sheets https://www.youtube.com/watch?v=Ku1jZkU7kYI

🔨 Trial and Error Log

언어모델 (BERT, RoBERTa 등) 모델 저장 크기

파이토치로 모델 저장시에 model 통째로가 아니라 가중치만 저장하는데 사이즈가 너무 커져서 찾아봄 나는 주로 RoBERTa - base를 쓰고 base이기 때문에 저장시에 용량이 1GB 는 넘지 않아야 하는데 1.3GB 내외로 저장되어서 서버 용량 관리에 애먹었다. Model become 3 times larger after finetune? #63 https://github.com/google-research/bert/issues/63 Model become 3 times larger after finetune? · Issue #63 · google-research/bert A pretrained bert large model's ckpt file is about 1.3GB, after finetun..

🔨 Trial and Error Log

[Pytorch] 내가 쓰는 config 코드

이제 실험할 때 쓰는 구조가 거의 굳어졌다. 내가 기본적으로 사용하는 config 코드이다. 허깅페이스 예제 코드와 거의 비슷하고 출처도 동일하다. data: 데이터 폴더 preprocessing.py eda: 각종 분석용 코드 및 시각화 코드용 폴더 src functions: 3가지 코드는 필수적으로 사용한다. Dataset과 Collator는 data에서 만들어서 사용 data.py utils.py metric.py model: 모델에 대한 함수와 train,eval 함수가 들어있는 폴더 model.py main_functions.py config.py: 모델에 대한 하이퍼파라미터와 경로 등을 저장해서 사용한다. 쉽게 바꿀 수 있다. run.py: 실행 파일 """config.py""" import ..

🔨 Trial and Error Log

해외 저자에게 메일 보내기

제목 : Inquiry about your paper Dear, (저자님) Hello, I am a master student studying (분야) in South Korea. (칭찬 및 논문 언급) While reading famous papers in the related field, I read your paper “논문제목” that you submitted a few years ago. This paper helped me a lot to clearly define my research topic. (본론, 요청) I look forward to your response. Thank you! Sincerly, Yejin Lee https://powerofsummary.tistory.com/1..

🔨 Trial and Error Log

[mac os] 맥북 FTP 프로그램 추천 - ForkLift3

https://sergeswin.com/259/ 쾌적해서 즐겁다? 맥 OS, 최정예 FTP 프로그램 5가지! 놓치지 마세요! 지금 바로 만나보고픈 프로그램! 맥 OS '최고의 FTP 프로그램'을 확인해보세요! sergeswin.com 위 글에서는 무료/유료 FTP 프로그램을 추천한다. 무료인 파일질러를 써보려고 했지만 도저히 불편해서 32달러 결제하고 ForkLift3를 사용중이다. 앱스토어에는 무료판 ForkLift2가 나와있고, 3은 홈페이지에서 다운로드 받아야한다. 윈도우에서는 Xshell 과 Xftp7 + Pycharm 을 사용중이다. 전반적으로 Mac OS에서 iTerm과 ForkLift3 + Pycharm 을 사용하는 환경이 os 빨을 받아서 훨씬 쾌적하다.

🔨 Trial and Error Log

[Python] einsum is all you need

매트릭스 계산을 나름 직관적으로 표현할 수 있지만 헷갈림 einsum is all you need - einsum 용법 정리 https://rockt.github.io/2018/04/30/einsum Tim Rocktäschel Batch matrix multiplication is a special case of a tensor contraction. Let's say we have two tensors, an order-\(n\) tensor \({\color{red}\mathcal{A}}\in\mathbb{R}^{I_1\,\times\,\cdots\,\times\,I_n}\) and an order-\(m\) tensor \({\color{blue}\mathcal{B}}\i rockt.github...

지니티토리
'🔨 Trial and Error Log' 카테고리의 글 목록