Instructions to use DFveloper/AIKAR-1.2-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DFveloper/AIKAR-1.2-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DFveloper/AIKAR-1.2-Pro") 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("DFveloper/AIKAR-1.2-Pro") model = AutoModelForMultimodalLM.from_pretrained("DFveloper/AIKAR-1.2-Pro", 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 DFveloper/AIKAR-1.2-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DFveloper/AIKAR-1.2-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DFveloper/AIKAR-1.2-Pro", "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/DFveloper/AIKAR-1.2-Pro
- SGLang
How to use DFveloper/AIKAR-1.2-Pro 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 "DFveloper/AIKAR-1.2-Pro" \ --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": "DFveloper/AIKAR-1.2-Pro", "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 "DFveloper/AIKAR-1.2-Pro" \ --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": "DFveloper/AIKAR-1.2-Pro", "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 DFveloper/AIKAR-1.2-Pro with Docker Model Runner:
docker model run hf.co/DFveloper/AIKAR-1.2-Pro
license: apache-2.0
library_name: transformers
base_model: google/gemma-4-26B-A4B
base_model_relation: finetune
[AIKAR 1.2 Pro] π
π Overview
AIKAR 1.2 Proλ LOOPμμ κ°λ°ν μ°¨μΈλ κ³ μ±λ₯ λκ·λͺ¨ μΈμ΄ λͺ¨λΈ(LLM) μ리μ¦μ μ μ μ λλ€. μ΄μ λͺ¨λΈμΈ AIKAR 1.1μ μν€ν μ²λ₯Ό κ³μΉνλ©΄μλ, λμ± λ°©λνκ³ μ κ΅ν λ°μ΄ν°μ μ ν΅ν μ§μμ μΈ νμ΅(Continuous Training)μ ν΅ν΄ μΆλ‘ λ₯λ ₯, λ€κ΅μ΄ μ²λ¦¬ μ±λ₯, κ·Έλ¦¬κ³ λ³΅ν©μ μΈ λͺ λ Ήμ΄ μ€μ λ₯λ ₯μ λΉμ½μ μΌλ‘ ν₯μμμΌ°μ΅λλ€.
λ³Έ λͺ¨λΈμ κ°λ°μ DFveloperμ λΉμ μλ, μ€λ¬΄ νκ²½μμμ λμ λ²μ©μ±κ³Ό μ λ°ν μλ΅ μμ±μ λͺ©νλ‘ μ€κ³λμμ΅λλ€.
β¨ Key Features
- Advanced Reasoning: 볡μ‘ν λ Όλ¦¬μ μΆλ‘ λ° μνμ λ¬Έμ ν΄κ²° λ₯λ ₯ κ°ν.
- Enhanced Instruction Following: μ¬μ©μμ λ―ΈμΈν λμμ€λ₯Ό νμ νκ³ μλμ λΆν©νλ μ νν κ²°κ³Όλ¬Ό λμΆ.
- Multilingual Excellence: νκ΅μ΄ λ° μμ΄ λ± λ€μν μΈμ΄ κ°μ μμ°μ€λ¬μ΄ μ ν λ° λ¬Έλ§₯ μ μ§ λ₯λ ₯ μ΅μ ν.
- Optimized Efficiency: Pro λͺ¨λΈλ‘μ μΆλ‘ μ±λ₯κ³Ό μ°μ° ν¨μ¨μ± μ¬μ΄μ μ΅μ μ κ· ν λ¬μ±.
- Contextual Awareness: κΈ΄ λν λ§₯λ½μμλ μ 보μ μΌκ΄μ±μ μ μ§νλ κ°λ ₯ν Context Window κ΄λ¦¬.
π Training Details
- Base: Thanks to Google, Gemma 4 26B A4B
- Developer: LOOP (Lead Developer: DFveloper)
- Architecture: Gemma 4 26B A4B
- Dataset: High-quality curated web text, code, mathematical reasoning datasets, and instruction-tuning datasets.
π Quick Start (Usage)
Hugging Faceμ transformers λΌμ΄λΈλ¬λ¦¬λ₯Ό μ¬μ©νμ¬ λͺ¨λΈμ λ‘λνκ³ μ€ννλ λ°©λ²μ λ€μκ³Ό κ°μ΅λλ€.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "DFveloper/AIKAR-1.2-Pro"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = "Tell me a story."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
π€ Contributing
AIKAR 1.2 Proμ μ±λ₯ κ°μ μ΄λ λ²κ·Έ μ 보λ LOOP GitHub Repositoryλ₯Ό ν΅ν΄ μΈμ λ νμν©λλ€. μ¬μ©μμ νΌλλ°±μ μ°¨μΈλ λͺ¨λΈ κ°λ°μ ν΅μ¬ μμ°μ΄ λ©λλ€.
π License
This model is released under the Apache License 2.0.
"The journey of intelligence never ends. We move forward, one token at a time." β Developed by LOOP