Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SLM] Add support for InternLM architecture #1835

Merged
merged 18 commits into from
Feb 28, 2024
Prev Previous commit
Next Next commit
Update internlm_loader.py
  • Loading branch information
tlopex authored Feb 25, 2024
commit a799c2541d099fc5346c61c8085afd63e4ff54d9
6 changes: 3 additions & 3 deletions python/mlc_chat/model/internlm/internlm_loader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
This file specifies how MLC's StableLM parameter maps from other formats, for example HuggingFace
This file specifies how MLC's InternLM parameter maps from other formats, for example HuggingFace
PyTorch, HuggingFace safetensors.
"""

Expand All @@ -19,8 +19,8 @@ def huggingface(model_config: InternLMForCausalLM, quantization: Quantization) -

Parameters
----------
model_config : InternLM2Config
The configuration of the InternLM2 model.
model_config : InternLMConfig
The configuration of the InternLM model.

quantization : Quantization
The quantization configuration.
Expand Down