Difference between revisions of "LLM: ollama install ubuntu 24.04"

From OnnoWiki
Jump to navigation Jump to search
Line 22: Line 22:
 
  ollama pull bge-m3:latest
 
  ollama pull bge-m3:latest
 
  ollama pull all-MiniLM
 
  ollama pull all-MiniLM
 +
 +
optional,
 +
 +
ollama pull gemma3:4b
 +
ollama pull deepseek-r1:7b
 +
ollama pull llama3.2:1b
 +
ollama pull qwen2.5-coder:7b
 +
 +
ollama pull adijayainc/bhsa-deepseek-r1-1.5b
 +
ollama pull adijayainc/bhsa-llama3.2
 +
ollama pull rizkiagungid/deeprasx
 +
ollama pull fyandono/chatbot-id
 +
ollama pull rexyb10/codeai
 +
ollama pull fahlevi20/DeepSeek-R1-TechSchole-Indonesia
 +
 +
  
  

Revision as of 15:52, 22 March 2025

Sumber: https://www.jeremymorgan.com/blog/generative-ai/local-llm-ubuntu/

Pastikan:

  • OS bisa linux server, seperti ubuntu server.
  • Memory RAM pastikan cukup untuk menyimpan model-nya. Model llama3 butuh memory paling tidak 8GB.
  • Kalau mau lebih enak/lebih cepat sebaiknya pakai GPU, seperti nvidia telsa yang agak baru.


Install aplikasi pendukung

sudo apt update
sudo apt install curl net-tools


Download

curl -fsSL https://ollama.com/install.sh | sh

Sebagai user biasa run & download model

ollama pull llama3
ollama pull bge-m3:latest
ollama pull all-MiniLM

optional,

ollama pull gemma3:4b
ollama pull deepseek-r1:7b
ollama pull llama3.2:1b
ollama pull qwen2.5-coder:7b 
ollama pull adijayainc/bhsa-deepseek-r1-1.5b
ollama pull adijayainc/bhsa-llama3.2
ollama pull rizkiagungid/deeprasx
ollama pull fyandono/chatbot-id
ollama pull rexyb10/codeai
ollama pull fahlevi20/DeepSeek-R1-TechSchole-Indonesia



systemctl status ollama


OPTIONAL: Sebagai super user,

sudo su
sudo snap install --beta open-webui


Contoh

curl http://localhost:11434/api/generate -d '{
  "model" : "llama3",
  "prompt" : "tell me a joke",
  "stream" : false
  }'
  


Referensi