Instructions to use Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B") model = AutoModelForCausalLM.from_pretrained("Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B
- SGLang
How to use Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B 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 "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B" \ --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": "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B", "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 "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B" \ --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": "Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B with Docker Model Runner:
docker model run hf.co/Saxo/Linkbricks-Horizon-AI-Korean-Pro-12B
Model Card for Model ID
AI 전문 기업인 Linkbricks Horizon-AI 의 데이터사이언티스트인 지윤성(Saxo) 대표가
mistralai/Mistral-Nemo-Instruct-2407 베이스모델을 사용해서 H100-80G 8개를 통해 약 20%정도의 파라미터를 한국어 CPT(Continued-Pretraining)->SFT->DPO 한
한글 언어 모델인 Saxo/Linkbricks-Horizon-AI-Korean-Advanced-12B을 추가적인 한글, 영어, 일어, 중국어 교차 데이터들을 활용해서 다양한 테스크별 한국어-중국어-영어-일본어 교차 학습 데이터와 수학 및
논리판단 데이터를 통하여 한중일영 언어 교차 증강 처리와 복잡한 논리 문제 역시 대응 가능하도록 훈련한 모델이다.
-한글, 영어, 중국어, 일본어 교차 처리 강화 버전
-토크나이저는 단어 확장 없이 베이스 모델 그대로 사용
-고객 리뷰나 복잡한 한글 추론 및 소셜 포스팅 고차원 분석 및 코딩과 작문, 수학, 논리판단 등이 강화된 모델
-128k-Context Window
CEO Yunsung Ji (Saxo), a data scientist at Linkbricks Horizon-AI, a company specializing in AI and big data analytics, has developed a Korean language model
using the Saxo/Linkbricks-Horizon-AI-Korean-Advanced-12B, a Korean language model that uses the mistralai/Mistral-Nemo-Instruct-2407 basemodel to train about 20% of the parameters through 8 H100-80Gs
using Korean CPT (Continued-Pretraining)->SFT->DPO.
It is a model trained to handle cross-lingual augmentation and complex logic problems by utilizing additional Korean, Engliash, Japanese and Chinese Language data, cross-training data of Korean, Chinese, English, and Japanese by various tasks, and math and logic judgment data.
Translated with DeepL.com (free version)
-Reinforced Korean, Engliash, Japanese, Chinese Language processing
-Tokenizer uses the base model without word expansion
-Models enhanced with high-dimensional analysis of customer reviews and social posts, as well as coding, writing, math, decision making and complex inference
-128k-Context Window
-Deepspeed Stage=3, use rslora and BAdam Layer Mode
- Downloads last month
- 6