Instructions to use internlm/internlm-xcomposer2d5-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internlm/internlm-xcomposer2d5-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="internlm/internlm-xcomposer2d5-7b")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/internlm-xcomposer2d5-7b", dtype="auto") - Notebooks
- Google Colab
- Kaggle
What is the base language model of ixc2.5?
#8
by feasfeef - opened
There is no matching language model config among internlm2 models.
That is, InternLM2 models seem to have "max_position_embeddings": 32768, but this one has
"max_position_embeddings": 24576,
"rope_scaling": {
"type": "dynamic",
"factor": 2.0
},
Can I get the name of the base model? e.g., internlm2-chat-7b-sft