Skip to content

Conversation

JohannesGaessler
Copy link
Collaborator

I recently talked to two potential contributors who were unfamiliar with ggml. During my talks with them I told them that there is an MNIST example in the ggml repository which they both found to be useful information. As such I'm adding a link to CONTRIBUTING.md.

@slaren
Copy link
Member

slaren commented Feb 19, 2025

I would suggest adding this as an example of the training API, and the simple and GPT-2 examples as examples of how to use ggml for inference.

@JohannesGaessler
Copy link
Collaborator Author

Or we could just link the entire ggml example directory since they're all going to be much simpler than llama.cpp.

@slaren
Copy link
Member

slaren commented Feb 19, 2025

Ok, but not every example in the ggml repository is good as an introduction to ggml. The simple example was created explicitly for that purpose, and the GPT-2 example is about as simple as it can get for a LLM, and it is used a way to demonstrate features like ggml-alloc and ggml-backend as well.

@JohannesGaessler JohannesGaessler merged commit d04e716 into ggml-org:master Feb 19, 2025
1 check passed
orca-zhang pushed a commit to orca-zhang/llama.cpp that referenced this pull request Feb 26, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
mostlyuseful pushed a commit to mostlyuseful/llama.cpp that referenced this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants