Instructions to use Paranioar/NEO1_0-9B-MT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Paranioar/NEO1_0-9B-MT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Paranioar/NEO1_0-9B-MT", trust_remote_code=True) 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 AutoModel model = AutoModel.from_pretrained("Paranioar/NEO1_0-9B-MT", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Paranioar/NEO1_0-9B-MT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Paranioar/NEO1_0-9B-MT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Paranioar/NEO1_0-9B-MT", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Paranioar/NEO1_0-9B-MT
- SGLang
How to use Paranioar/NEO1_0-9B-MT 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 "Paranioar/NEO1_0-9B-MT" \ --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": "Paranioar/NEO1_0-9B-MT", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Paranioar/NEO1_0-9B-MT" \ --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": "Paranioar/NEO1_0-9B-MT", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Paranioar/NEO1_0-9B-MT with Docker Model Runner:
docker model run hf.co/Paranioar/NEO1_0-9B-MT
| { | |
| "architectures": [ | |
| "NEOChatModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_neo_chat.NEOChatConfig", | |
| "AutoModel": "modeling_neo_chat.NEOChatModel", | |
| "AutoModelForCausalLM": "modeling_neo_chat.NEOChatModel" | |
| }, | |
| "downsample_ratio": 0.5, | |
| "eos_token_id": 151645, | |
| "llm_config": { | |
| "_name_or_path": null, | |
| "architectures": [ | |
| "Qwen3ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "intermediate_size": 12288, | |
| "max_position_embeddings": 40960, | |
| "max_position_embeddings_hw": 10000, | |
| "max_window_layers": 42, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 42, | |
| "num_key_value_heads": 8, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000.0, | |
| "rope_theta_hw": 10000.0, | |
| "sliding_window": null, | |
| "torch_dtype": "bfloat16", | |
| "use_cache": false, | |
| "use_deepep": false, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936, | |
| "pure_llm": false | |
| }, | |
| "model_type": "neo_chat", | |
| "pad_token_id": 151643, | |
| "template": "neo1_0", | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.37.2", | |
| "use_backbone_lora": 0, | |
| "use_llm_lora": 0, | |
| "min_pixels": 65536, | |
| "max_pixels": 4194304, | |
| "patch_size": 16, | |
| "vision_config": { | |
| "architectures": [ | |
| "NEOVisionModel" | |
| ], | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "configuration_neo_vit.NEOVisionConfig", | |
| "AutoModel": "modeling_neo_vit.NEOVisionModel" | |
| }, | |
| "llm_hidden_size": 4096, | |
| "downsample_ratio": 0.5, | |
| "hidden_size": 1024, | |
| "model_type": "neo_vision", | |
| "rope_theta_vision": 10000.0, | |
| "max_position_embeddings_vision": 10000, | |
| "num_channels": 3, | |
| "patch_size": 16, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.37.2", | |
| "min_pixels": 65536, | |
| "max_pixels": 4194304 | |
| } | |
| } |