Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
nate.river fd8ef9c472 | 3 months ago | |
---|---|---|
.github | 4 months ago | |
docs | 6 months ago | |
examples | 3 months ago | |
llm | 3 months ago | |
mindnlp | 3 months ago | |
requirements | 3 months ago | |
scripts | 3 months ago | |
tests | 3 months ago | |
tutorials | 7 months ago | |
.gitignore | 3 months ago | |
.readthedocs.yaml | 1 year ago | |
LICENSE | 1 year ago | |
NOTICE | 1 year ago | |
README.md | 3 months ago | |
pytest.ini | 5 months ago | |
setup.py | 3 months ago |
Installation |
Introduction |
Quick Links |
🔥 Latest Features
from mindnlp.models import BertModel
model = BertModel.from_pretrained('bert-base-cased')
Version Compatibility:
MindNLP version | MindSpore version | Supported Python version |
---|---|---|
master | daily build | >=3.7.5, <=3.9 |
0.1.1 | >=1.8.1, <=2.0.0 | >=3.7.5, <=3.9 |
0.2.0 | >=2.1.0 | >=3.7.5, <=3.9 |
You can download MindNLP daily wheel from here.
To install MindNLP from source, please run:
pip install git+https://github.com/mindspore-lab/mindnlp.git
# or
git clone https://github.com/mindspore-lab/mindnlp.git
cd mindnlp
bash scripts/build_and_reinstall.sh
MindNLP is an open source NLP library based on MindSpore. It supports a platform for solving natural language processing tasks, containing many common approaches in NLP. It can help researchers and developers to construct and train models more conveniently and rapidly.
The master branch works with MindSpore master.
The table below represents the current support in the library for each of those models, whether they have support in Pynative mode or Graph mode.
Model | Pynative support | Graph Support |
---|---|---|
ALBERT | ✅ | ✅ |
Autoformer | ✅ (Inference only) | ❌ |
BaiChuan | ✅ | ❌ |
Bark | ✅ | ❌ |
BART | ✅ | ❌ |
BERT | ✅ | ✅ |
BLIP | TODO | ✅ |
BLIP2 | TODO | ✅ |
BLOOM | ✅ | ❌ |
ChatGLM | ✅ | ❌ |
ChatGLM2 | ✅ | ❌ |
ChatGLM3 | ✅ | ❌ |
CLIP | ✅ | ❌ |
CodeGen | ✅ | ❌ |
ConvBERT | TODO | ❌ |
CPM | ✅ | ❌ |
CPM-Ant | ✅ | ❌ |
CPM-Bee | ✅ | ❌ |
EnCodec | ✅ | ❌ |
ERNIE | ✅ | ✅ |
ERNIEM | ✅ | ✅ |
Falcon | ✅ | ❌ |
GLM | ✅ | ❌ |
OpenAI GPT | ✅ | ❌ |
OpenAI GPT-2 | ✅ | ✅ |
GPT Neo | ✅ | ❌ |
GPT NeoX | TODO | ❌ |
GPTBigCode | ✅ | ❌ |
Graphormer | ✅ | ❌ |
Llama | ✅ | ❌ |
Llama2 | ✅ | ❌ |
CodeLlama | ✅ | ❌ |
Longformer | ✅ | ❌ |
LongT5 | ✅ | ❌ |
LUKE | ✅ | ❌ |
MaskFormer | ✅ | ❌ |
mBART-50 | ✅ | ❌ |
Megatron-BERT | ✅ | ❌ |
Megatron-GPT2 | ✅ | ❌ |
MobileBERT | ✅ | ❌ |
Moss | ✅ | ❌ |
Nezha | ✅ | ❌ |
OPT | ✅ | ❌ |
Pangu | ✅ | ❌ |
Pop2piano | Todo | ❌ |
RoBERTa | ✅ | ✅ |
RWKV | ✅ | ❌ |
SeamlessM4T | ✅ | ❌ |
SeamlessM4Tv2 | ✅ | ❌ |
T5 | ✅ | ❌ |
TimeSformer | TODO | ❌ |
Tinybert | ✅ | ❌ |
Whisper | ✅ | ❌ |
XLM | ✅ | ❌ |
XLM-RoBERTa | ✅ | ❌ |
This project is released under the Apache 2.0 license.
The dynamic version is still under development, if you find any issue or have an idea on new features, please don't hesitate to contact us via Github Issues.
MindSpore is an open source project that welcome any contribution and feedback.
We wish that the toolbox and benchmark could serve the growing research
community by providing a flexible as well as standardized toolkit to reimplement existing methods
and develop their own new semantic segmentation methods.
If you find this project useful in your research, please consider citing:
@misc{mindnlp2022,
title={{MindNLP}: a MindSpore NLP library},
author={MindNLP Contributors},
howpublished = {\url{https://github.com/mindlab-ai/mindnlp}},
year={2022}
}
No Description
Python Jupyter Notebook other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》