Downloads · 30 days
77
39% of all-time downloads
gaparecido/apertus-8b-financial-reasoner-v2
apertus-8b-financial-reasoner-v2 is a text generation model from gaparecido. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tune of swiss-ai/Apertus-8B-Instruct-2509 for two-stage financial analysis of a stock ticker:
Downloads · 30 days
77
39% of all-time downloads
All-time downloads
196
Public
Repo size
177 MB
Likes
4
Public
Click a slice to open those files.
.safetensors159 MB · 90%
From the Hugging Face model README
A fine-tune of swiss-ai/Apertus-8B-Instruct-2509 for two-stage financial analysis of a stock ticker:
good, bad, neutral, overreaction_down, overreaction_up).Full merged checkpoint in bfloat16 (~16 GB, 4 safetensors shards). It is not pre-quantized — load it in 4-bit at runtime if you need to fit a small GPU:
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
"gaparecido/apertus-8b-financial-reasoner-v2",
max_seq_length=2048,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
model.config.use_cache = True
model.generation_config.use_cache = True
Serving notes
- Needs a bf16-capable GPU (L4 / A10G / A100 or better). Apertus is bf16-trained; in fp16 on a T4 the logits overflow to NaN and every generated token is <unk>.
- The upstream Apertus config ships use_cache: false and this repo has no generation_config.json to override it, so pin use_cache=True (as above) or generation recomputes attention over the full sequence per token.
- The CUDA-fused xIELU not available warning is harmless — the Python fallback costs ~10% throughput.
Training
Trained with Unsloth (https://github.com/unslothai/unsloth) (QLoRA, 4-bit) and Hugging Face TRL, loaded from Unsloth's unsloth/apertus-8b-instruct-2509-unsloth-bnb-4bit mirror of the base model, on an NVIDIA L4.