Downloads · 30 days
46
24% of all-time downloads
openpangu/openPangu-Embedded-7B-model
openPangu-Embedded-7B-model is a machine learning model from openpangu. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
46
24% of all-time downloads
All-time downloads
189
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
How the weights are stored.
BF168B · 100%
From the Hugging Face model README
中文 | English
openPangu-Embedded-7B 是基于昇腾 NPU 从零训练的高效大语言模型,参数量为 7B(不含词表Embedding)。openPangu-Embedded-7B 训练了约 19T tokens,具备快慢思考融合能力。
| openPangu-Embedded-7B | |
|---|---|
| Architecture | Dense |
| Parameters (Non-Embedding) | 7B |
| Number of Layers | 34 |
| Hidden Dimension | 12800 |
| Attention Mechanism | GQA |
| Number of Attention Heads | 32 for Q,8 for KV |
| Vocabulary Size | 153k |
| Context Length (Natively) | 32k |
| Pretraining Tokens | 19T |
| 测评集 | 测评指标 | 慢思考 |
|---|---|---|
| 通用能力 | ||
| MMLU-Pro | Exact Match | 76.32 |
| CMMLU | Acc | 75.59 |
| ArenaHard_v0.1 | w/o style control | 85.80 |
| C-Eval | Acc | 83.05 |
| GPQA-Diamond | Avg@4 | 70.54 |
| 数学能力 | ||
| MATH-500 | Avg@1 | 95.00 |
| AIME24 | Avg@16 | 71.57 |
| AIME25 | Avg@16 | 58.24 |
| 代码能力 | ||
| LiveCodeBench | Avg@2 (08/24~01/25) | 54.04 |
| MBPP+ | Avg@2 | 76.06 |
注: 评测过程中system prompt 为空,且不添加任何额外的思维链(CoT)提示。评测采用 128k 的序列长度进行。
Atlas 800T A2 (64GB),驱动与固件安装包获取请参照 [Atlas 800T A2]。
以上软件配套经过验证,理论可以支持更高版本,如有疑问,可以提交 issue。
请参考以下方法对下载内容进行完整性校验,hash 值存储在 checklist.chk 文件中。
#!/usr/bin/env bash
ARCH=$(uname -m)
MODEL_PATH="${TARGET_FOLDER}/${MODEL_FOLDER_PATH}"
cd "$MODEL_PATH" || exit 1
if [ "$ARCH" = "arm64" ]; then
sha256sum checklist.chk
else
sha256sum -c checklist.chk
fi
下述内容提供 openPangu-Embedded-7B 在 transformers 框架上进行推理的一个简单示例:
运行前请修改 generate.py,添加模型路径。
cd inference
python generate.py
openPangu-Embedded-7B 模型默认为慢思考模式,可以通过以下手段切换至快思考模式:
generate.py中,no_thinking_prompt变量的定义展示了切换至快思考模式的具体实现:通过在用户输入末尾添加/no_think标记,可将当前轮次切换至快思考模式。处于该模式时,thinking_content将为空值。vllm_ascend:参考[vllm_ascend_for_openpangu_embedded_7b.zh]
除文件中对开源许可证另有约定外,openPangu-Embedded-7B 模型根据 OPENPANGU MODEL LICENSE AGREEMENT VERSION 1.0 授权,旨在允许使用并促进人工智能技术的进一步发展。有关详细信息,请参阅模型存储库根目录中的 LICENSE 文件。
由于 openPangu-Embedded-7B(“模型”)所依赖的技术固有的技术限制,以及人工智能生成的内容是由盘古自动生成的,华为无法对以下事项做出任何保证:
如果有任何意见和建议,请提交issue或联系 [email protected]。
<details> <summary>相关论文清单</summary>Depth-Breadth Synergy in RLVR: Unlocking LLM Reasoning Gains with Adaptive Exploration <br> TiFRe: Text-guided Video Frame Reduction for Efficient Video Multi-modal Large Language Models <br> Searching Meta Reasoning Skeleton to Guide LLM Reasoning <br> Post-Training Quantization of OpenPangu Models for Efficient Deployment on Atlas A2 <br> OSUM-Pangu: An Open-Source Multidimension Speech Understanding Foundation Model Built upon OpenPangu on Ascend NPUs <br> Structured Episodic Event Memory <br> Quasar: Quantized Self-Speculative Acceleration for Rapid Inference via Memory-Efficient Verification <br> CSSBench: Evaluating the Safety of Lightweight LLMs against Chinese-Specific Adversarial Patterns <br> Beyond Static Question Banks: Dynamic Knowledge Expansion via LLM-Automated Graph Construction and Adaptive Generation <br> Your Models Have Thought Enough: Training Large Reasoning Models to Stop Overthinking <br> EvoOpt-LLM: Evolving industrial optimization models with large language models <br> Accelerating OpenPangu Inference on NPU via Speculative Decoding <br> V-CAGE: Context-Aware Generation and Verification for Scalable Long-Horizon Embodied Tasks <br> Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions <br> Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt <br> A-IO: Adaptive Inference Orchestration for Memory-Bound NPUs <br> Multi-source Heterogeneous Public Opinion Analysis via Collaborative Reasoning and Adaptive Fusion: A Systematically Integrated Approach <br> Characterize LSM-tree Compaction Performance via On-Device LLM Inference <br> Traceable Cross-Source RAG for Chinese Tibetan Medicine Question Answering <br> A Comprehensive Evaluation of LLM Reasoning: From Single-Model to Multi-Agent Paradigms <br> Structured Self-Consistency: A Multi-Task Evaluation of LLMs on VirtualHome <br> ArkEval: Benchmarking and Evaluating Automated CodeRepair for ArkTS <br> FMBench: Adaptive Large Language Model Output Formatting <br> DScheLLM: Enabling Dynamic Scheduling through a Fine-Tuned Dual-System Large language Model <br> Holmes: An Evidence-Grounded LLM Agent for Auditable DDoS Investigation in Cloud Networks <br> Cochain: Balancing Insufficient and Excessive Collaboration in LLM Agent Workflows <br> How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attacks <br> Focus-then-Context: Subject-Centric Progressive Visual Token Reduction for Vision-Language Models <br> PGN: Design and Implementation of a Vision-Language Navigation System Based on Pangu Multimodal Foundation Model <br> Behavioral Controllability of Agentic Models for Information Extraction: From Fixed Workflows to Reflective Agents <br> Fine-tuning Large Language Model for Automated Algorithm Design <br> Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding <br> From Rigid to Dynamic: Entropy-Guided Adaptive Inference for Long-Context LLMs <br>
</details>