Skip to content

Add Gemma 4 sentiment classification example#49

Open
mkcorneli wants to merge 2 commits intomainfrom
add-gemma4-example
Open

Add Gemma 4 sentiment classification example#49
mkcorneli wants to merge 2 commits intomainfrom
add-gemma4-example

Conversation

@mkcorneli
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a worked example to the Gen AI text summarization page showing sentiment classification with Google's Gemma 4 (e4b) via Ollama
  • Includes CONNECTION object setup, a lightweight Python UDF (~15 lines), sample feedback data, and expected output
  • Notes Gemma 4's 140+ language support for multilingual use cases

Test plan

  • Verify RST renders correctly in Sphinx build
  • Confirm code blocks display properly
  • Test the SQL and UDF against a running Exasol + Ollama setup

🤖 Generated with Claude Code

Add a worked example showing how to use Google's Gemma 4 (e4b) via
Ollama for sentiment classification directly in SQL. Includes
CONNECTION object, UDF, sample data, and expected output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mkcorneli mkcorneli temporarily deployed to manual-approval April 6, 2026 21:56 — with GitHub Actions Inactive
E4B has 4B effective parameters (not 4.5B). Native language support
is 35+ (not 140+, which is the pre-training data scope).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mkcorneli mkcorneli temporarily deployed to manual-approval April 6, 2026 22:01 — with GitHub Actions Inactive
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.

1 participant