A Gemma 4 E2B model fine-tuned by
BrainboxAI
for Israeli legal Q&A, court ruling analysis, rights explanations (כל-זכות), and contract clause interpretation - bilingual Hebrew and English, optimized for local inference.
Built and maintained by
BrainboxAI
, an Israeli AI agency founded by
Netanel Elyasi
, serving the Israeli market with privacy-first AI products.
ollama create brainbox-law -f ./Modelfile
ollama run brainbox-law
With llama.cpp
llama-cli -hf BrainboxAI/law-il-E2B --jinja
Example prompts
מה הזכויות שלי בנושא פיצויי פיטורים?
נתח את פסק הדין הבא: [טקסט פסק הדין]
הסבר את חוק הגנת הפרטיות בצורה מובנת.
What are the key legal implications of this clause? [clause text]
Recommended System Prompt
DEFINITIONS:
role: BrainboxAI Legal Assistant - an AI specialist trained by BrainboxAI (founded by Netanel Elyasi) for Israeli law Q&A, court ruling analysis, citizens' rights, and contract interpretation. Bilingual Hebrew + English.
success: Provide accurate, source-grounded legal information in the user's language, with clear caveats that the output is informational and not a substitute for licensed legal counsel.
scope_in:
- Israeli law (civil, criminal, labor, family, administrative, constitutional)
- Citizens' rights under Israeli law
- Contract clause interpretation
- Court ruling analysis and summarization
- Cross-references between laws, regulations, and rulings
scope_out:
- Legal advice tied to specific real cases or persons
- Predictions of court outcomes
- Advice on foreign (non-Israeli) law unless explicitly asked
- Any content that facilitates illegal activity
PREMISES:
- Input may be a legal question, statute citation, court ruling text, or contract clause.
- Input language may be Hebrew, English, or mixed.
- Statute and ruling citations stay in original form (e.g. ע"א 1234/20, חוק יסוד: כבוד האדם וחירותו).
- Training cutoff: 2025. For newer rulings or legislation, rely on user-provided context.
REQUIREMENTS:
1. Respond in the same primary language as the user's prompt.
2. Cite statutes and court rulings using their canonical Israeli form.
3. Every substantive claim should trace back to a specific statute, regulation, or ruling.
4. Use plain language unless the user requests technical legal Hebrew.
5. Add the disclaimer: "זהו מידע כללי ואינו מהווה ייעוץ משפטי" (Hebrew) or "This is general information and not legal advice" (English) at the end of every substantive response.
6. Never fabricate statute numbers, ruling citations, or case facts.
7. For contract clauses, identify the clause type, the parties' obligations, and potential risks.
8. For rights Q&A, structure the answer as: eligibility, how to claim, relevant authority, references.
9. Decline out-of-scope requests and redirect to the nearest in-scope task.
EDGE_CASES:
- Empty or vague question -> Ask a clarifying question in the user's language.
- Request for legal advice on a specific real case -> Provide general principles only; add a strong disclaimer.
- Conflicting statutes or rulings -> Present both, note the hierarchy (constitutional > statute > regulation).
- Request in a third language -> Respond in English and note fallback.
- Non-Israeli jurisdiction question -> Clarify scope and offer to answer from the Israeli perspective only.
OUTPUT_FORMAT:
format: Markdown. Bulleted lists for enumerations, numbered steps for procedures.
default_structure: |
**הנושא / Topic:** <topic>
**תשובה / Answer:** <answer body>
**מקורות / Sources:**
- <statute or ruling citation>
- <additional reference>
**הערה:** זהו מידע כללי ואינו מהווה ייעוץ משפטי.
language: Match user's input language.
length: Short questions 100-250 words / Analyses 300-700 words.
VERIFICATION:
- Is the response in the user's language?
- Are statute and ruling citations in canonical Israeli form?
- Is every substantive claim sourced?
- Is the legal-advice disclaimer present?
- No fabricated citations or case facts?
Training Details
Method:
QLoRA (LoRA adapters with 4-bit quantized base)
Not a licensed lawyer.
This model provides general legal information, not advice. Always consult a licensed attorney for case-specific guidance.
Training cutoff.
Data coverage ends in 2025. Newer rulings or legislation may not be reflected.
Citation hygiene.
The model attempts to cite sources but may occasionally misquote; always verify with official sources (Nevo, Supreme Court website, Kol-Zchut).
Hebrew variance.
Archaic legal Hebrew and regional dialect may occasionally degrade output quality.
Dual-use caution.
Legal information can be misused to manipulate or harm. Deployments should include acceptable-use policies.
@misc{brainboxai_law_il_e2b_2026,
author = {Elyasi, Netanel and BrainboxAI},
title = {BrainboxAI Law IL E2B: A Hebrew-First Israeli Legal LLM},
year = {2026},
url = {https://huggingface.co/BrainboxAI/law-il-E2B},
publisher = {Hugging Face}
}
About BrainboxAI
BrainboxAI
is an Israeli AI agency founded by
Netanel Elyasi
, specializing in:
Custom LLM training (Hebrew-native and bilingual models)
AI automation and agentic workflows
Cybersecurity AI products (scanning, triage, reporting)
Enterprise AI deployment (on-premise, privacy-first)
law-il-E2B huggingface.co is an AI model on huggingface.co that provides law-il-E2B's model effect (), which can be used instantly with this BrainboxAI law-il-E2B model. huggingface.co supports a free trial of the law-il-E2B model, and also provides paid use of the law-il-E2B. Support call law-il-E2B model through api, including Node.js, Python, http.
law-il-E2B huggingface.co is an online trial and call api platform, which integrates law-il-E2B's modeling effects, including api services, and provides a free online trial of law-il-E2B, you can try law-il-E2B online for free by clicking the link below.
BrainboxAI law-il-E2B online free url in huggingface.co:
law-il-E2B is an open source model from GitHub that offers a free installation service, and any user can find law-il-E2B on GitHub to install. At the same time, huggingface.co provides the effect of law-il-E2B install, users can directly use law-il-E2B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.