Views
No views yet
| Property | Value |
|---|---|
| Base Model | Qwen3-14B |
| Fine-tuning Method | LoRA (Low-Rank Adaptation) |
| Training Framework | Unsloth + TRL (SFTTrainer) |
| Quantization | 4-bit (bnb) |
| LoRA Rank | 32 |
| LoRA Alpha | 32 |
| Max Sequence Length | 8192 |
| Training Steps | 600 (2 epochs) |
| Final Training Loss | 0.917 |
| Language | Turkish |
| Domain | Finance (Crypto, BIST, NASDAQ, Technical Analysis, Risk Management) |
⚠️ Disclaimer: This model is intended for educational and informational purposes only. It does not provide investment advice. Always consult a licensed financial advisor before making investment decisions.
1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 model_name = "efedemircan/qwen3-14b-turkish-finance",
5 max_seq_length = 8192,
6 load_in_4bit = True,
7)
8FastLanguageModel.for_inference(model)1messages = [
2 {
3 "role": "user",
4 "content": "Türkiye'de enflasyonist ortamlarda yatırımcılar hangi varlık sınıflarına yönelir?"
5 }
6]
7
8text = tokenizer.apply_chat_template(
9 messages,
10 tokenize = False,
11 add_generation_prompt = True,
12 enable_thinking = False, # Fast, direct responses
13)
14
15inputs = tokenizer(text, return_tensors="pt").to("cuda")
16
17outputs = model.generate(
18 **inputs,
19 max_new_tokens = 2048,
20 temperature = 0.7,
21 top_p = 0.8,
22 top_k = 20,
23 repetition_penalty = 1.1,
24)
25
26response = tokenizer.decode(
27 outputs[0][inputs["input_ids"].shape[1]:],
28 skip_special_tokens=True
29)
30print(response)1text = tokenizer.apply_chat_template(
2 messages,
3 tokenize = False,
4 add_generation_prompt = True,
5 enable_thinking = True, # Enables <think> block
6)
7
8outputs = model.generate(
9 **inputs,
10 max_new_tokens = 8192,
11 temperature = 0.6,
12 top_p = 0.95,
13 top_k = 20,
14 repetition_penalty = 1.15,
15)1@dataset{kiraz2025turkishfinance,
2 title = {Turkish Finance SFT Dataset},
3 author = {Kiraz, Alican},
4 year = {2026},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/datasets/AlicanKiraz0/Turkish-Finance-SFT-Dataset}
7}
8
9@misc{qwen3-14b-turkish-finance,
10 title = {Qwen3-14B Turkish Finance},
11 author = {Demircan, Efe},
12 year = {2026},
13 url = {https://huggingface.co/efedemircan/qwen3-14b-turkish-finance}
14}