Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:nomic-ai/pyllamacpp
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Apr 4, 2023
2 parents 728b729 + 1175f35 commit c556607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ If you don't want to use the `callback`, you can get the results from the `gener
generated_text = model.generate("Once upon a time, ", n_predict=55)
print(generated_text)
```

* You can pass any `llama context` [parameter](https://nomic-ai.github.io/pyllamacpp/#pyllamacpp.constants.LLAMA_CONTEXT_PARAMS_SCHEMA) as a keyword argument to the `Model` class
* You can pass any `gpt` [parameter](https://nomic-ai.github.io/pyllamacpp/#pyllamacpp.constants.GPT_PARAMS_SCHEMA) as a keyword argument to the `generarte` method
* You can always refer to the [short documentation](https://nomic-ai.github.io/pyllamacpp/) for more details.
Expand Down

0 comments on commit c556607

Please sign in to comment.