Instructions to use mendelmakerpaul/echopeak-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use mendelmakerpaul/echopeak-models with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli litert-lm run \ --from-huggingface-repo=mendelmakerpaul/echopeak-models \ --prompt="Write me a poem"
- LiteRT
How to use mendelmakerpaul/echopeak-models 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
Replace Gemma 3 1B with Qwen2.5-1.5B q8; both models now Apache 2.0
Browse files- NOTICE +24 -15
- Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.litertlm +3 -0
- README.md +7 -7
- SHA256SUMS.txt +1 -1
- fetch_licenses.py +6 -3
NOTICE
CHANGED
|
@@ -1,29 +1,38 @@
|
|
| 1 |
-
This
|
| 2 |
-
|
| 3 |
-
|
| 4 |
|
| 5 |
--------------------------------------------------------------------------------
|
| 6 |
-
gemma-4-E2B-it.litertlm
|
| 7 |
--------------------------------------------------------------------------------
|
| 8 |
|
| 9 |
Gemma 4 is provided by Google under the Apache License, Version 2.0.
|
| 10 |
-
A copy of the license is included as LICENSE-apache-2.0.txt, and is also
|
| 11 |
-
available at:
|
| 12 |
|
|
|
|
| 13 |
https://ai.google.dev/gemma/apache_2
|
| 14 |
|
| 15 |
--------------------------------------------------------------------------------
|
| 16 |
-
|
|
|
|
| 17 |
--------------------------------------------------------------------------------
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
PROHIBITED_USE_POLICY.txt and available at:
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This application downloads and runs language models produced by third parties.
|
| 2 |
+
Every model it ships is distributed under the Apache License, Version 2.0, a copy
|
| 3 |
+
of which is included as LICENSE-apache-2.0.txt.
|
| 4 |
|
| 5 |
--------------------------------------------------------------------------------
|
| 6 |
+
Gemma 4 E2B (gemma-4-E2B-it.litertlm)
|
| 7 |
--------------------------------------------------------------------------------
|
| 8 |
|
| 9 |
Gemma 4 is provided by Google under the Apache License, Version 2.0.
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
https://ai.google.dev/gemma
|
| 12 |
https://ai.google.dev/gemma/apache_2
|
| 13 |
|
| 14 |
--------------------------------------------------------------------------------
|
| 15 |
+
Qwen2.5 1.5B Instruct
|
| 16 |
+
(Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.litertlm)
|
| 17 |
--------------------------------------------------------------------------------
|
| 18 |
|
| 19 |
+
Qwen2.5-1.5B-Instruct is provided by Alibaba Cloud under the Apache License,
|
| 20 |
+
Version 2.0. Converted to LiteRT-LM format by the litert-community project.
|
| 21 |
|
| 22 |
+
https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct
|
| 23 |
+
https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct
|
|
|
|
| 24 |
|
| 25 |
+
--------------------------------------------------------------------------------
|
| 26 |
+
Embedding model
|
| 27 |
+
--------------------------------------------------------------------------------
|
| 28 |
+
|
| 29 |
+
EmbeddingGemma 300M is provided by Google and powers on-device semantic search.
|
| 30 |
+
See https://ai.google.dev/gemma for its terms.
|
| 31 |
+
|
| 32 |
+
--------------------------------------------------------------------------------
|
| 33 |
|
| 34 |
+
Earlier builds shipped Gemma 3 1B, which falls under the separate Gemma Terms of
|
| 35 |
+
Use rather than Apache 2.0. That model was removed, and with it the obligation to
|
| 36 |
+
distribute the Gemma Terms and the Prohibited Use Policy alongside the weights.
|
| 37 |
+
Re-adding any model listed in the appendix of ai.google.dev/gemma/terms
|
| 38 |
+
(Gemma 1, 1.1, 2, 3, 3n) would reinstate those obligations.
|
Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.litertlm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faa60663b333290c1496c499828b21d3e3254a788cacd8cce917ce0f761a2dc9
|
| 3 |
+
size 1597931520
|
README.md
CHANGED
|
@@ -32,15 +32,15 @@ APK。因此本 repo 以 public 形式轉載,並依授權要求隨附完整條
|
|
| 32 |
|
| 33 |
| 檔案 | 大小 | 授權 | App 內層級 |
|
| 34 |
|---|---|---|---|
|
| 35 |
-
| `gemma-4-E2B-it.litertlm` | 約 2.59 GB |
|
| 36 |
-
| `
|
| 37 |
|
| 38 |
-
**兩顆
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
[`PROHIBITED_USE_POLICY.txt`](PROHIBITED_USE_POLICY.txt) 規範。
|
| 44 |
|
| 45 |
完整聲明見 [`NOTICE`](NOTICE)。
|
| 46 |
|
|
|
|
| 32 |
|
| 33 |
| 檔案 | 大小 | 授權 | App 內層級 |
|
| 34 |
|---|---|---|---|
|
| 35 |
+
| `gemma-4-E2B-it.litertlm` | 約 2.59 GB | Apache 2.0 | STANDARD(12 GB 級手機) |
|
| 36 |
+
| `Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.litertlm` | 約 1.49 GB | Apache 2.0 | LIGHT(6–8 GB 級手機) |
|
| 37 |
|
| 38 |
+
**兩顆都是 Apache License 2.0** → [`LICENSE-apache-2.0.txt`](LICENSE-apache-2.0.txt),
|
| 39 |
+
散布義務僅需附授權全文與出處標示。
|
| 40 |
|
| 41 |
+
先前的輕量層是 Gemma 3 1B,它適用的是自訂的 Gemma Terms of Use(義務較重,需額外
|
| 42 |
+
傳遞 Agreement 與 Prohibited Use Policy)。該模型已移除,相關義務隨之消失;若日後
|
| 43 |
+
重新加入 Gemma Terms 附錄所列的模型(Gemma 1/1.1/2/3/3n),義務會重新產生。
|
|
|
|
| 44 |
|
| 45 |
完整聲明見 [`NOTICE`](NOTICE)。
|
| 46 |
|
SHA256SUMS.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
181938105e0eefd105961417e8da75903eacda102c4fce9ce90f50b97139a63c gemma-4-E2B-it.litertlm
|
| 2 |
-
|
|
|
|
| 1 |
181938105e0eefd105961417e8da75903eacda102c4fce9ce90f50b97139a63c gemma-4-E2B-it.litertlm
|
| 2 |
+
faa60663b333290c1496c499828b21d3e3254a788cacd8cce917ce0f761a2dc9 Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.litertlm
|
fetch_licenses.py
CHANGED
|
@@ -24,9 +24,12 @@ PLAINTEXT = {
|
|
| 24 |
"LICENSE-apache-2.0.txt": "https://www.apache.org/licenses/LICENSE-2.0.txt",
|
| 25 |
}
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
BLOCK_TAGS = {"p", "li", "h1", "h2", "h3", "h4", "h5", "h6", "tr", "div", "section"}
|
|
|
|
| 24 |
"LICENSE-apache-2.0.txt": "https://www.apache.org/licenses/LICENSE-2.0.txt",
|
| 25 |
}
|
| 26 |
|
| 27 |
+
# Both shipped models are Apache 2.0, so nothing here needs scraping today. Keep the entries
|
| 28 |
+
# commented rather than deleting the machinery: re-adding any Gemma 1/1.1/2/3/3n model brings
|
| 29 |
+
# these obligations straight back, and the extraction is fiddly enough to be worth preserving.
|
| 30 |
+
HTML_PAGES: dict[str, str] = {
|
| 31 |
+
# "LICENSE-gemma-terms.txt": "https://ai.google.dev/gemma/terms",
|
| 32 |
+
# "PROHIBITED_USE_POLICY.txt": "https://ai.google.dev/gemma/prohibited_use_policy",
|
| 33 |
}
|
| 34 |
|
| 35 |
BLOCK_TAGS = {"p", "li", "h1", "h2", "h3", "h4", "h5", "h6", "tr", "div", "section"}
|