Simpler quickstart

This commit is contained in:
Jeffrey Morgan 2023-06-27 12:48:50 -04:00
parent 5d99629c12
commit 9497afb893

View file

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