Instructions to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("OpenGVLab/InternVL3_5-1B-HF") model = PeftModel.from_pretrained(base_model, "PEGurevich/internvl3_5-1b-mvbench-action-sequence") - Transformers
How to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PEGurevich/internvl3_5-1b-mvbench-action-sequence")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PEGurevich/internvl3_5-1b-mvbench-action-sequence", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PEGurevich/internvl3_5-1b-mvbench-action-sequence" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PEGurevich/internvl3_5-1b-mvbench-action-sequence", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/PEGurevich/internvl3_5-1b-mvbench-action-sequence
- SGLang
How to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "PEGurevich/internvl3_5-1b-mvbench-action-sequence" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PEGurevich/internvl3_5-1b-mvbench-action-sequence", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "PEGurevich/internvl3_5-1b-mvbench-action-sequence" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PEGurevich/internvl3_5-1b-mvbench-action-sequence", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use PEGurevich/internvl3_5-1b-mvbench-action-sequence with Docker Model Runner:
docker model run hf.co/PEGurevich/internvl3_5-1b-mvbench-action-sequence
Training in progress, step 15
Browse files- adapter_config.json +48 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": {
|
| 4 |
+
"base_model_class": "InternVLForConditionalGeneration",
|
| 5 |
+
"parent_library": "transformers.models.internvl.modeling_internvl"
|
| 6 |
+
},
|
| 7 |
+
"base_model_name_or_path": "OpenGVLab/InternVL3_5-1B-HF",
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"corda_config": null,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": "gaussian",
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 8,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"qalora_group_size": 16,
|
| 27 |
+
"r": 8,
|
| 28 |
+
"rank_pattern": {},
|
| 29 |
+
"revision": null,
|
| 30 |
+
"target_modules": [
|
| 31 |
+
"gate_proj",
|
| 32 |
+
"k_proj",
|
| 33 |
+
"down_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"v_proj",
|
| 36 |
+
"fc1",
|
| 37 |
+
"fc2",
|
| 38 |
+
"o_proj",
|
| 39 |
+
"up_proj",
|
| 40 |
+
"projection_layer"
|
| 41 |
+
],
|
| 42 |
+
"target_parameters": null,
|
| 43 |
+
"task_type": null,
|
| 44 |
+
"trainable_token_indices": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc15ed662379a38e630c0b475c7ab75980349a42f39e28b4d807d812db2f14e9
|
| 3 |
+
size 34441976
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cb8c5feaadebfb52cc0ac7c5698412972816f7b10a3b8db46b3cf7fabb2ea13
|
| 3 |
+
size 5905
|