]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
doc: add links to ggml examples [no ci] (#11958)
authorJohannes Gäßler <redacted>
Wed, 19 Feb 2025 19:45:17 +0000 (20:45 +0100)
committerGitHub <redacted>
Wed, 19 Feb 2025 19:45:17 +0000 (20:45 +0100)
CONTRIBUTING.md

index 9d4e5a56fe48d929cc6bf9bfae08cfa2f374bfd3..1500d1b46fcfcd8b31eb07903bb631e15f6eb8a9 100644 (file)
@@ -1,5 +1,6 @@
 # Pull requests (for contributors)
 
+- llama.cpp uses the ggml tensor library for model evaluation. If you are unfamiliar with ggml, consider taking a look at the [examples in the ggml repository](https://github.com/ggml-org/ggml/tree/master/examples/). [simple](https://github.com/ggml-org/ggml/tree/master/examples/simple) shows the bare minimum for using ggml. [gpt-2](https://github.com/ggml-org/ggml/tree/master/examples/gpt-2) has minimal implementations for language model inference using GPT-2. [mnist](https://github.com/ggml-org/ggml/tree/master/examples/mnist) demonstrates how to train and evaluate a simple image classifier
 - Test your changes:
     - Execute [the full CI locally on your machine](ci/README.md) before publishing
     - Verify that the perplexity and the performance are not affected negatively by your changes (use `llama-perplexity` and `llama-bench`)