mendelmakerpaul commited on
Commit
48c7fd5
·
verified ·
1 Parent(s): a023f63

Replace Gemma 3 1B with Qwen2.5-1.5B q8; both models now Apache 2.0

Browse files
NOTICE CHANGED
@@ -1,29 +1,38 @@
1
- This repository redistributes Google's Gemma models for use by the EchoPeak (山應)
2
- offline wilderness assistant. The models are unmodified Google releases except as
3
- stated in README.md.
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
- gemma3-1b-it-int4.litertlm
 
17
  --------------------------------------------------------------------------------
18
 
19
- Gemma is provided under and subject to the Gemma Terms of Use found at
20
- ai.google.dev/gemma/terms
21
 
22
- A copy of those terms is included as LICENSE-gemma-terms.txt. Use of this model is
23
- additionally subject to the Gemma Prohibited Use Policy, included as
24
- PROHIBITED_USE_POLICY.txt and available at:
25
 
26
- https://ai.google.dev/gemma/prohibited_use_policy
 
 
 
 
 
 
 
27
 
28
- Gemma 3 is listed in the Appendix of the Gemma Terms of Use and is therefore
29
- governed by those terms rather than the Apache License.
 
 
 
 
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 | **Apache 2.0** | STANDARD(12 GB 級手機) |
36
- | `Gemma3-1B-IT_multi-prefill-seq_q4_ekv4096.litertlm` | 約 0.5 GB | **Gemma Terms of Use** | LIGHT(6–8 GB 級手機) |
37
 
38
- **兩顆模型授權不同,請勿混用條款:**
 
39
 
40
- - **Gemma 4** Apache License 2.0 → [`LICENSE-apache-2.0.txt`](LICENSE-apache-2.0.txt)
41
- - **Gemma 3** 列於 Gemma Terms of Use 的 Appendix,採自訂條款 →
42
- [`LICENSE-gemma-terms.txt`](LICENSE-gemma-terms.txt)並受
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
- 1325ae366d31950f137c9c357b9fa89448b176d76998180c08ceaca78bba98be Gemma3-1B-IT_multi-prefill-seq_q4_ekv4096.litertlm
 
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
- HTML_PAGES = {
28
- "LICENSE-gemma-terms.txt": "https://ai.google.dev/gemma/terms",
29
- "PROHIBITED_USE_POLICY.txt": "https://ai.google.dev/gemma/prohibited_use_policy",
 
 
 
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"}