Spaces:
Running
Running
|
Download README.md from Kurtobe/kronos-filter: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/spaces/Kurtobe/kronos-filter/resolve/main/README.md
- Command line
-
hf download hf://spaces/Kurtobe/kronos-filter/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Kurtobe/kronos-filter/resolve/main/README.md
1.68 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: Kronos Filter
emoji: π
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 4.44.0
python_version: '3.10'
app_file: app.py
pinned: false
license: mit
short_description: Probabilistic stock forecasting with Kronos
Kronos Filter β Probability API
Remote compute backend for kronos-filter.vercel.app.
This Space wraps the Kronos foundation model into a REST API that returns probabilistic stock forecasts.
Usage
Via UI (this page)
Fill in tickers and parameters below, click "Predict".
Via API
from gradio_client import Client
client = Client("Kurtobe/kronos-filter")
result = client.predict(
tickers_raw="MSFT, NVDA, AAPL",
lookback=400,
pred_len=30,
samples=30,
seed=42,
api_name="/predict"
)
Or via HTTP (two-step):
# Step 1: submit
curl -X POST https://kurtobe-kronos-filter.hf.space/call/predict \
-H "Content-Type: application/json" \
-d '{"data": ["MSFT,NVDA", 400, 30, 30, 42]}'
# β { "event_id": "..." }
# Step 2: stream
curl https://kurtobe-kronos-filter.hf.space/call/predict/{event_id}
Model
- Kronos-small (24.7M params, 512 context)
- Tokenizer: Kronos-Tokenizer-base
- Runs on ZeroGPU (A10G, dynamically allocated per request)
- Typical inference: 5-15 seconds for 3-10 tickers Γ 30 samples
- First request cold-start: ~15s (model load onto GPU)
- Free HF account daily quota: ~5-10 GPU-minutes
Disclaimer
Not financial advice. The returned probabilities are model-subjective β the internal distribution of Kronos's sampled paths β not real-world probabilities.