Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ demo:
diambra -r ~/.diambra/roms run -l python3 demo.py && python3 result.py

local:
diambra -r ~/.diambra/roms run -l python3 ollama.py
diambra -r ~/.diambra/roms run -l python3 local.py

install:
pip3 install -r requirements.txt
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,16 @@ To build the Docker image, use the following command:
```bash
docker build -t diambra-app .
```

### Running the Docker Container

To run the Docker container, use the following command:

```bash
docker run --name diambra-container -v ~/.diambra/roms:/app/roms diambra-app
```

* If you encounter a conflict with an existing container name, you can remove the existing container with:
- If you encounter a conflict with an existing container name, you can remove the existing container with:

```bash
docker rm diambra-container
Expand Down Expand Up @@ -134,7 +136,7 @@ You can run the arena with local models using [Ollama](https://ollama.com/).

2. Run `make local` to start the fight.

By default, it runs mistral against mistral. To use other models, you need to change the parameter model in `ollama.py`.
By default, it runs mistral against mistral. To use other models, you need to change the parameter model in `local.py`.

```python
from eval.game import Game, Player1, Player2
Expand Down
File renamed without changes.