Fine-tuned from
Qwen3-8B to perform belief-tree
generation for the
BTProp fact-checking
pipeline. Distilled from Qwen3.5-397B (≈50× larger) trajectories on 9 fact-checking
datasets so the BTProp tree-gen stage no longer needs a 397B teacher at inference time.
Headline weighted-AVG AUROC on the 10–15 % held-out test slice (the FT model never saw
these examples during training), under the BTProp downstream stack (Q3-8B conf model +
BM25 + Dense FAISS + MCP retrieval), with HMM emission tables tuned globally on the
NEW table:
The FT model recovers and exceeds the Q3-8B baseline across every method while using
the same parameter budget — i.e. the SFT successfully distills the Q3.5 tree-gen
behavior into Q3-8B. See
the full comparison
for all 9 datasets × 4 metrics × 6 methods × 2 scopes.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_id = "RyanFoxW/Qwen3-8B-BTProp-mainmod1verify-SFT"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True,
8)
9# Then use the BTProp prompts from github.com/BENGAL-UCSB/BTProp
1vllm serve RyanFoxW/Qwen3-8B-BTProp-mainmod1verify-SFT \
2 --served-model-name qwen3.5-397b-a17b \
3 --tensor-parallel-size 1 --data-parallel-size 8 \
4 --dtype bfloat16 --max-model-len 12288 \
5 --gpu-memory-utilization 0.40 --enable-prefix-caching \
6 --trust-remote-code --host 127.0.0.1 --port 9003
7
8# Then run the BTProp pipeline:
9QWEN35_BASE_URL=http://127.0.0.1:9003/v1 \
10QWEN35_MODEL_NAME=qwen3.5-397b-a17b \
11 bash experiments/run_main_modified1_verify_p5.sh
1@article{hou2024probabilistic,
2 title = {A Probabilistic Framework for LLM Hallucination Detection via Belief Tree Propagation},
3 author = {Hou, Bairu and Zhang, Yang and Andreas, Jacob and Chang, Shiyu},
4 journal= {arXiv preprint arXiv:2406.06950},
5 year = {2024}
6}