Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
codecloud-dev
molecule-lm
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
molecule-lm
/
make_release_notes.py
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
58 lines (45 loc) · 2.03 KB
main
Breadcrumbs
molecule-lm
/
make_release_notes.py
Copy path
Top
File metadata and controls
Code
Blame
58 lines (45 loc) · 2.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python3
# 生成 molecule 每个累积版本的 Release 说明(notes.md)。
# 由 package.yml 在每次训练成功后调用;VERSION 文件驱动版本号。
import json
import os
VERSION = open("VERSION").read().strip()
TAG = "v" + VERSION
# 固定身份句:不写版本号、不写公司
IDENTITY = "开源语言模型·代号 molecule·由 codecloud-dev 独立开发(开发者/家人)"
eval_note = "(暂无评测产物)"
p = "eval/eval_status_baseline.json"
if os.path.exists(p):
try:
d = json.load(open(p))
eval_note = (
f"baseline all_pass={d.get('all_pass')};"
"详见 artifact eval-baseline / eval_result_baseline.md"
)
except Exception as e: # noqa: BLE001
eval_note = f"(评测产物读取失败:{e})"
notes = f"""# molecule {TAG}
{IDENTITY}
## 版本 {TAG}(累积训练发布)
纯 CPU 训练的开源语言模型,单次训练 ≤6h,跨轮续训累积 checkpoints。本版本基于 VERSION={VERSION} 自动发布。
- **架构**:decoder-only Transformer(约 129M),融合 RoPE-NTK / SwiGLU / RMSNorm+Pre-Norm / QK-Norm / logit soft-capping / DeepNorm / MTP(1 模块)/ 权重共享。
- **分词**:Qwen2.5 tokenizer 裁 32K + 字节级兜底。
- **训练**:Muon+AdamW 混合、WSD、bf16、seed=42、全量 resume。
- **蒸馏**:CI 内 5 个开源教师模型(general / reason / math / code / eq)分领域生成式数据蒸馏。
- **能力**:支持工具调用。
### 诚实现状
早期累积版本,训练算力有限(纯 CPU、单次 ≤6h),与 SmolLM2-135M 等成熟小模型相比仍有差距,随续训累积持续提升。{eval_note}
### 权重
- `molecule-q4_K_M.gguf`(推荐,体积小、够用)
- `molecule-q8_0.gguf`
- `molecule-f16.gguf`
### 快速使用
```bash
# llama.cpp
./llama-cli -m molecule-q4_K_M.gguf -p "你好"
```
(亦可自行转换为 Ollama / llama.cpp server 等。)
"""
with open("notes.md", "w", encoding="utf-8") as f:
f.write(notes)
print("notes.md written for", TAG)
You can’t perform that action at this time.