docs: add the no-Modelfile function of ollama create (#9077)

This commit is contained in:
frob
2025-07-17 15:16:10 +10:00
committed by GitHub
parent 5e67f4f90e
commit 802ad16ce4
2 changed files with 4 additions and 2 deletions

View File

@@ -53,6 +53,8 @@ FROM /path/to/safetensors/directory
If you create the Modelfile in the same directory as the weights, you can use the command `FROM .`.
If you do not create the Modelfile, ollama will act as if there was a Modelfile with the command `FROM .`.
Now run the `ollama create` command from the directory where you created the `Modelfile`:
```shell