Skip to content

mswiatko/ai-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-playground

Setup

  1. Install Ollama [linux example] curl -fsSL https://ollama.com/install.sh | sh

  2. Create virtual environment:

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
  1. Download and run Ollama model:

$ ollama run llama2

$ ollama list -> will list downloaded models; models can be also imported

Solving proxy issue:

$ vim /etc/systemd/system/ollama.service

  • under [Service] add: Environment="https_proxy=http://mycorporateproxy.local:8080"

  • save the file

  • reset ollama service: $systemctl daemon-reload $systemctl restart ollama.service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages