]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Overhaul the examples structure
authorGeorgi Gerganov <redacted>
Sat, 25 Mar 2023 18:26:40 +0000 (20:26 +0200)
committerGeorgi Gerganov <redacted>
Sat, 25 Mar 2023 18:26:40 +0000 (20:26 +0200)
commita316a425d04027453dc0fd45f003b647c12f66f9
treeb33d7c55741f10f1cc84f489df05e1fad96f0417
parentecbe466a364876927994e2f1ec14f4d82301d201
Overhaul the examples structure

- main -> examples
- utils -> examples (renamed to "common")
- quantize -> examples
- separate tools for "perplexity" and "embedding"

Hope I didn't break something !
25 files changed:
.gitignore
CMakeLists.txt
Makefile
examples/CMakeLists.txt [new file with mode: 0644]
examples/common.cpp [new file with mode: 0644]
examples/common.h [new file with mode: 0644]
examples/embedding/CMakeLists.txt [new file with mode: 0644]
examples/embedding/README.md [new file with mode: 0644]
examples/embedding/embedding.cpp [new file with mode: 0644]
examples/main/CMakeLists.txt [new file with mode: 0644]
examples/main/README.md [new file with mode: 0644]
examples/main/main.cpp [new file with mode: 0644]
examples/perplexity/CMakeLists.txt [new file with mode: 0644]
examples/perplexity/README.md [new file with mode: 0644]
examples/perplexity/perplexity.cpp [new file with mode: 0644]
examples/quantize/CMakeLists.txt [new file with mode: 0644]
examples/quantize/README.md [new file with mode: 0644]
examples/quantize/quantize.cpp [new file with mode: 0644]
ggml.c
main.cpp [deleted file]
quantize.cpp [deleted file]
tests/CMakeLists.txt
tests/test-tokenizer-0.cpp
utils.cpp [deleted file]
utils.h [deleted file]