Text Generation
Transformers
Safetensors
Korean
English
qwen3_5
image-text-to-text
veterinary
companion-animal
canine
feline
medical
domain-specific
qwen3.5
not-a-medical-device
conversational
Instructions to use choonok/VetJarvis-4B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use choonok/VetJarvis-4B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="choonok/VetJarvis-4B-Instruct") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("choonok/VetJarvis-4B-Instruct") model = AutoModelForMultimodalLM.from_pretrained("choonok/VetJarvis-4B-Instruct", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use choonok/VetJarvis-4B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "choonok/VetJarvis-4B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "choonok/VetJarvis-4B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/choonok/VetJarvis-4B-Instruct
- SGLang
How to use choonok/VetJarvis-4B-Instruct 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 "choonok/VetJarvis-4B-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "choonok/VetJarvis-4B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "choonok/VetJarvis-4B-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "choonok/VetJarvis-4B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use choonok/VetJarvis-4B-Instruct with Docker Model Runner:
docker model run hf.co/choonok/VetJarvis-4B-Instruct
Commit History
-
Update README.md
Verified signaturec4895e0 -
Update README.md
Verified signature93f02ba -
Update README.md
Verified signature29f31e9 -
Update README.md
Verified signature44e35c0 -
Update README.md
Verified signature1a4f926 -
Update README.md
Verified signature8de62ba -
Update README.md
Verified signature89a0116
-
Update README.md
Verified signaturec4aab40 -
Update README.md
Verified signature46f68ff
-
Replace image2.png with image_re_2.png and sync READMEs
Verified signature6929750 -
Sync KO README with EN: disable think by default, unbold company name
Verified signature722f110 -
Update README.md
Verified signature4c4a0de -
Update README.md
Verified signature608bd04 -
Update README.md
Verified signaturebd124ee -
Show Base model chain in model tree (kept private)
Verified signature999f413 -
Set base_model to Qwen/Qwen3.5-4B with finetune relation for model tree
Verified signaturefa5572d -
Add Korean README (README_ko.md)
Verified signaturea9b03c1 -
Add KO/EN language switcher banner
Verified signature7f38ba2 -
Remove Korean subtitle from Contact heading
Verified signaturea708f52 -
Add Figure 1 & Figure 2 captions with detailed analysis
Verified signature75ec0cc -
Clean up Evaluation section (remove Korean duplicate and draft markers)
Verified signaturee1f184b -
Translate example system/user messages to English
Verified signaturee3e556d -
Rename section 1 header to English
Verified signaturede2b5f3 -
Add evaluation figures
Verified signature1a35173 -
Add LICENSE
Verified signatureeb9df3f -
Add model card
Verified signature12fd016 -
Upload Vet-JARVIS 4B SFT-Restart (iter_0002288, 2 epoch)
Verified signaturede64887 -
initial commit
Verified signature7bab7ce