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", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/internlm-xcomposer2d5-7b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Correct the name to InternLM-XComposer-2.5 in Readme
#7
by ccmk - opened
Commit history is no longer available for this pull request.
Correct the name to InternLM-XComposer-2.5.