|
Download README.md from mChatAI/touchlanguage-spanish-gemma4-e2b: direct link, hf CLI and curl.
- Browser
- Download file 3.86 kB
-
https://huggingface.co/mChatAI/touchlanguage-spanish-gemma4-e2b/resolve/main/README.md
- Command line
-
hf download hf://mChatAI/touchlanguage-spanish-gemma4-e2b/README.md
-
curl -L -o README.md https://huggingface.co/mChatAI/touchlanguage-spanish-gemma4-e2b/resolve/main/README.md
3.86 kB
| license: apache-2.0 | |
| base_model: google/gemma-4-E2B-it | |
| base_model_relation: quantized | |
| language: | |
| - es | |
| pipeline_tag: text-generation | |
| tags: | |
| - core-ai | |
| - ios | |
| - on-device | |
| - mchatai | |
| - touchlanguage | |
| # TouchLanguage Spanish | |
| A Spanish conversation partner for TouchLanguage Talk that runs on your device, with no network. | |
| *Based on Google Gemma 4 E2B (unmodified) · compressed to 6-bit · 4.2 GB download* | |
| Google's Gemma 4 E2B, unchanged except for compression so it fits on an iPhone. Nothing in the weights is specific to Spanish: the tutoring comes from the TouchLanguage tutor prompt it receives every turn, which asks for short, level-appropriate replies that follow what you said and ask one question at a time. At the intermediate level it says a mistake back the right way instead of pointing it out, and it explains grammar only when you ask. Like any small model, it can miss a detail from earlier in a long conversation. | |
| ## The file | |
| | | | | |
| |---|---| | |
| | Base model | [google/gemma-4-E2B-it](https://huggingface.co/google/gemma-4-E2B-it), commit `4adf15748de9e1a0097b6274cee9c15836c41c37` | | |
| | Weights | compressed to 6-bit (`6bit_palettized_mixed_experimental`) | | |
| | Runs in | Apple's Core AI runtime on iPhone and iPad (arm64) | | |
| | File | `touchlanguage-spanish-gemma4-e2b-stock6-v0.1.0.zip`, 4.2 GB (4,221,077,045 bytes) | | |
| | SHA-256 | `41921e1535cc58c48c97ffe599d979062d68e0846a352dc9146dc5b3b283bfeb` | | |
| | Installed | 4.2 GB, 4,096-token context | | |
| | Needs | iOS 27.2 or later and 8 GB of memory | | |
| | Status | Preview | | |
| ## Tested on | |
| - iPad mini (A17 Pro), iOS 27.3 · first reply 7 s · then 1.2–1.6 s a reply | |
| ## How to use it | |
| In mChatAI on an iPhone or iPad, open TouchLanguage, then Talk, and tap Download under Model. The app downloads `touchlanguage-spanish-gemma4-e2b-stock6-v0.1.0.zip` from this repo and checks its SHA-256 before installing it. | |
| The ZIP is the model as Apple's Core AI runtime loads it. | |
| ## Sample, from the device test | |
| > **Learner:** Hola, quiero practicar español mientras preparo una cena. | |
| > **Model:** ¡Qué bien! ¿Qué vas a cocinar esta noche? | |
| > **Learner:** Voy a cocinar pasta con tomates. ¿Qué debo hacer primero? | |
| > **Model:** Primero, calienta el agua para la pasta. ¿Necesitas ayuda con algún ingrediente? | |
| ## The instructions it receives | |
| The app fills in this template on every turn, from the learner's settings, the chosen tutor and notes from earlier turns (the words in double braces). | |
| ```text | |
| You are {{personaName}}, a native {{target}} speaker from {{personaRegion}}: {{personaDetails}} | |
| You are chatting out loud with a learner of {{target}} whose native language is {{native}}. Their level is {{levelLabel}} ({{levelCEFR}}). Their words reach you through speech recognition, so theirs have no punctuation and may have a wrong word. | |
| How to reply: | |
| - Only {{target}}. If the learner asks for help in {{native}}, give the {{target}} words they need, then carry on in {{target}}. | |
| - At most {{maxSentences}} short sentences. First answer what they just said, then ask one easy question or invite them to say more. | |
| - Remember what they told you (names, places, plans) and use it. Never ask something they already answered. | |
| - {{levelInstruction}} {{correctionInstruction}} | |
| - Punctuate normally: commas between phrases, a period before your question. A voice reads your words and pauses only where you punctuate. | |
| - Plain spoken words only: no lists, emoji, brackets or name labels. Stay {{personaName}}; never say you are an AI. | |
| {{learnerNotes}} | |
| ``` | |
| ## License | |
| [google/gemma-4-E2B-it](https://huggingface.co/google/gemma-4-E2B-it) is released under Apache-2.0, and so is this copy. The weights were changed only by compression (compressed to 6-bit). The full license text is in [LICENSE](LICENSE). | |
| --- | |
| Part of the mChatAI on-device model catalog: https://mchatai.com/cloud/LocalLLMs | |