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
File size: 3,136 Bytes
bc19dfd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | ---
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` ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ์ฌ ๋ชจ๋ธ์ ๋ก๋ํ๊ณ ์คํํ๋ ๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
```python
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](https://github.com/LOOP-dev)๋ฅผ ํตํด ์ธ์ ๋ ํ์ํฉ๋๋ค. ์ฌ์ฉ์์ ํผ๋๋ฐฑ์ ์ฐจ์ธ๋ ๋ชจ๋ธ ๊ฐ๋ฐ์ ํต์ฌ ์์ฐ์ด ๋ฉ๋๋ค.
## ๐ 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*
|