Skip to content

Releases: mindspore-lab/mindnlp

v0.4.0

14 Oct 03:54
5b4dad3
Compare
Choose a tag to compare

时隔5个月,MindNLP 0.4来啦!!!这一次在开源社区同学们的努力下带来了数个重大特性更新!!!

  1. 模型大量更新,支持250+ transformers模型,覆盖90% huggingface模型,使用MindSpore进行模型复现、开发训练再无迁移之忧(社区会同步huggingface和业界新模型,随时更新)。
  2. 全平台支持:全面支持昇腾910A、910B、310B(香橙派)、GPU、CPU。(PS:目前香橙派唯一可用的AI开发套件)
  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一下~

安装方法:

pip install mindnlp

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

PS:获取昇腾算力的几个途径:

v0.3.1

17 May 02:08
978ab37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

06 May 13:31
18acd45
Compare
Choose a tag to compare

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

Full Changelog: v0.2.4...v0.3.0

v0.2.4

09 Apr 08:35
2c3d8fc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

28 Mar 23:57
5cfe18b
Compare
Choose a tag to compare
fix layoutlm & use hf-mirror for all urls (#963)

v0.2.2

20 Mar 16:16
c56d826
Compare
Choose a tag to compare

New models

  • ALIGN
  • AltCLIP
  • Audio Spectrogram Transformer
  • BioGPT

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

18 Mar 11:44
0620b7f
Compare
Choose a tag to compare

New features

Pipelines support

  • Automatic Speech Recognition
  • Question Answering
  • Text to Text
  • Text Classification
  • Text Generation

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

04 Mar 15:12
40d6a27
Compare
Choose a tag to compare
only download models from huggingface (#888)

v0.1.1

23 Feb 17:50
2e0ee8e
Compare
Choose a tag to compare
Correct checkpoint`s URL for OPT Model. (#648)

v0.0.1-alpha

14 Dec 02:28
afbb43e
Compare
Choose a tag to compare
update api.po 1 (#138)