(AI music player with doc2vec model created by embedding the lyrics of the song and analyzing the user's emotions through the transfer learning bert model)
(the best music player that understand you)
도커 환경으로 구성되어 있으며 서버를 구성하고싶다면 Docker만 설치하면 됩니다.
(It is configured Docker environment and you only need to install Docker if you want to configure the server.)
- 도커 허브로 설치하는 경우 (use Dockerhub)
# 준비 중 (to be soon) #
- 깃허브에서 clone하여 설치하는 경우 (use github repo)
# 2-1) clone repo from github
git clone https://github.com/dnfwlxo11/lyricsPlayer
# 2-2) cd to docker-compose directory
cd {clone directory}/lyricsPlayer/docker-compose
# 2-3) KoBert Model file download and paste
Model-file-link : https://drive.google.com/drive/folders/1_pkwu_woK6jyi5S9YIEI5kYghzACAI84?usp=sharing
# download file paste to "{clone directory}/lyricsPlayer/docker-compose/fastapi/app/models/"
# It should have the following structure
# path : "{clone directory}/lyricsPlayer/docker-compose/fastapi/models/"
# models
# ├── doc2vec.bin
# ├── 2200223_model.pt
# ├── kobert_from_pretrained
# │ ├── config.json
# │ └── pytorch_model.bin
# └── kobert_news_wiki_ko_cased-1087f8699e.spiece
# 2-4) docker build and running
docker-compose up --build -d
만약 위의 설치법을 보고 완료했다면 다음 주소로 들어가면됩니다.
(If you followed the above steps, you can enter the following address.)
- KoBert - KoBert (SKT Brain)
- 자멘도 뮤직 (저작권 정보) (Jamendo Music (copyright information))
만약 불법적인 무언가가 있다면 알려주세요, 수정하겠습니다.
If there is anything illegal, please let me know and I will fix it.
The korean songs in the screenshots are samples and only the title, artist, and thumbnail, not the song file, were crawled.
최초 실행 혹은 재실행 시
ELK 스택이 켜지는 동안 음악 검색 기능이 동작하지 않습니다.
(When running for the first time or running again
Music search function does not work while ELK Stack is on.)
만약 Node.js 컨테이너가 'exec user process caused: no such file or directory' 에러를 발생시키며 실행되지 않는 경우
(If the Node.js container does not run with an error 'exec user process caused: no such file or directory')
"entrypoint.sh", "wait-for-it.sh" 두 개 파일의 라인 시퀀스를 "CRLF"에서 "LF"로 바꾼후 다시 빌드하시면 됩니다.
(Change the line sequence of the two files "entrypoint.sh" and "wait-for-it.sh" from "CRLF" to "LF" and then rebuild.)
자세한 설명 (detail explanation)
Issue#1