以清洗過的維基百科及維基文庫重新訓練
Browse files- model.safetensors +1 -1
- modeling_kuixing.py +1 -1
- tokenizer.json +0 -0
- tokenizer.model +2 -2
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5515185528
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6201007c223880c9fbd554bbd26d0249e5bab0ad90e39108d709d312d138fe3a
|
| 3 |
size 5515185528
|
modeling_kuixing.py
CHANGED
|
@@ -160,7 +160,7 @@ class KuiXingForCausalLM(PreTrainedModel, GenerationMixin):
|
|
| 160 |
# lm_head.weight 是刻意省略的(weight tying),從 missing 中排除再判斷
|
| 161 |
missing = [k for k in missing if k != "model.lm_head.weight"]
|
| 162 |
if not missing and not unexpected:
|
| 163 |
-
print("✅
|
| 164 |
else:
|
| 165 |
if missing: print(f"⚠️ 缺少 key({len(missing)}):{missing[:5]}")
|
| 166 |
if unexpected: print(f"⚠️ 多餘 key({len(unexpected)}):{unexpected[:5]}")
|
|
|
|
| 160 |
# lm_head.weight 是刻意省略的(weight tying),從 missing 中排除再判斷
|
| 161 |
missing = [k for k in missing if k != "model.lm_head.weight"]
|
| 162 |
if not missing and not unexpected:
|
| 163 |
+
print("✅ 所有權重 key 完整對映,無缺漏。")
|
| 164 |
else:
|
| 165 |
if missing: print(f"⚠️ 缺少 key({len(missing)}):{missing[:5]}")
|
| 166 |
if unexpected: print(f"⚠️ 多餘 key({len(unexpected)}):{unexpected[:5]}")
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:081434a9b3012410ba5f5987a359a4d3f11242356813164f73eb6c7748781f47
|
| 3 |
+
size 1848887
|