LFM2-2.6B-Transcript-MNN

原始模型 · Hugging Face · ModelScope · MNN

基于 LFM2-2.6B 的英文会议摘要模型,从会议文字记录中整理要点、决策和待办事项,采用单轮输入。本仓库提供其 MNN 量化版本。

模型信息

项目 配置
输入 / 输出 文本 / 文本
语言层数 / 隐藏维度 30 / 2048
语言权重 HQQ 4-bit,分组 64
输出头 HQQ 4-bit,分组 64
量化尺度 FP16(语言线性层与输出头)
词嵌入 与输出头共享 4-bit 权重
默认运行配置 CPU,4 线程,precision=low,memory=low

模型文件包括 llm.mnn / llm.mnn.weight(模型图与权重)、tokenizer.mtok(分词器)、config.json / llm_config.json(运行与模型配置)。下载时保留完整目录。

下载

Hugging Face:

hf download taobao-mnn/LFM2-2.6B-Transcript-MNN --local-dir ./LFM2-2.6B-Transcript-MNN

ModelScope:

modelscope download --model MNN/LFM2-2.6B-Transcript-MNN --local_dir ./LFM2-2.6B-Transcript-MNN

运行

运行时使用包含 Jinja 模板与特殊 token 修复 的以下提交。

git clone https://github.com/alibaba/MNN.git
git -C MNN fetch origin pull/5155/head
git -C MNN checkout 4756b19d51ddeaf0a73bbc9f230dea6d930f442e
(cd MNN && ./schema/generate.sh)
cmake -S MNN -B MNN/build -DCMAKE_BUILD_TYPE=Release \
  -DMNN_BUILD_LLM=ON -DMNN_LOW_MEMORY=ON -DMNN_SUPPORT_TRANSFORMER_FUSE=ON
cmake --build MNN/build --target llm_demo -j4

将会议文字记录与摘要要求一起输入。上游推荐 temperature=0.3,完整输入格式见原始模型。

printf '%s\n' 'Summarize the action items. Meeting: Project review. Alice: I will send the report tomorrow. Bob: I will review it by Friday.' > prompt.txt
./MNN/build/llm_demo ./LFM2-2.6B-Transcript-MNN/config.json prompt.txt

采样参数在 config.json 中调整。应用集成见 MNN-LLM 文档。

验证与导出

2026-11-17,x64 CPU:FP32 映射对齐、会议摘要、待办事项、参会人及决策提取用例及默认配置冒烟测试通过。

导出参数见 export_args.json,测试记录与文件哈希见 refresh_metadata.json。

许可证

采用上游 LFM Open License v1.0。商业使用条件见许可证第 5 节。

Downloads last month
246
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for taobao-mnn/LFM2-2.6B-Transcript-MNN

Quantized
(13)
this model

Collection including taobao-mnn/LFM2-2.6B-Transcript-MNN