Skip to content

ailia LLMのサンプルを追加 - #86

Merged
kyakuno merged 6 commits into
masterfrom
claude/add-ailia-llm-sample-emT3g
May 14, 2026
Merged

ailia LLMのサンプルを追加#86
kyakuno merged 6 commits into
masterfrom
claude/add-ailia-llm-sample-emT3g

Conversation

@kyakuno

@kyakuno kyakuno commented May 14, 2026

Copy link
Copy Markdown
Contributor

#85

claude added 6 commits May 14, 2026 02:15
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.
@kyakuno
kyakuno merged commit fc9b832 into master May 14, 2026
2 checks passed
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