Skip to content

Commit

Permalink
support mistral (mindspore-lab#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvyufeng authored Dec 9, 2023
1 parent 9bca4b1 commit 4678ea5
Show file tree
Hide file tree
Showing 12 changed files with 1,789 additions and 12 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,50 +90,55 @@ 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 |
|-------------------------------|------------------|---------------|
| Model | Pynative support | Graph Support |
|-------------------------------|---------------------|---------------|
| ALBERT |||
| Autoformer | TODO ||
| Autoformer | ✅ (Inference only)||
| BaiChuan |||
| Bark | TODO ||
| BART |||
| BERT |||
| BLIP | TODO ||
| BLIP2 | TODO ||
| BLOOM |||
| CLIP |||
| ChatGLM |||
| CLIP |||
| CodeGen |||
| ConvBERT | TODO ||
| CPM |||
| CPM-Ant |||
| CPM-Bee |||
| EnCodec | TODO ||
| ERNIE |||
| Falcon | TODO ||
| Falcon | ||
| GLM |||
| OpenAI GPT |||
| OpenAI GPT-2 |||
| GPT Neo |||
| GPT NeoX | TODO ||
| GPTBigCode |||
| Graphormer | TODO ||
| Graphormer | ||
| Llama |||
| Llama2 |||
| CodeLlama |||
| Longformer |||
| LongT5 | TODO ||
| LongT5 | ||
| LUKE |||
| MaskFormer |||
| mBART-50 |||
| Megatron-BERT |||
| Megatron-GPT2 |||
| MobileBERT |||
| Moss |||
| OpenAI GPT |||
| OpenAI GPT-2 |||
| Nezha |||
| OPT |||
| Pangu |||
| Pop2piano | Todo ||
| RoBERTa |||
| RWKV |||
| T5 |||
| TimeSformer | TODO ||
| Tinybert |||
| Whisper |||
| XLM |||
| XLM-RoBERTa |||
Expand Down
3 changes: 3 additions & 0 deletions mindnlp/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
Global configs
"""
import os
import mindspore

DEFAULT_DTYPE = mindspore.float32

WEIGHTS_NAME = "mindspore.ckpt"
PT_WEIGHTS_NAME = "pytorch_model.bin"
Expand Down
Loading

0 comments on commit 4678ea5

Please sign in to comment.