/ Модель

Характеристики

Лицензия
Gemma
Архитектура
gemma3 · dense
Базовая модель
gemma-3-4b-it
Библиотека
transformers
Опубликована
12 июн 2026

gemma3-4b-market-analyst-merged

Генерация текстаТекст → текст

Дообученная Gemma 3 для анализа структурированных рыночных данных и оценки торговых сценариев по криптовалютам, акциям, валютам и сырьевым товарам.

18скачиваний за 30 дней2лайкавеса обновлены12 июн 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Gemma-3-4B Market Analyst — дообученная и объединённая с LoRA-адаптером модель Ramailo Technologies на базе google/gemma-3-4b-it. Она предназначена для анализа структурированных рыночных данных по криптовалютам, акциям, валютам и сырьевым товарам: оценки торговых сценариев, технического анализа, выявления рисков и других задач анализа рынка. Модель принимает текстовые данные, например JSON с котировками и индикаторами, и генерирует текстовый аналитический ответ. Архитектура — плотная Gemma 3; репозиторий содержит веса safetensors и поддерживает диалоговый режим. В метаданных указан английский язык карточки; длина контекста не приведена.

В оценке на 84 примерах дообученная версия показала улучшение по сравнению с базовой моделью по нескольким критериям, включая фактическую обоснованность и ясность направленного прогноза. Разработчик отмечает лучшие результаты на криптовалютных данных и менее стабильную работу на отдельных случаях с акциями, валютами и сырьевыми товарами. Модель не имеет доступа к текущим рыночным данным; качество зависит от полноты входных данных, а результаты предназначены для исследований и обучения, не являются финансовой рекомендацией. Лицензия — Gemma.

Сценарии применения

  • оценка валидности торгового сетапа по техническим индикаторам
  • мультитаймфреймовый технический анализ криптовалют
  • выявление рыночных рисков по объёму, опционам и динамике цены
  • анализ рыночного режима по структурированным котировкам
  • интерпретация RSI, MACD, полос Боллинджера и ставок финансирования

Ограничения

Нет доступа к текущим рыночным данным; результат зависит от качества и полноты входных данных. По README, качество на криптовалютных задачах выше, а на отдельных случаях с акциями, валютами и сырьевыми товарами может быть менее стабильным; выводы не являются финансовой рекомендацией.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Gemma-3-4B Market Analyst — Merged Model

A fully merged fine-tune of google/gemma-3-4b-it trained by Ramailo Technologies to perform structured financial market analysis across crypto, stocks, forex, and commodities.

This is the merged model — base weights + LoRA adapter baked into one. No separate adapter needed. Plug and play.
Looking for just the LoRA adapter (~65 MB)? → Ramailo-Technologies/gemma3-4b-market-analyst


What it does

Given structured market data (candles, RSI, MACD, Bollinger Bands, EMA stack, funding rates, put/call ratios, open interest, volume ratios), the model produces analysis across 7 task types:

TaskDescription
setup_evaluationEvaluates whether a trade setup is valid or a trap
technical_analysisFull multi-timeframe technical read with directional bias
risk_readingIdentifies risk signals from volume, options flow, and price action
market_regimeClassifies current market regime (trending, ranging, distribution, etc.)
asset_comparisonCompares two assets and identifies relative strength
concept_explainExplains a market concept grounded in the current data
api_parseParses and interprets raw options/derivatives API output

Supported asset classes: crypto, stocks, forex, commodities


How to use

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "Ramailo-Technologies/gemma3-4b-market-analyst-merged"

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

messages = [
    {
        "role": "system",
        "content": "You are an expert market analyst. Analyse the provided market data and give a structured, condition-based assessment. Never give hard price targets. Always state what would change your bias."
    },
    {
        "role": "user",
        "content": "Market data:\n<your JSON market data here>\n\nIs this a valid long setup or a trap?"
    }
]

inputs = tokenizer.apply_chat_template(
    messages, return_tensors="pt", add_generation_prompt=True
).to(model.device)

with torch.no_grad():
    output = model.generate(inputs, max_new_tokens=512, do_sample=False)

response = tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True)
print(response)

Training data examples

Example 1 — Setup Evaluation (BNB/USDT, 5m)

User prompt (abbreviated):

{
  "exchange": "binance",
  "symbol": "BNB/USDT",
  "timeframe": "5m",
  "indicators": {
    "rsi": 30,
    "bollinger_lower": 2684.93,
    "funding_rate": -0.0469,
    "long_short_ratio": 2.09,
    "price": 2635.74
  }
}

Is this a valid long setup or a falling knife?

Model response:

This is a textbook 'falling knife' scenario. While the price of 2635.74 is
aggressively oversold — sitting well below the lower Bollinger Band (2684.93)
and hitting an RSI of 30 — the sentiment data suggests a dangerous trap.
The Long/Short ratio of 2.09 is the critical signal here; it indicates that
retail traders are heavily positioned for a bounce. In a downtrend, a high
L/S ratio provides the exact liquidity needed for further declines via long
liquidations. The negative funding rate (-0.0469) confirms that shorts are
paying longs, which often precedes a bounce — but not when the long-side is
this overcrowded.

Bias change condition: A valid long setup would require the L/S ratio to drop
below 1.2 and price to reclaim the lower Bollinger Band (2684.93) on a
closing basis.

Example 2 — Risk Reading (NFLX, 15m)

User prompt (abbreviated):

{
  "exchange": "nasdaq",
  "symbol": "NFLX",
  "timeframe": "15m",
  "indicators": {
    "volume_ratio": 3.67,
    "put_call_ratio": 1.5,
    "ema_20": 688.22,
    "price": 669.81
  }
}

What does the volume spike tell us?

Model response:

The spike in volume ratio to 3.67 while price remains stagnant at 669.81 is
a classic signal of 'churning' or distribution. When volume surges but price
fails to move, it indicates a massive battle between buyers and sellers where
supply is exactly meeting demand. The Put/Call ratio of 1.5 is the deciding
factor — it reveals that the volume spike is driven largely by bearish bets
and hedging. NFLX is in a precarious position, trading below its EMA_20
(688.22).

Bias change condition: Bias turns neutral if price closes above EMA_20
(688.22) with a volume ratio below 2.0, signalling distribution pressure
is exhausting.

Evaluation results

Evaluated on 84 held-out samples across all task types and asset classes. GPT-4o was used as judge, scoring each response 1–5 on five criteria.

Overall — before vs after fine-tuning

MetricBase modelFine-tunedDelta
Factual grounding3.084.07+0.99
No price targets4.834.96+0.13
Directional clarity3.104.37+1.27
Bias change condition1.734.40+2.68
Hallucination penalty4.394.61+0.21
Overall3.434.48+1.06

The biggest gain is bias change condition (+2.68) — the base model almost never stated what would change its view. The fine-tuned model does this consistently on every response.

By task type

TaskBeforeAfterDelta
api_parse3.254.73+1.48
market_regime3.734.68+0.95
risk_reading3.334.55+1.22
setup_evaluation3.624.42+0.80
concept_explain3.434.42+0.98
technical_analysis3.434.35+0.92
asset_comparison3.184.23+1.05

By asset class

Asset classBeforeAfterDelta
Crypto3.384.70+1.32
Forex3.294.45+1.16
Commodities3.584.43+0.85
Stocks3.464.35+0.90

Before vs after — response comparison

NFLX — Asset Comparison (delta: +2.2)

Base model (score: 2.8/5)

Okay, let's break down this NFLX data and assess whether this presents a
genuine short setup or a potential "fake-out."

1. Immediate Price Action & Volatility:
- Range: The stock has traded between 241.21 and 264.48.
- Volatility: The ATR of 4.15 indicates moderate volatility.
[Generic bullets with no directional conviction and no bias change condition]

Fine-tuned model (score: 5.0/5)

This is a valid short setup, not a fake-out. The conflict between the
put/call ratio (0.44) and the RSI (67.3) is a classic divergence. A put/call
ratio of 0.44 indicates extreme bullish sentiment, while the RSI of 67.3
shows the asset is overbought. When the options market is this aggressively
bullish while price is consolidating and the MACD histogram is negative
(-5.988), it suggests that 'smart money' is positioning for a reversal.
Price is trading below all major EMAs: EMA_20 (259.78), EMA_50 (277.25).

Bias change condition: Short bias invalidated if price closes above EMA_20
(259.78) with a put/call ratio rising above 0.6.

META — API Parse (delta: +2.2)

Base model (score: 2.2/5)

Based on the provided data, the options flow indicates "mixed" unusual
activity. The put-call ratio is 0.71, suggesting a slight preference for
puts. A cautious approach is advised...
[No specific data references, no bias change condition stated]

Fine-tuned model (score: 4.4/5)

I cannot provide a directional call on the 1H chart because the data is
contradictory. The Put/Call ratio is 0.71 (bullish), yet the IV Rank is
extremely high at 86.6. An IV Rank this high indicates the market expects a
massive volatility move, but the Put/Call ratio suggests no conviction in a
specific direction.

Bias change condition: A directional call becomes possible if IV Rank drops
below 60 while the Put/Call ratio holds above 0.8, or if a clear break
occurs above/below the consolidation range with a volume ratio above 2.0.

Training details

ParameterValue
Base modelgoogle/gemma-3-4b-it
MethodQLoRA (4-bit NF4) + SFT → merged
Training samples2,269
LoRA rank16
LoRA alpha32
Target modulesq_proj, v_proj, k_proj, o_proj, gate_proj, up_proj, down_proj
Trainable parameters32,788,480 (0.76%)
Epochs3
Effective batch size16 (2 × 8 grad accum)
Learning rate2e-4 (cosine, 5% warmup)
Precisionbf16
HardwareAWS ml.g5.2xlarge (NVIDIA A10G 24 GB)
Frameworktransformers + trl + peft 0.19.1

Limitations

  • Trained primarily on crypto data — crypto task scores are highest (+1.32 delta). Stock/forex/commodities performance, while improved, may be less consistent on edge cases.
  • The model analyses data it is given — it has no live market access.
  • Not financial advice. All outputs are for research and educational purposes only.
  • Performance depends on the quality and completeness of the market data JSON provided as input.

Developed by

Ramailo Technologies

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Gemma3ForConditionalGeneration
Ревизия весов
dcd1f97

0 моделей