gemma.cpp/examples
The gemma.cpp Authors de5bab65b4 Use a set's `find` method when looking for reject tokens.
PiperOrigin-RevId: 731332151
2025-02-26 08:45:23 -08:00
..
hello_world Use a set's `find` method when looking for reject tokens. 2025-02-26 08:45:23 -08:00
simplified_gemma Simplified interface class and example for Gemma.cpp usage. 2025-01-28 08:48:27 -08:00
README.md Update README with more details on contributing code, add experimental/ directory, add READMEs for subdirectories, clean up DEVELOPER notes 2024-03-15 14:10:24 -04:00

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 using gemma.cpp as a library. It sets up the model state and generates text for a single hard coded prompt.