Instructions to use internlm/internlm-xcomposer2d5-7b-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internlm/internlm-xcomposer2d5-7b-4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="internlm/internlm-xcomposer2d5-7b-4bit")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/internlm-xcomposer2d5-7b-4bit", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "<|action_end|>": 92547, | |
| "<|action_start|>": 92546, | |
| "<|im_end|>": 92545, | |
| "<|im_start|>": 92544, | |
| "<|interpreter|>": 92548, | |
| "<|plugin|>": 92549 | |
| } | |