---
# System prepended metadata

title: AICUP-2023-baseline
tags: [實作, AICUP]

---

###### tags: `實作` `AICUP`
# AICUP-2023-baseline

## 使用 Docker
- 建立 docker-compose.yml
```=
version: '3.0'
services:
  aicup:
    image: restrd/tensorflow1.8-cuda9.0-cudnn7-devel-ubuntu16.04
    volumes:
      - /home/P78081057/workspace/aicup/fever-2018-team-athene:/fever-2018-team-athene
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    stdin_open: true
    tty: true
```
- 啟動 docker
```
docker-compose up -d
docker exec -it aicup bash
```
- 手動安裝
```bash
cat requirements.txt | xargs -n 1 pip install
pip install overrides==3.1.0
LC_ALL=C.UTF-8 pip install git+https://github.com/j6mes/drqa@parallel#egg=drqa
```
- AllenNLP
```bash
pip install pytz --ignore-installed
pip install allennlp==0.5.1
```
- 其他多餘的東西
```
pip uninstall dask
```