gowthamrang commited on
Commit
a585c89
·
verified ·
1 Parent(s): bc2522f

Model card: name EvidenceGuard

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -14,9 +14,9 @@ tags:
14
  - consistency
15
  ---
16
 
17
- # EvidenceGuard Qwen 3.8 27B LoRA
18
 
19
- A LoRA adapter for [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) that answers multiple-choice questions
20
  strictly from a supplied context, and says "insufficient information" when the context does not decide the answer.
21
 
22
  It was trained on EvidenceGuard decision groups. Each group is a base question plus controlled variants: paraphrases,
@@ -49,7 +49,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
49
  base = "Qwen/Qwen3.8-27B"
50
  tok = AutoTokenizer.from_pretrained(base)
51
  model = AutoModelForCausalLM.from_pretrained(base, torch_dtype=torch.bfloat16, device_map="auto")
52
- model = PeftModel.from_pretrained(model, "EvidenceGuard-Experiments/evidenceguard-qwen3.8-27b-lora").eval()
53
 
54
  SYSTEM = ("You answer multiple-choice questions strictly from the given context. If the context does not contain "
55
  "enough information to decide, choose the option that says so when one is offered. Reply with the letter only.")
 
14
  - consistency
15
  ---
16
 
17
+ # EvidenceGuard
18
 
19
+ A model (LoRA adapter on [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B)) that answers multiple-choice questions
20
  strictly from a supplied context, and says "insufficient information" when the context does not decide the answer.
21
 
22
  It was trained on EvidenceGuard decision groups. Each group is a base question plus controlled variants: paraphrases,
 
49
  base = "Qwen/Qwen3.8-27B"
50
  tok = AutoTokenizer.from_pretrained(base)
51
  model = AutoModelForCausalLM.from_pretrained(base, torch_dtype=torch.bfloat16, device_map="auto")
52
+ model = PeftModel.from_pretrained(model, "EvidenceGuard-Experiments/evidenceguard").eval()
53
 
54
  SYSTEM = ("You answer multiple-choice questions strictly from the given context. If the context does not contain "
55
  "enough information to decide, choose the option that says so when one is offered. Reply with the letter only.")