ailia LLMのサンプルを追加 - #86
Merged
Merged
Conversation
Wires up the ailia-llm-cpp library as a new submodule and adds two gguf-based sample executables under natural_language_processing/: - gemma: text chat sample on top of gemma-3n-E2B-it (gguf Q4_K_M) - gemma-multimodal: vision-aware chat using the gemma mmproj F16 model and a sample image CMakeLists, .gitignore, README and test_all_samples.sh are updated to include the new samples.
The previously assumed gemma/sample.jpg path returns 404 from the ailia-models bucket. Switch the .sh / .bat scripts and the default fallback in the cpp source to https://storage.googleapis.com/ailia-models/misc/sample_image.jpg so the sample runs out-of-the-box.
Move the gemma / gemma-multimodal entries out of the natural_language_processing table into a dedicated Large language model section so the ailia LLM samples have their own category.
The gguf file names (gemma-4-E2B-it-*.gguf) target the Gemma 4n family, not Gemma 3n. Drop the incorrect Hugging Face link and clarify the variant.
Consolidate the text and multimodal samples into a single natural_language_processing/gemma4/ directory containing: gemma4.cpp / gemma4.sh / gemma4.bat gemma4-multimodal.cpp / gemma4-multimodal.sh / gemma4-multimodal.bat This better reflects that both samples target the Gemma 4n family (gemma-4-E2B-it-*.gguf). Top-level CMakeLists.txt, .gitignore, README and test_all_samples.sh are updated accordingly.
…_model Introduce a top-level large_language_model/ directory for LLM samples and relocate gemma4 (text + multimodal) into it. CMakeLists.txt, .gitignore, README and test_all_samples.sh are updated to reference the new path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#85