--- base_model: unsloth/Qwen3-14B-unsloth-bnb-4bit library_name: transformers model_name: qwen3-14b-turkish-alpaca tags: - generated_from_trainer - unsloth - sft - trl licence: license datasets: - TFLai/Turkish-Alpaca --- # Model Card for qwen3-14b-turkish-alpaca This model is a fine-tuned version of [unsloth/Qwen3-14B-unsloth-bnb-4bit](https://huggingface.co/unsloth/Qwen3-14B-unsloth-bnb-4bit). It has been trained using [TRL](https://github.com/huggingface/trl). ## Quick start ```python from unsloth import FastLanguageModel from unsloth.chat_templates import get_chat_template # Load model model, tokenizer = FastLanguageModel.from_pretrained( "uisikdag/qwen3-14b-turkish-alpaca", max_seq_length=2048, load_in_4bit=True, ) tokenizer = get_chat_template(tokenizer, chat_template="qwen2.5") FastLanguageModel.for_inference(model) # Generate response instruction = "Python'da bir sayının asal olup olmadığını kontrol eden bir fonksiyon yaz." messages = [{"role": "user", "content": instruction}] inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda") outputs = model.generate(input_ids=inputs, max_new_tokens=256, temperature=0.7, top_p=0.9, do_sample=True) response = tokenizer.decode(outputs[0], skip_special_tokens=True).split("assistant")[-1].strip() print(response) ``` ## Training procedure This model was trained with SFT. ### Framework versions - TRL: 0.24.0 - Transformers: 4.57.1 - Pytorch: 2.9.1 - Datasets: 4.3.0 - Tokenizers: 0.22.1 ## Citations Cite TRL as: ```bibtex @misc{vonwerra2022trl, title = {{TRL: Transformer Reinforcement Learning}}, author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec}, year = 2020, journal = {GitHub repository}, publisher = {GitHub}, howpublished = {\url{https://github.com/huggingface/trl}} } ```