Lightweight LoRA adapter for reformatting LDIF (LDAP Data Interchange Format) file comments.
Internal tool for standardizing comment blocks in LDAP directory migration scripts. Converts between different LDIF comment styles while preserving attribute values and DN entries.
Fine-tuned on synthetic LDIF comment examples. Not intended for general text generation.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B-Instruct")
5model = PeftModel.from_pretrained(base, "your-username/instruct-style-transfer-upload")
Same as base model.