Views
No views yet
| File | Size | Description |
|---|---|---|
model.onnx | ~2.8 MB | ONNX model graph |
model.onnx.data | ~598 MB | Model weights (external data) |
tokenizer.json | ~3.6 MB | HuggingFace tokenizer |
tokenizer_config.json | ~350 B | Tokenizer config |
mix arcana.ground.setuppriv/models/lettucedect/ and configures them for use with Arcana.Agent.ground/2.1from lettucedetect.models.inference import HallucinationDetector
2import onnx
3
4detector = HallucinationDetector(
5 method="transformer",
6 model_path="KRLabsOrg/lettucedect-base-modernbert-en-v1"
7)
8
9# export via torch
10import torch
11torch.onnx.export(detector.model, ..., "model.onnx", opset_version=14)scripts/export_lettuce_onnx.py in the Arcana repo for the full export script.1@misc{Kovacs:2025,
2 title={LettuceDetect: A Hallucination Detection Framework for RAG Applications},
3 author={Ádám Kovács and Gábor Recski},
4 year={2025},
5 eprint={2502.17125},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8}