Views
No views yet
OpenGVLab/InternVL3_5-8B.
It keeps the Qwen3 language model weights and tokenizer assets, and removes the vision/multimodal components.OpenGVLab/InternVL3_5-8B9bb6a56ad9cc69db95e2d4eeb15a52bbcac4ef79InternVLChatModelqwen3Qwen3ForCausalLMvision_model.* and InternVL bridge mlp1.*safetensorsllm_config and the weights under
language_model.*. The extracted checkpoint strips that prefix and writes a standalone Qwen3
CausalLM config for AutoModelForCausalLM.AutoConfig.from_pretrained(...) loads as Qwen3ConfigAutoTokenizer.from_pretrained(...) loads successfullyAutoModelForCausalLM.from_pretrained(..., torch_dtype="auto", low_cpu_mem_usage=True) loads as Qwen3ForCausalLM(1, 1, 151936)model.safetensors.index.json1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model_id = "sasa2000/internvl3-5-8b-text-only"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype="auto",
10 device_map="auto",
11)
12
13inputs = tokenizer("Explain why the sky looks blue.", return_tensors="pt").to(model.device)
14with torch.no_grad():
15 output_ids = model.generate(**inputs, max_new_tokens=128)
16
17print(tokenizer.decode(output_ids[0], skip_special_tokens=True))