Skip to content
프로젝트

atselousov/transformer_chatbot

GitHub에서 보기

소개

Convai2 submission.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ConvAI2

Team: Lost in Conversation /2

NeurIPS 2018 presentation.

Links

BPE vocabulary: https://www.dropbox.com/s/n2jbjyq32x6jgr6/parameters.zip?dl=1

Model checkpoint file: https://www.dropbox.com/s/cs6zd9yntn6ixea/last_checkpoint?dl=1

Team

How to run

Unzip BPE vocabulary files into ./parametes folder and save checkpoint into ./checkpoints folder or use scripts (see below).

The easiest way to prepare environment is to run script prepare_environment.sh. After that docker container with retrieval server must be run in demon mode and image with transformer_chatbot must be built. Run scripts from the root folder of this repository.

Retrieval server can be run with script run_retrieval_servet.sh. Server do not need the internet connection for its work, for connection with transformer_chatbot port 9200 is used (containers must be in the same docker network).

After preparations metrics can be evaluated with corresponding docker_*.sh scripts or *.py scripts can be used during interactive container run.

Usage of docker container for transformer_chatbot is not necessary, but retrieval server must always be run for correct work of transformer_chatbot.

List of used python modules is in requirements.txt. Also pytorch=0.4.1 is used.

Metrics

f1: 0.178

hits@1: 0.173

관련 프로젝트 살펴보기

불러오는 중…