Text Generation
Transformers
Safetensors
English
Chinese
qwen3_5
image-text-to-text
qwen
lora
reinforcement-learning
fp8
agentic-coding
scientific-computing
physics
materials-science
genetics
conversational
Instructions to use HoomanBio2021/LabOpen-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HoomanBio2021/LabOpen-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HoomanBio2021/LabOpen-v1") 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("HoomanBio2021/LabOpen-v1") model = AutoModelForMultimodalLM.from_pretrained("HoomanBio2021/LabOpen-v1", 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 HoomanBio2021/LabOpen-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HoomanBio2021/LabOpen-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HoomanBio2021/LabOpen-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HoomanBio2021/LabOpen-v1
- SGLang
How to use HoomanBio2021/LabOpen-v1 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 "HoomanBio2021/LabOpen-v1" \ --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": "HoomanBio2021/LabOpen-v1", "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 "HoomanBio2021/LabOpen-v1" \ --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": "HoomanBio2021/LabOpen-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HoomanBio2021/LabOpen-v1 with Docker Model Runner:
docker model run hf.co/HoomanBio2021/LabOpen-v1
Commit History
Yesterday
-
Update MERGE_REPORT.md
Verified signature5edf95e -
Update USAGE.md
Verified signature5171300 -
Update EVALUATION.md
Verified signaturea248996 -
Update README.md
Verified signature8e2a0ef
4 days ago
-
Update README.md
Verified signature64b9bd8 -
Update README.md
Verified signaturecd961c1 -
Upload USAGE.md with huggingface_hub
Verified signature151f498 -
Upload README.md with huggingface_hub
Verified signature903f05c -
Upload README.md with huggingface_hub
Verified signatureae49e20 -
Upload README.md with huggingface_hub
Verified signature45ffe75 -
Upload README.md with huggingface_hub
Verified signaturefa18f2c -
Upload README.md with huggingface_hub
Verified signatureda7311f -
Upload README.md with huggingface_hub
Verified signaturea2c362f -
Upload README.md with huggingface_hub
Verified signature477f746 -
Upload EVALUATION.md with huggingface_hub
Verified signature2a57098 -
Upload README.md with huggingface_hub
Verified signature4f54b21 -
Upload EVALUATION.md with huggingface_hub
Verified signature57d2af0 -
Upload README.md with huggingface_hub
Verified signature2a5cd1b
5 days ago
-
Add files using upload-large-folder tool
Verified signature0e176c3 -
Upload README.md with huggingface_hub
Verified signature24fba1d -
Upload README.md with huggingface_hub
Verified signature35868bb -
Upload README.md with huggingface_hub
Verified signature206a2a4 -
Upload README.md with huggingface_hub
Verified signature33a2a2d -
Update README.md
Verified signatureeb76362 -
Upload README.md with huggingface_hub
Verified signature2b021bb -
Upload README.md with huggingface_hub
Verified signaturec24ec49 -
Upload README.md with huggingface_hub
Verified signaturec7b2e93 -
Upload README.md with huggingface_hub
Verified signaturecaf9325 -
Upload adapter/adapter_config.json with huggingface_hub
Verified signature7821f8e -
Upload EVALUATION.md with huggingface_hub
Verified signature010c644 -
Upload USAGE.md with huggingface_hub
Verified signaturefec37cf -
Upload LICENSE with huggingface_hub
Verified signature5c528e2 -
Upload README.md with huggingface_hub
Verified signatured4d1ba6 -
initial commit
Verified signatured33a888