Visual Question Answering
Transformers
Safetensors
cvrr_merged
feature-extraction
cvrr
custom_code
latent-reasoning
Run this model with HF Jobs
Run dmis-lab/InternVL3-38B-CVRR on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/dmis-lab/InternVL3-38B-CVRR. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/dmis-lab/InternVL3-38B-CVRR on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use dmis-lab/InternVL3-38B-CVRR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dmis-lab/InternVL3-38B-CVRR with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="dmis-lab/InternVL3-38B-CVRR", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dmis-lab/InternVL3-38B-CVRR", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 609 Bytes
65deea8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | from transformers import PretrainedConfig
class CVRRMergedConfig(PretrainedConfig):
model_type = 'cvrr_merged'
def __init__(self, release=None, **kwargs):
super().__init__(**kwargs)
self.release = {} if release is None else release
self.architectures = ['CVRRMergedModel']
self.auto_map = {
'AutoConfig': 'configuration_cvrr_merged.CVRRMergedConfig',
'AutoModel': 'modeling_cvrr_merged.CVRRMergedModel',
'AutoModelForImageTextToText': 'modeling_cvrr_merged.CVRRMergedModel',
}
CVRRMergedConfig.register_for_auto_class()
|