Simpler quickstart
This commit is contained in:
parent
5d99629c12
commit
9497afb893
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue