Offline Policy Evaluation and a Case Study in Dialogue System
Introduction of offline policy evaluation (ope)
Docker Cheatsheet
Docker
docker run -it --rm \
-v ~/project/MNLI:/work/MNLI \
-v ~/.ssh:/root/.ssh \
-v /mnt:/work/data \
--privileged docker-image:tag bash
Run a docker image
docker run -it --rm -v /local_dir:/docker_dir docker-image:tag bash
-it
: interactive mode--rm
: clean up after exit-v
: volume (shared filesystems)
Attach to a running docker container
docker ps
docker exec -it container_name bash
File Permission Issue
All files created by the docker is owned by root.
Solution: Using ACL
The following command grant use ACL to make read/write permissions of all files in project
inherit from project and have the same access of the current host user.