CoolFace
Modelpublic

cs-file-uploads/domain-specific-adapter

sourceHugging Facegemmaupdated 4mo agoView on Hugging Face
0likes9downloads
Model Card

Domain-Specific IE Adapter — Gemma 3 27B (long instruction)

LoRA adapter for google/gemma-3-27b-it fine-tuned to extract compensation-consultant mentions from SEC proxy statements (DEF 14A), classifying each firm as:

  • RET — consultant retained/engaged as a compensation advisor
  • SURV — survey-only data provider (not retained as an advisor)

Companion artifact for the anonymous submission "From Lengthy Narrative to Structured Data: Instruction Fine-Tuning Open-Weight LLMs for Information Extraction from Corporate Disclosures."

This adapter

Base modelgoogle/gemma-3-27b-it
MethodLoRA (r=8, α=16), 4-bit QLoRA
Instruction formatdetailed (long)
Instance-level F195.9%

Each adapter is trained for one instruction variant — pair this adapter with the long prompt at inference.

Adapter family (same task, 2,001-sample training set)

AdapterBaseInstructionF1
domain-specific-adapterGemma 3 27Bdetailed (long)95.9%
domain-specific-adapter-shortGemma 3 27Bminimal (short)96.1%
domain-specific-12b-adapterGemma 3 12Bdetailed (long)95.7%
domain-specific-12b-adapter-shortGemma 3 12Bminimal (short)93.0%

Evaluated on 316 consultants across 143 company-years from 84 SEC filings.

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base = "google/gemma-3-27b-it"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto", load_in_4bit=True)
model = PeftModel.from_pretrained(model, "cs-file-uploads/domain-specific-adapter")

See the code repository for the full inference pipeline (retrieval → chunking → extraction → grounding validation → cross-chunk aggregation) and the exact prompt templates.

Output format

{RET: 'Pearl Meyer & Partners, LLC'}, {SURV: 'Mercer', 'Radford'}

Training

2,001 human-labeled and augmented proxy-statement excerpts; LR 2e-4 (cosine, 3% warmup); max sequence length 5,120; 3 epochs; 20% validation split.

License

Derived from Google Gemma 3; use is subject to the Gemma Terms of Use. Adapter weights are released for research use.

Citation

bibtex
@misc{anonymous2026fromlengthy,
  title={From Lengthy Narrative to Structured Data: Instruction Fine-Tuning Open-Weight LLMs for Information Extraction from Corporate Disclosures},
  author={Anonymous},
  year={2026},
  note={Under review}
}