The model is built on a multilingual foundation covering 119 languages and has been continuously pre-trained with a focus on Turkish. The tokenizer has been extended specifically for Turkish morphological structure and advanced use cases. HYZ-01-0.6B-Base is the lightweight, open-source base version of HYZ-01, developed by NeuroTürk for Turkish.
The following 20 tokens have been added to the vocabulary and are reserved as infrastructure for future advanced capabilities:
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_name = "neuroturk/HYZ-01-0.6B-Base"
5
6tokenizer = AutoTokenizer.from_pretrained(
7 model_name,
8 trust_remote_code=True,
9 fix_mistral_regex=True
10)
11model = AutoModelForCausalLM.from_pretrained(
12 model_name,
13 torch_dtype=torch.bfloat16,
14 device_map="auto",
15)
16
17prompt = "Yapay zeka, bilgisayar sistemlerinin"
18
19inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
20
21outputs = model.generate(
22 **inputs,
23 max_new_tokens=200,
24 temperature=0.8,
25 top_p=0.95,
26 do_sample=True,
27 repetition_penalty=1.1,
28)
29
30
31new_tokens = outputs[0][inputs['input_ids'].shape[1]:]
32print(tokenizer.decode(new_tokens, skip_special_tokens=True))
1from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
2import torch
3
4bnb_config = BitsAndBytesConfig(
5 load_in_4bit=True,
6 bnb_4bit_compute_dtype=torch.bfloat16,
7 bnb_4bit_use_double_quant=True,
8 bnb_4bit_quant_type="nf4",
9)
10
11tokenizer = AutoTokenizer.from_pretrained(
12 "neuroturk/HYZ-01-0.6B-Base",
13 trust_remote_code=True,
14)
15model = AutoModelForCausalLM.from_pretrained(
16 "neuroturk/HYZ-01-0.6B-Base",
17 quantization_config=bnb_config,
18 device_map="auto",
19)
1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 model_name="neuroturk/HYZ-01-0.6B-Base",
5 max_seq_length=4096,
6 load_in_4bit=True,
7)
8
9model = FastLanguageModel.get_peft_model(
10 model,
11 r=32,
12 lora_alpha=64,
13 lora_dropout=0.0,
14 target_modules=[
15 "q_proj", "k_proj", "v_proj", "o_proj",
16 "gate_proj", "up_proj", "down_proj",
17 ],
18 use_gradient_checkpointing="unsloth",
19)
For faster inference and lower resource usage, GGUF quantized versions of HYZ-01-0.6B-Base are available. These were kindly provided by
mradermacher.
For a detailed explanation of quantization types (e.g., Q4_K_M, Q5_K_M), see the llama.cpp documentation.
1@misc{neuroturk2026hyz01,
2 author = {NeuroTürk},
3 title = {HYZ-01-0.6B: A Lightweight Turkish Base Model},
4 year = 2026,
5
6}