gemma.cpp/examples
Copybara-Service bef91a3f03 Merge pull request #529 from ufownl:refactor/wrap_and_tokenize
PiperOrigin-RevId: 745174371
2025-04-08 09:22:26 -07:00
..
hello_world Merge pull request #529 from ufownl:refactor/wrap_and_tokenize 2025-04-08 09:22:26 -07:00
simplified_gemma Refactor `WrapAndTokenize` to work properly with Gemma3 2025-03-29 11:31:39 +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.