ollama - how to push model

First we need to configure your public key. Ollama website settings 

Then goto ollama webiste, your user settings - https://ollama.com/settings/keys, add your public key here. It should be the same one in your laptop and this file is localted here /usr/share/ollama/.ollama/id_ed25519.pub.

The command the push model to your ollama account are here. First we need to figure out the model available currently in your computer. You can do that using the following command

ollama list 

Once you have done that, you can use this to rename mymodel to myuser/mymodel. Then push it to ollama.

ollama cp mymodel myuser/mymodel
ollama push myuser/mymodel

Then you can see the following outputs 

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20