Instructions to use Slinkies86/e4b_multimodal_agent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use Slinkies86/e4b_multimodal_agent with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload 2 files
Browse filesThe Anyone-Hub E4B Multimodal Agent is a bleeding-edge, 4-billion parameter multimodal model designed for heavy-duty, local Android orchestration. Serving as the master intelligent core for the Anyone-Hub platform, this model provides advanced reasoning, vision parsing, and audio processing natively on-device. Packed into the highly compressed .litertlm format, the E4B agent bypasses traditional Android memory constraints by streaming directly from local device storage into a custom-compiled, 16KB-aligned LiteRT-LM execution engine. It is strictly configured to interact with highly secure, pKVM-isolated Debian rootfs environments.
Key Features:
Format: .litertlm (Bundled TFLite adapter sections + SentencePiece Tokenizer)
Capabilities: Advanced Text Reasoning, Vision Encoding, and Audio Processing.
Performance: Integrated MTP Drafter for Speculative Decoding.
Deployment: Optimized for Android NPU/GPU/OpenCL via liblitertlm_jni.so.
Copyright © 2024 anyone-Hub
- .gitattributes +1 -0
- e4b_multimodal_agent.litertlm +3 -0
- gemma4_e2b_agent.litertlm.json +52 -0
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
e4b_multimodal_agent.litertlm filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25e76189963b19e7e4ce0ee8827e7e26f6c515c6427c7ad65a942efdcceef52e
|
| 3 |
+
size 3654451200
|
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "GEMMA4",
|
| 3 |
+
"model_name": "gemma4-e2b-agent",
|
| 4 |
+
"model_identifier": "Agentic-Coder",
|
| 5 |
+
"supports_tool_calling": true,
|
| 6 |
+
"tokenizer": {
|
| 7 |
+
"model_path": "tokenizer_gemma4.model",
|
| 8 |
+
"vocab_size": 262144
|
| 9 |
+
},
|
| 10 |
+
"prompt_templates": {
|
| 11 |
+
"jinja_template_path": "chat_template.jinja",
|
| 12 |
+
"system": {
|
| 13 |
+
"prefix": "<|turn>system\n",
|
| 14 |
+
"suffix": "<turn|>\n"
|
| 15 |
+
},
|
| 16 |
+
"user": {
|
| 17 |
+
"prefix": "<|turn>user\n",
|
| 18 |
+
"suffix": "<turn|>\n"
|
| 19 |
+
},
|
| 20 |
+
"model": {
|
| 21 |
+
"prefix": "<|turn>model\n",
|
| 22 |
+
"suffix": "<turn|>\n"
|
| 23 |
+
},
|
| 24 |
+
"supports_system_role": true,
|
| 25 |
+
"supports_thinking": true
|
| 26 |
+
},
|
| 27 |
+
"generation_config": {
|
| 28 |
+
"bos_token_id": 2,
|
| 29 |
+
"eos_token_ids": [1, 106],
|
| 30 |
+
"max_position_embeddings": 131072,
|
| 31 |
+
"default_max_tokens": 8192
|
| 32 |
+
},
|
| 33 |
+
"tool_use": {
|
| 34 |
+
"syntax_type": "gemma4",
|
| 35 |
+
"code_fence_start": "<|tool_call>",
|
| 36 |
+
"code_fence_end": "<tool_call|>",
|
| 37 |
+
"tool_response_start": "<|tool_response>",
|
| 38 |
+
"tool_response_end": "<tool_response|>"
|
| 39 |
+
},
|
| 40 |
+
"thinking": {
|
| 41 |
+
"activation_token": "<|think|>",
|
| 42 |
+
"channel_start": "<|channel>",
|
| 43 |
+
"channel_end": "<channel|>",
|
| 44 |
+
"strip_from_history": true,
|
| 45 |
+
"enable_thinking_key": "enable_thinking"
|
| 46 |
+
},
|
| 47 |
+
"hardware": {
|
| 48 |
+
"target_alignment_bytes": 16384,
|
| 49 |
+
"npu_power_state": "SUSTAINED_SPEED",
|
| 50 |
+
"allow_fp16": true
|
| 51 |
+
}
|
| 52 |
+
}
|