File size: 762 Bytes
e1076f0
b124d69
9d6d9b1
 
 
0cad14f
9d6d9b1
 
 
e1076f0
b124d69
aa22a2e
 
 
 
b124d69
 
 
 
74909f9
b124d69
 
 
9d6d9b1
aa22a2e
 
 
 
 
 
74909f9
 
248a405
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: Llama2 Gradio Hugging Face
emoji: 🛩️
colorFrom: gray
colorTo: gray
sdk: docker
app_file: app.py
app_port: 7860
pinned: true
---

## App

See live app on [Hugging Face](https://huggingface.co/spaces/AdamNovotnyCom/llama2-gradio-huggingface)

## Local Container management

Start

    export HF_TOKEN=paste_HF_token && docker-compose -f docker-compose.yml up llama2hf

View app in browser

    http://0.0.0.0:7860/

Exec command

    docker exec -it llama2hf bash -c 'pip install torch==2.1.*'

## References
- [huggingface.co/llama2](https://huggingface.co/blog/llama2)
- [demo-docker-gradio](https://huggingface.co/spaces/sayakpaul/demo-docker-gradio/tree/main)
- [space config reference](https://huggingface.co/docs/hub/spaces-config-reference)