HORAI

HORAI forecasts time series from a historical window, text context, and images. This repository contains the model weights and code, the Qwen tokenizer files in qwen/, and the InternVL vision encoder code and configuration in vit/.

Model repository on Hugging Face DecisionIntelligence/HORAI.

Load the model

Install PyTorch and torchvision for your platform, then install the model dependencies. PyTorch installation

python -m pip install 'transformers==4.49.0' 'peft==0.14.0' safetensors timm einops

Download the full repository so the weights, vision assets, and tokenizer are available together. For a local checkout of this model repository, use its directory as model_dir. Download a repository snapshot

from pathlib import Path

from huggingface_hub import snapshot_download
from transformers import AutoModelForCausalLM, AutoTokenizer

model_dir = Path(snapshot_download("DecisionIntelligence/HORAI"))
model = AutoModelForCausalLM.from_pretrained(
    model_dir, trust_remote_code=True, local_files_only=True
).eval()
tokenizer = AutoTokenizer.from_pretrained(
    model_dir / "qwen", local_files_only=True
)

When using the HORAI experiment scripts, pass the local model directory as --model_path.

Downloads last month
-
Safetensors
Model size
1.0B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support