Ver código fonte

Simpler quickstart

Jeffrey Morgan 1 ano atrás
pai
commit
9497afb893
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1 4
      README.md

+ 1 - 4
README.md

@@ -13,10 +13,7 @@ pip install ollama
 
 ```python
 import ollama
-model_name = "huggingface.co/thebloke/llama-7b-ggml"
-model = ollama.pull(model_name)
-ollama.load(model)
-ollama.generate(model_name, "hi")
+ollama.generate("./llama-7b-ggml.bin", "hi")
 ```
 
 ## Reference