feat: added quanitized model f98e14a
Ubuntu commited on
How to use agentsea/internlm-xcomposer2-4khd-7b-4bit with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="agentsea/internlm-xcomposer2-4khd-7b-4bit", trust_remote_code=True) # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("agentsea/internlm-xcomposer2-4khd-7b-4bit", trust_remote_code=True, device_map="auto")