Run this model with HF Jobs

Run DecisionIntelligence/HORAI on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/DecisionIntelligence/HORAI. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/DecisionIntelligence/HORAI on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

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
26
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