Skip to content
Open
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: 2 additions & 0 deletions .streamlit/secrets.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[secrets]
REPLICATE_API_TOKEN = ""
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.9.18-slim
WORKDIR /app
COPY . /app/
RUN pip install -r requirements.txt
EXPOSE 8501
VOLUME [ "/app" ]
CMD ["streamlit", "run", "streamlit_app.py"]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ To use this app, you'll need to get your own [Replicate](https://replicate.com/)

After signing up to Replicate, you can access your API token from [this page](https://replicate.com/account/api-tokens).

## Installation with Docker

```
docker build -t llama2 .
docker run -p 8501:8501 -v $(pwd):/app llama2
```

## Other Llama 2 models to try

As mentioned above, this chatbot implementation uses the [**Llama2-7B**](https://replicate.com/a16z-infra/llama7b-v2-chat) model that was trained on 7 billion parameters.
Expand Down