Downloads · 30 days
9
3% of all-time downloads
javierdejesusda/yuholens-14b-GGUF
yuholens-14b-GGUF is a text generation model from javierdejesusda. Use it when you need the model to write or continue text. The card lists the license as other.
GGUF-quantized release of javierdejesusda/yuholens-14b for offline inference via llama.cpp. The BF16 source is a full-parameter SFT of pfnet/nekomata-14b-pfn-qfin (Qwen1, 14B, Japanese-finance CPT) on teacher-bootstra…
Downloads · 30 days
9
3% of all-time downloads
All-time downloads
271
Public
Repo size
55.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf55.2 GB · 100%
From the Hugging Face model README
GGUF-quantized release of javierdejesusda/yuholens-14b for offline inference via llama.cpp. The BF16 source is a full-parameter SFT of pfnet/nekomata-14b-pfn-qfin (Qwen1, 14B, Japanese-finance CPT) on teacher-bootstrapped English investor memos derived from SakanaAI/EDINET-Bench.
| File | Quant | Size | Bits/weight | Recommended hardware |
|---|---|---|---|---|
yuholens-14b-Q3_K_M.gguf | Q3_K_M | 7.18 GB | 4.35 | 8 GB GPU (RTX 4070 Laptop, 3060 Ti) — fits with --ctx-size 2048 |
yuholens-14b-Q4_K_M.gguf | Q4_K_M | 8.81 GB | ~5.0 | 12-16 GB GPU (RTX 4060 Ti 16 GB, RTX 3080) |
yuholens-14b-Q5_K_M.gguf | Q5_K_M | 9.94 GB | ~5.7 | 16 GB GPU |
yuholens-14b-Q6_K.gguf | Q6_K | 11.46 GB | ~6.6 | 16-24 GB GPU |
yuholens-14b-Q8_0.gguf | Q8_0 | 14.03 GB | 8.5 | 24 GB GPU or CPU offload |
Sizes are the actual on-disk byte counts; quoted GB values use 1024³.
The Q3_K_M quant has been smoke-tested on an NVIDIA RTX 4070 Laptop (8 GB VRAM, compute 8.9) using llama-completion from llama.cpp build b8966.
--n-gpu-layers 99 -c 2048 --temp 0.1 --top-p 0.9 --repeat-penalty 1.15.Q4_K_M and larger quants exceed 8 GB VRAM and require either a 12 GB+ GPU or partial CPU offload (--n-gpu-layers < 99).
# Q3_K_M, fits 8 GB GPU
llama-completion \
-m yuholens-14b-Q3_K_M.gguf \
-f your_prompt.txt \
--n-gpu-layers 99 \
-c 2048 \
--temp 0.1 --top-p 0.9 --repeat-penalty 1.15 \
-n 512 \
--no-display-prompt
For larger quants on a smaller GPU, drop --n-gpu-layers to a value that fits VRAM (e.g. --n-gpu-layers 30 for Q4_K_M on 8 GB).
YuhoLens-14B was fine-tuned on Qwen1 ChatML with a fixed system prompt. Raw Japanese Yuho text without the wrapper produces Japanese continuations instead of English memos. Wrap inputs as:
<|im_start|>system
{SYSTEM_PROMPT}<|im_end|>
<|im_start|>user
Company metadata (JSON):
{...}
Balance sheet (JSON):
{...}
P&L (JSON):
{...}
Cash flow (JSON):
{...}
Japanese annual-report text (truncated at ~20K chars):
<<<
{Japanese Yuho text}
>>>
Produce the two-page English investor memo now.<|im_end|>
<|im_start|>assistant
The full system prompt is published in the BF16 model card and in src/yuholens/training/teacher.py of the GitHub repo. A pre-formatted smoke fixture is included in the GitHub repo at data/sample/smoke_prompt_chatml.txt.
Source checkpoint: output/yuholens-14b-sft/checkpoint-212 (28.3 GB BF16 safetensors), tagged at git commit f903174.
Built with:
llama.cpp commit b8966 (7b8443ac7), Windows CUDA 12.4 prebuilt binaries.convert_hf_to_gguf.py patched locally to fall back to an inline GPT-2 byte-to-unicode mapping when transformers ≥ 5.x removes bytes_to_unicode. See the GitHub repo for the patch.llama-quantize invoked with --override-kv qwen.attention.layer_norm_rms_epsilon=float:0.000001 because Qwen1 uses RMSNorm internally but its HF config exposes the field as layer_norm_epsilon; this override is now baked into scripts/build_gguf.sh.Reproduce locally:
LLAMACPP_REPO=/path/to/llama.cpp \
LLAMACPP_BIN=/path/to/llama.cpp/build/bin \
scripts/build_gguf.sh output/yuholens-14b-sft/checkpoint-212 data/eval/gguf
(ref: '<span>' p.N) citations, but verbatim-correctness against the underlying Yuho text has not been audited.Released under the Tongyi Qianwen License inherited from the Qwen1 base via pfnet/nekomata-14b-pfn-qfin. See the linked license for terms. Wrapper code in the GitHub repo (LangGraph pipeline, training and evaluation scripts, prompt modules) is MIT.
@misc{dejesus2026yuholens,
author = {De Jesus, Javier},
title = {YuhoLens-14B: A Japanese-Finance Fine-Tune for
Span-Grounded Investor Memo Generation},
year = {2026},
howpublished = {Hugging Face model repository},
url = {https://huggingface.co/javierdejesusda/yuholens-14b},
note = {DOI: TBD}
}