Text Generation
Transformers
Safetensors
Turkish
qwen3
tool-calling
finance
turkish
conversational
text-generation-inference
Instructions to use Dbmaxwell/Fintool-TR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dbmaxwell/Fintool-TR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Dbmaxwell/Fintool-TR") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Dbmaxwell/Fintool-TR") model = AutoModelForCausalLM.from_pretrained("Dbmaxwell/Fintool-TR", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dbmaxwell/Fintool-TR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dbmaxwell/Fintool-TR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dbmaxwell/Fintool-TR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Dbmaxwell/Fintool-TR
- SGLang
How to use Dbmaxwell/Fintool-TR 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 "Dbmaxwell/Fintool-TR" \ --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": "Dbmaxwell/Fintool-TR", "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 "Dbmaxwell/Fintool-TR" \ --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": "Dbmaxwell/Fintool-TR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Dbmaxwell/Fintool-TR with Docker Model Runner:
docker model run hf.co/Dbmaxwell/Fintool-TR
Remove internal version naming
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
- turkish
|
| 15 |
---
|
| 16 |
|
| 17 |
-
# Fintool-TR
|
| 18 |
|
| 19 |
`Qwen3-4B-Instruct-2507` tabanlı Türkçe finans ve tool-calling modeli. Tam BF16 checkpoint'tir; LoRA adapter değildir.
|
| 20 |
|
|
@@ -27,9 +27,9 @@ Değerlendirme setinde eğitim verisiyle birebir eşleşen prompt yoktur. Toplam
|
|
| 27 |
| Model | Composite | MCP kararı | Araç seçimi | Şema | Argümanlar | MCP başarı | Finans bilgisi | Finans hesabı |
|
| 28 |
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 29 |
| Base Qwen3-4B | 85.91 | 86.11% | 80.00% | 83.33% | 77.39% | 80.56% | 90.00% | 91.67% |
|
| 30 |
-
| **Fintool-TR
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
Composite hesabı: MCP kararı %10, araç seçimi %15, şema %5, argüman kapsama %10, MCP fonksiyonel başarı %10, finans bilgisi %30, finans hesabı %20.
|
| 35 |
|
|
@@ -69,7 +69,7 @@ Ağırlıklar yaklaşık 8.04 GB olduğu için iki `safetensors` shard'ına böl
|
|
| 69 |
import torch
|
| 70 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 71 |
|
| 72 |
-
model_id = "Dbmaxwell/
|
| 73 |
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 75 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 14 |
- turkish
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Fintool-TR
|
| 18 |
|
| 19 |
`Qwen3-4B-Instruct-2507` tabanlı Türkçe finans ve tool-calling modeli. Tam BF16 checkpoint'tir; LoRA adapter değildir.
|
| 20 |
|
|
|
|
| 27 |
| Model | Composite | MCP kararı | Araç seçimi | Şema | Argümanlar | MCP başarı | Finans bilgisi | Finans hesabı |
|
| 28 |
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 29 |
| Base Qwen3-4B | 85.91 | 86.11% | 80.00% | 83.33% | 77.39% | 80.56% | 90.00% | 91.67% |
|
| 30 |
+
| **Fintool-TR** | **92.68** | **97.22%** | **90.00%** | **96.67%** | **87.39%** | **88.89%** | 90.00% | **100.00%** |
|
| 31 |
|
| 32 |
+
Fintool-TR'in belirgin farkı yeni araç şemalarında görüldü: fonksiyonel başarı Base için %66.67, Fintool-TR için %100 (12/12). Hesaplama denetiminde model hem semantik doğrulukta hem zorunlu `SONUC:` formatında 12/12 yaptı.
|
| 33 |
|
| 34 |
Composite hesabı: MCP kararı %10, araç seçimi %15, şema %5, argüman kapsama %10, MCP fonksiyonel başarı %10, finans bilgisi %30, finans hesabı %20.
|
| 35 |
|
|
|
|
| 69 |
import torch
|
| 70 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 71 |
|
| 72 |
+
model_id = "Dbmaxwell/Fintool-TR"
|
| 73 |
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 75 |
model = AutoModelForCausalLM.from_pretrained(
|