Views
No views yet
Note: This is a base pretrained model, not an instruction-following or chat model. SFT (Supervised Fine-Tuning) training is planned as the next stage.
| Property | Value |
|---|---|
| Architecture | Mixtral MoE (MixtralForCausalLM) |
| Parameters | ~14.83B total (~2.9B active per token) |
| Layers | 24 |
| Hidden size | 4096 |
| Attention heads | 32 (GQA: 8 KV heads) |
| Experts | 8 total, top-2 active per token |
| FFN intermediate size | 5632 |
| Context length | 4096 tokens |
| Vocabulary | 131,072 |
| RoPE theta | 500,000 |
| Sliding window | 512 |
| Activation | SiLU |
| dtype | bfloat16 |
| Token | String | ID |
|---|---|---|
| BOS | <bos> | 1 |
| EOS | <eos> | 2 |
| PAD | <pad> | 0 |
| UNK | <unk> | 3 |
1pip install vllm==0.9.2 --no-build-isolation
2pip install "transformers==4.57.0"1vllm serve mkd-hossain/keural-14.8b-stage2-vllm \
2 --dtype bfloat16 \
3 --max-model-len 40961from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="token")
4
5response = client.completions.create(
6 model="mkd-hossain/keural-14.8b-stage2-vllm",
7 prompt="인공지능이란 무엇인가?",
8 max_tokens=256,
9 temperature=0.7,
10)
11print(response.choices[0].text)1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_id = "mkd-hossain/keural-14.8b-stage2-vllm"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10 device_map="auto",
11)
12
13prompt = "인공지능이란 무엇인가?"
14inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
15
16with torch.no_grad():
17 outputs = model.generate(
18 **inputs,
19 max_new_tokens=256,
20 temperature=0.7,
21 top_p=0.9,
22 top_k=50,
23 repetition_penalty=1.1,
24 do_sample=True,
25 )
26
27print(tokenizer.decode(outputs[0], skip_special_tokens=True))prompt = "한국의 역사에 대해 설명해 주세요."prompt = "Explain the history of artificial intelligence."1@misc{keural2026,
2 title = {Keural: A Bilingual Korean-English MoE Language Model},
3 author = {MKD Hossain},
4 year = {2026},
5 url = {https://huggingface.co/mkd-hossain/keural-14.8b-stage2-vllm}
6}