Mindnlp

Latest version: v0.4.1

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.10b

4. 量化算法支持:香橙派支持Smooth Quant,GPU支持bitsandbytes int8量化
5. Sentence transformer支持:可以开心的搞RAG啦
6. 动态图性能优化:昇腾硬件下动态图推理速度达到Pytorch+GPU同水平(Llama实测性能85ms/token)
7. 真正的动静统一:通过mindspore.jit一行切换图模式,完全使用huggingface code style,既保证易用性,又能快速提升性能。昇腾硬件下Llama实测性能为动态图2倍(45ms/token),与mindspore其他静态图based套件性能完全一致。
8. 海量LLM应用更新:包括文本信息抽取、聊天机器人、语音识别、ChatPDF、音乐生成、代码生成、声音克隆等等,伴随着模型支持度的提高,更多好玩的应用等你来开发!

欢迎大家使用、提Issue和Star一下~

安装方法:
bash
pip install mindnlp

代码仓:
https://github.com/mindspore-lab/mindnlp

PS:获取昇腾算力的几个途径:
- 参加MindSpore社区实习和社区活动,免费领取华为云代金券:https://gitee.com/mindspore/community/issues/IAUJE8
- 使用启智社区免费算力:https://www.openi.org.cn/

1.250

2. 全平台支持:全面支持昇腾910A、910B、310B(香橙派)、GPU、CPU。(PS:目前香橙派唯一可用的AI开发套件)

0.4

0.4.0

0.3.1

What's Changed
* add musicgen gradio demo by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1066
* Peft lokr support by ultranationalism in https://github.com/mindspore-lab/mindnlp/pull/1067
* use mkdocs to generate documentation by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1070
* Add tutorial quick start by hubosynapse in https://github.com/mindspore-lab/mindnlp/pull/1069
* fix precision error of flash_attn kernel in some case by hypertseng in https://github.com/mindspore-lab/mindnlp/pull/1072
* support prompt_tuning by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1073
* add peft integration by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1076
* implement cogvlm model and demo by antigone660 in https://github.com/mindspore-lab/mindnlp/pull/1075
* fix pipeline base error by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1077
* peft module documentation completion by ultranationalism in https://github.com/mindspore-lab/mindnlp/pull/1078
* Add MindNLP Starcoder vscode demo by xing-yiren in https://github.com/mindspore-lab/mindnlp/pull/1079
* fix starcoder example by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1080
* update docs by lvyufeng in https://github.com/mindspore-lab/mindnlp/pull/1084

New Contributors
* ultranationalism made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1067
* antigone660 made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1075
* xing-yiren made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1079

**Full Changelog**: https://github.com/mindspore-lab/mindnlp/compare/v0.3.0...v0.3.1

0.3.0

What's Changed
* add new Trainer like hf-transformers
* Add timesformer, MPNet, pegasus, segformer, sam, llama3, MPT,
olmo, llava_next, llava, vipllava, convnext, cvt, resnet, van, openelm, phi3
* support flash_attn_v2, flash_attn_bwd
* peft module support ia3, adalora
* support resume download
* add gsm8k cot prompt example

New Contributors
* Brain100destruction made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1038
* wjy4399 made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1042
* zhouyifeng888 made their first contribution in https://github.com/mindspore-lab/mindnlp/pull/1047

**Full Changelog**: https://github.com/mindspore-lab/mindnlp/compare/v0.2.4...v0.3.0

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.