mirror of https://github.com/google/gemma.cpp.git
- Allow scaling of SFP weights - Allow using uncompressed weights - Do not try to compress weights in the main model calls - Reduce code duplication in weight handling with some macros Co-authored-by: Eugene Kliuchnikov <eustas@google.com> Co-authored-by: Thomas Fischbacher <tfish@google.com> Co-authored-by: Zoltan Szabadka <szabadka@google.com> |
||
|---|---|---|
| .. | ||
| hello_world | ||
| README.md | ||
README.md
Examples
In this directory are some simple examples illustrating usage of gemma.cpp as
a library beyond the interactive gemma app implemented in run.cc.
hello_world/- minimal/template project for usinggemma.cppas a library. It sets up the model state and generates text for a single hard coded prompt.