BrainboxAI commited on
Commit
18fbcc9
·
verified ·
1 Parent(s): 7a2874b

Rewrite the model card in English in the BrainboxAI house style; Hebrew kept only in example prompts; repository id unchanged

Browse files
Files changed (1) hide show
  1. README.md +39 -30
README.md CHANGED
@@ -24,37 +24,37 @@ tags:
24
  pretty_name: bx-code-nogah (safetensors)
25
  ---
26
 
27
- # bx-code-nogah — משקולות safetensors
28
 
29
- ### מזהה המאגר: `BrainboxAI/code-il-E4B-safetensors`
30
 
31
- **המשקולות המלאות, ב-16 ביט, של עוזר הקוד [`code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B). זה מאגר נלווה, לא מוצר נפרד.**
32
 
33
- [![GGUF](https://img.shields.io/badge/%F0%9F%A4%97%20%D7%94%D7%9E%D7%90%D7%92%D7%A8%20%D7%94%D7%A8%D7%90%D7%A9%D7%99-code--il--E4B-yellow)](https://huggingface.co/BrainboxAI/code-il-E4B)
34
  [![License](https://img.shields.io/badge/License-Apache_2.0-lightgrey)](https://www.apache.org/licenses/LICENSE-2.0)
35
 
36
- > `bx-code-nogah` הוא השם במוסכמת השמות של BrainboxAI. **שם המאגר לא השתנה** ולא ישתנה — כל הקישורים והסקריפטים הקיימים ממשיכים לעבוד.
37
 
38
  ---
39
 
40
- ## מה יש כאן
41
 
42
- קובץ אחד: `model.safetensors`, בגודל 16.0 ג'יגה-בייט, ולצידו ה-tokenizer ותבנית השיחה.
43
 
44
- אלה אותן משקולות כמו במאגר הראשי, בפורמט אחר. המאגר הראשי מחזיק גרסה **דחוסה** שרצה על מחשב פיתוח רגיל. כאן יושבת הגרסה המלאה — גדולה יותר, ומיועדת לעבודה על המודל, לא רק להרצה שלו.
45
 
46
- ## מתי לקחת את הגרסה הזו
47
 
48
- - טעינה עם `transformers` בפייתון.
49
- - המשך אימון על בסיס הקוד הפרטי של החברה שלך.
50
- - המרה ל-ONNX או לפורמט הרצה אחר.
51
- - מסגרת עבודה שלא יודעת לקרוא GGUF.
52
 
53
- ## מתי **לא** לקחת אותה
54
 
55
- אם אתה רק רוצה להריץ את המודל ולכתוב איתו קוד — **קח את המאגר הראשי**, [`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B). הוא קטן בהרבה, עובד ישר מול Ollama או LM Studio, ולא ייתן תשובות פחות טובות.
56
 
57
- ## איך טוענים
58
 
59
  ```python
60
  from transformers import AutoTokenizer, AutoModelForCausalLM
@@ -74,33 +74,42 @@ outputs = model.generate(inputs, max_new_tokens=1024, temperature=0.2, top_p=0.9
74
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
75
  ```
76
 
77
- ## המשך אימון
78
 
79
- זה המאגר הנכון להתחיל ממנו אם רוצים לאמן הלאה על קוד פנימי. מתחילים מכאן ולא מ-Gemma המקורי, כדי לשמור על האימון שכבר נמצא במודל.
 
 
 
 
 
 
 
 
 
80
 
81
- ## הכרטיס המלא נמצא במקום אחר
82
 
83
- על מה המודל אומן, מה הוא יודע, ובעיקר **מה הוא לא יודע** — הכל כתוב בכרטיס של המאגר הראשי:
84
 
85
  **[`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B)**
86
 
87
- ## המאגרים של המודל הזה
88
 
89
- | מאגר | מה יש בפנים |
90
  |---|---|
91
- | [`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B) | הקובץ הדחוס להרצה, והכרטיס המלא |
92
- | [`BrainboxAI/code-il-E4B-safetensors`](https://huggingface.co/BrainboxAI/code-il-E4B-safetensors) | המשקולות המלאות ב-16 ביט — אתה כאן |
93
 
94
- ## רישיון
95
 
96
  Apache 2.0.
97
 
98
- זהו אימון-המשך של [`unsloth/gemma-4-E4B-it`](https://huggingface.co/unsloth/gemma-4-E4B-it), ולכן התנאים של מודל הבסיס חלים גם כאן. מודל הבסיס מפורסם תחת Apache 2.0 ומפנה גם אל [תנאי השימוש של Gemma](https://ai.google.dev/gemma/docs/gemma_4_license).
99
 
100
- ## מי בנה את זה
101
 
102
- נבנה על ידי [**נתנאל אליאסי**](https://huggingface.co/BrainboxAI), מייסד [BrainboxAI](https://brainboxai.io) — סטודיו ישראלי לבינה מלאכותית יישומית, שבונה מודלים קטנים, פרטיים ומתמחים.
103
 
104
- שאלות, תיקונים, או צורך שהמודל הזה לא עונה עליו: [netanele@brainboxai.io](mailto:netanele@brainboxai.io).
105
 
106
- *חלק ממשפחת המודלים של BrainboxAI שרצים על החומרה שלך. ראה גם [`law-il-E2B`](https://huggingface.co/BrainboxAI/law-il-E2B) (משפט) ו-[`cyber-analyst-4B`](https://huggingface.co/BrainboxAI/cyber-analyst-4B) (סייבר).*
 
24
  pretty_name: bx-code-nogah (safetensors)
25
  ---
26
 
27
+ # bx-code-nogah (safetensors)
28
 
29
+ ### Repository id: `BrainboxAI/code-il-E4B-safetensors`
30
 
31
+ **The full 16-bit weights of the coding assistant [`code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B). This is a companion repository, not a separate product.**
32
 
33
+ [![Main repository](https://img.shields.io/badge/%F0%9F%A4%97%20Main_repository-code--il--E4B-yellow)](https://huggingface.co/BrainboxAI/code-il-E4B)
34
  [![License](https://img.shields.io/badge/License-Apache_2.0-lightgrey)](https://www.apache.org/licenses/LICENSE-2.0)
35
 
36
+ > `bx-code-nogah` is the model's name under the BrainboxAI naming convention. **The repository id has not changed** and will not change. Every existing link and script keeps working.
37
 
38
  ---
39
 
40
+ ## What is in here
41
 
42
+ One file: `model.safetensors`, 16.0 GB, alongside the tokenizer and the chat template.
43
 
44
+ These are the same weights as in the main repository, in a different format. The main repository holds a **compressed** build that runs on an ordinary development machine. This is the full-precision build, meant for working *on* the model rather than just running it.
45
 
46
+ ## When to take this build
47
 
48
+ - Loading the model with `transformers` in Python.
49
+ - Continuing training on your company's private codebase.
50
+ - Converting to ONNX or another deployment format.
51
+ - A framework that cannot read GGUF.
52
 
53
+ ## When **not** to take it
54
 
55
+ If you only want to run the model and write code with it, **take the main repository**, [`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B). It is far smaller, works directly with Ollama or LM Studio, and will not give you worse answers.
56
 
57
+ ## How to load it
58
 
59
  ```python
60
  from transformers import AutoTokenizer, AutoModelForCausalLM
 
74
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
75
  ```
76
 
77
+ The model also answers in Hebrew when addressed in Hebrew. The code itself always stays in English:
78
 
79
+ ```python
80
+ messages = [
81
+ # "Write me a Python function that parses ISO-8601 dates with timezones."
82
+ {"role": "user", "content": "תכתוב לי פונקציה בפייתון שמפרסרת תאריכים בפורמט ISO-8601 עם אזורי זמן."},
83
+ ]
84
+ ```
85
+
86
+ ## Continued training
87
+
88
+ This is the right build to start from if you want to train further on internal code. Start here rather than from the original Gemma model, so that the training already inside the model is preserved.
89
 
90
+ ## The full card lives elsewhere
91
 
92
+ What the model was trained on, what it knows, and above all **what it does not know**, is all on the main repository's card:
93
 
94
  **[`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B)**
95
 
96
+ ## The repositories for this model
97
 
98
+ | Repository | What is inside |
99
  |---|---|
100
+ | [`BrainboxAI/code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B) | The compressed file for running, and the full card |
101
+ | [`BrainboxAI/code-il-E4B-safetensors`](https://huggingface.co/BrainboxAI/code-il-E4B-safetensors) | The full 16-bit weights. You are here |
102
 
103
+ ## License
104
 
105
  Apache 2.0.
106
 
107
+ This is a fine-tune of [`unsloth/gemma-4-E4B-it`](https://huggingface.co/unsloth/gemma-4-E4B-it), so the terms of that model apply here as well. The base model is published under Apache 2.0 and also points to the [Gemma 4 licence terms](https://ai.google.dev/gemma/docs/gemma_4_license).
108
 
109
+ ## Author
110
 
111
+ Built by [**Netanel Elyasi**](https://huggingface.co/BrainboxAI), founder of [BrainboxAI](https://brainboxai.io), an Israeli applied-AI studio building small, private, domain-specialised models.
112
 
113
+ Questions, corrections, or a use case this model does not cover: [netanele@brainboxai.io](mailto:netanele@brainboxai.io).
114
 
115
+ *Part of the BrainboxAI family of on-device models. See also [`law-il-E2B`](https://huggingface.co/BrainboxAI/law-il-E2B) (law) and [`cyber-analyst-4B`](https://huggingface.co/BrainboxAI/cyber-analyst-4B) (security).*