This is the STARI labs collection of programs for the NAOs.
- start running a model
ollama run [model_name:num_parameters]
- ssh into the NAO
ssh nao@nao.local
- run the python script in the scripts folder
cd scripts
python sendrequestLLM.py
- scp LLM/client_llm.py to ~/scripts
scp LLM/client_llm.py nao@NAO_IP:~/scripts/
- pip install
pip install -r LLM/requirements.txt
- run llama2 on server PC
ollama run llama2
- launch Flask application
python3 LLM/server_LLM.py
- ssh into NAO
ssh nao@NAO_IP
- run NAO program
python2 ~/scripts/client_llm.py