BIST Tool β€” Gemma 4 E2B

Fine-tuned Gemma 4 E2B for financial tool-calling (BIST / US / FX / crypto / funds-style tools).

Behavior

Intent Tools
Known ticker price (GARAN, THYAO, AAPL) get_quote
Research a known stock get_quote + get_profile + get_technical_analysis
Unknown name (EUREN) 4Γ— search_symbol (bist, us, fund, crypto) β€” not EUR/FX
Explicit FX (euro kuru, dolar kaΓ§) get_quote with market: fx

Example (Gemma 4 tool tokens):

<|tool_call>call:get_quote{symbol:<|"|>THYAO<|"|>,market:<|"|>bist<|"|>}<tool_call|>

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

REPO = "HF_USER/bist-tool-gemma4-e2b"

tokenizer = AutoTokenizer.from_pretrained(REPO)
model = AutoModelForCausalLM.from_pretrained(
    REPO,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

Use the Gemma 4 chat template. Prefer thinking off for clean tool tokens.
If the host prefixes tool names (mcp__…__get_quote), map them to short labels (get_quote, search_symbol, …).

License

Derived from Gemma weights; subject to the Gemma license and terms.

Downloads last month
16
Safetensors
Model size
5B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for ardakalayci/bist-tool-gemma4-e2b

Finetuned
(189)
this model