Image-Text-to-Text
Transformers
Safetensors
Arabic
English
French
qwen3_5
foundational-model
coding-agent
software-engineering
universal-tool-calling
256k-context
swe-bench
genisi-codex-open
anesnt
algeria
batna
conversational
Instructions to use AnesNT2026/Genisi-Codex-Open with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnesNT2026/Genisi-Codex-Open with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="AnesNT2026/Genisi-Codex-Open") 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("AnesNT2026/Genisi-Codex-Open") model = AutoModelForMultimodalLM.from_pretrained("AnesNT2026/Genisi-Codex-Open", 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 AnesNT2026/Genisi-Codex-Open with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AnesNT2026/Genisi-Codex-Open" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AnesNT2026/Genisi-Codex-Open", "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/AnesNT2026/Genisi-Codex-Open
- SGLang
How to use AnesNT2026/Genisi-Codex-Open 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 "AnesNT2026/Genisi-Codex-Open" \ --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": "AnesNT2026/Genisi-Codex-Open", "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 "AnesNT2026/Genisi-Codex-Open" \ --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": "AnesNT2026/Genisi-Codex-Open", "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 AnesNT2026/Genisi-Codex-Open with Docker Model Runner:
docker model run hf.co/AnesNT2026/Genisi-Codex-Open
AnesNT commited on
Finalize standalone foundational weights (adapter_config.json)
Browse files- adapter_config.json +0 -47
adapter_config.json
DELETED
|
@@ -1,47 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"alora_invocation_tokens": null,
|
| 3 |
-
"alpha_pattern": {},
|
| 4 |
-
"arrow_config": null,
|
| 5 |
-
"auto_mapping": {
|
| 6 |
-
"base_model_class": "Qwen3_5ForConditionalGeneration",
|
| 7 |
-
"parent_library": "transformers.models.qwen3_5.modeling_qwen3_5",
|
| 8 |
-
"unsloth_fixed": true
|
| 9 |
-
},
|
| 10 |
-
"base_model_name_or_path": "ornith-ai/Ornith-1.5-9B",
|
| 11 |
-
"bias": "none",
|
| 12 |
-
"corda_config": null,
|
| 13 |
-
"ensure_weight_tying": false,
|
| 14 |
-
"eva_config": null,
|
| 15 |
-
"exclude_modules": null,
|
| 16 |
-
"fan_in_fan_out": false,
|
| 17 |
-
"inference_mode": true,
|
| 18 |
-
"init_lora_weights": true,
|
| 19 |
-
"kasa_config": null,
|
| 20 |
-
"layer_replication": null,
|
| 21 |
-
"layers_pattern": null,
|
| 22 |
-
"layers_to_transform": null,
|
| 23 |
-
"loftq_config": {},
|
| 24 |
-
"lora_alpha": 64,
|
| 25 |
-
"lora_bias": false,
|
| 26 |
-
"lora_dropout": 0,
|
| 27 |
-
"lora_ga_config": null,
|
| 28 |
-
"megatron_config": null,
|
| 29 |
-
"megatron_core": "megatron.core",
|
| 30 |
-
"modules_to_save": null,
|
| 31 |
-
"monteclora_config": null,
|
| 32 |
-
"peft_type": "LORA",
|
| 33 |
-
"peft_version": "0.21.2",
|
| 34 |
-
"qalora_group_size": 16,
|
| 35 |
-
"r": 32,
|
| 36 |
-
"rank_pattern": {},
|
| 37 |
-
"revision": null,
|
| 38 |
-
"target_modules": "(?:.*?(?:language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?\\.(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}(?!.*\\.experts\\.\\d)\\..*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?\\.(?:(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
|
| 39 |
-
"target_parameters": null,
|
| 40 |
-
"task_type": "CAUSAL_LM",
|
| 41 |
-
"trainable_token_indices": null,
|
| 42 |
-
"use_bdlora": null,
|
| 43 |
-
"use_dora": false,
|
| 44 |
-
"use_qalora": false,
|
| 45 |
-
"use_rslora": false,
|
| 46 |
-
"velora_config": null
|
| 47 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|