mindformers.models
Base Classes
Base class for all models. |
|
Base class for all configuration classes. |
|
Base class for all slow tokenizers. |
|
Base class for all fast tokenizers (wrapping HuggingFace tokenizers library). |
|
|
Base class of modal content transform template. |
Llama
Provide llama training loss or logits through network. |
|
Llama config class which defines the model size. |
|
Construct a Llama tokenizer based on byte-level Byte-Pair-Encoding. |
|
Construct a Llama tokenizer. |
GLM
Provide ChatGLM2 training loss or logits through network. |
|
ChatGLM2 model config class which defines the model size. |
|
Construct a ChatGLM3 tokenizer. |
|
Construct a ChatGLM4 tokenizer. |