Notes

Hack WiC Leaderboard

Offline Policy Evaluation and a Case Study in Dialogue System

Introduction of offline policy evaluation (ope)

Google Cloud CheatSheet

Docker Cheatsheet

Docker

Introduction from docker.com

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
  1. -it: interactive mode
  2. --rm: clean up after exit
  3. -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.