Project:LLMQueryService POC

From MaRDI portal
Revision as of 20:53, 10 July 2024 by Tconrad (talk | contribs)

This page describes how to install the proof-of-concept LLM-based query service.

Using a OpenStack VM

  1. Create a new instance (if you use Debian: at least 12)
  2. Install necessary libraries
    1. apt-get update
    2. apt-get install git python3-pip python3-venv
  3. Clone the repository and follow the rest of the manual ( https://git.zib.de/bzfconra/mardi_llm_bottest )
  4. Install Ollama ( https://ollama.com/download/linux )
    1. Check the logs: journalctl -u ollama -f
  5. You might need ssh-port-forwarding
    1. Example: ssh -L 8000:127.0.0.1:8501 -i OPENSTACK_KEY_FILE.pem debian@130.73.240.230