For the full RAG pipeline and demo, see
cdenq/raddicl2-demo.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from huggingface_hub import snapshot_download
3
4# Download model files
5model_path = snapshot_download(repo_id="cdenq/raddicl2-demo-model")
6
7# Load tokenizer
8tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=True)
9
10# Load quantized model (quantization config is embedded in config.json)
11model = AutoModelForCausalLM.from_pretrained(
12 model_path,
13 device_map="auto",
14 trust_remote_code=True,
15)
This model is the generation component of the RADDICL 2.0 deception detection pipeline. Given a structured few-shot prompt (constructed by the RADDICL 2.0 RAG pipeline), it produces a classification label (deceptive / non-deceptive) and step-by-step reasoning.
It is not intended to be used as a standalone general-purpose chat model.
Developed by Christopher Denq and Dr. Rakesh Verma at the
ReDAS Lab, University of Houston.