Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
omics
bioinformatics
single-cell
spatial-transcriptomics
omicverse
agent
tool-calling
scientific-coding
conversational
Instructions to use omicverse/OmicAI-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omicverse/OmicAI-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="omicverse/OmicAI-27B") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("omicverse/OmicAI-27B") model = AutoModelForMultimodalLM.from_pretrained("omicverse/OmicAI-27B", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use omicverse/OmicAI-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "omicverse/OmicAI-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "omicverse/OmicAI-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/omicverse/OmicAI-27B
- SGLang
How to use omicverse/OmicAI-27B 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 "omicverse/OmicAI-27B" \ --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": "omicverse/OmicAI-27B", "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 "omicverse/OmicAI-27B" \ --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": "omicverse/OmicAI-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use omicverse/OmicAI-27B with Docker Model Runner:
docker model run hf.co/omicverse/OmicAI-27B
Request access to OmicAI-27B
Access to OmicAI-27B is reviewed manually and is free for academic and non-profit research — please apply using your institutional email address. Commercial use requires a separate license; email contact@omicos.cn with the subject line "OmicAI-27B commercial license". Please fill in the form as completely as you can, it is what we use to review the request.
Log in or Sign Up to review the conditions and access this model content.
Gated model You can list files but not access them
Preview of files found in this repository
- 1.57 kB
- 4.37 kB
- 8.85 kB
- 4.31 kB
- 202 Bytes
- 3.35 MB
- 3.97 GB xet
- 3.04 GB xet
- 2.54 GB xet
- 3.99 GB xet
- 2.1 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.98 GB xet
- 2.11 GB xet
- 3.39 GB xet
- 112 kB
- 390 Bytes
- 12.8 MB xet
- 17.9 kB
- 385 Bytes
- 6.72 MB