Local-host DeepSeek-R1 on Android Phone, Poco F7 Pro, using Termux+Ollama.
This video show steps to host DeepSeek-R1 on Android Phone locally, using
Termux+Ollama. Tested on Poco F7 Pro.
Basic steps:
Download
and install F-Droid, an installable catalogue of FOSS (Free and Open Source
Software) applications for the Android platform.
https://f-droid.org/
Install Termux (a Terminal emulator with packages) in F-Droid.
Run
Termux
termux-setup-storage
Change repo, it will improve download greatly.
termux-change-repo
Update and upgrade.
pkg update -y && pkg upgrade -y
Install necessary software:
pkg install git cmake golang proot-distro -y
Install Ubuntu:
proot-distro install ubuntu
Login Ubuntu:
proot-distro login ubuntu
Install Ollama:
curl -fsSL https://ollama.com/install.sh | sh
Run Ollama server in background, you have to press [ENTER] to return to command line:
ollama serve &
Pull deepseek-r1:1.5b to local:
ollama pull deepseek-r1:1.5b
Once deepseek-r1:1.5b pulled, you can run it locally:
ollama run deepseek-r1:1.5b
Where deepseek-r1:1.5b is a lightweight AI model with 1.5 "billion" parameters.
Other model I tested on Poco F7 Pro include:
deepseek-r1:7b, a mid-sized model with 7 billion parameters.
deepseek-coder:6.7b, a specialized model focused on code generation and programming tasks.
Comments
Post a Comment