How to use Lin-Chen/ShareCaptioner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Lin-Chen/ShareCaptioner", trust_remote_code=True)
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Lin-Chen/ShareCaptioner", trust_remote_code=True, dtype="auto")
请问这里为什么选择internLMXComposer来做captioner,和其他模型相比做captioner有什么优势呢?
· Sign up or log in to comment