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
|
```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
|
||||||
|
|
Loading…
Add table
Reference in a new issue