Instructions to use chickenpwny/htmljavahelper-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chickenpwny/htmljavahelper-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3b-code-instruct") model = PeftModel.from_pretrained(base_model, "chickenpwny/htmljavahelper-lora") - Notebooks
- Google Colab
- Kaggle
File size: 695 Bytes
7cb7297 50dd561 7cb7297 50dd561 7cb7297 50dd561 7cb7297 50dd561 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ---
base_model: ibm-granite/granite-3b-code-instruct
library_name: peft
license: apache-2.0
tags: [lora, dpo, peft]
---
# htmljavahelper-lora
LoRA adapter for `ibm-granite/granite-3b-code-instruct`, trained with DPO (`train_htmljavahelper.py`) on preference pairs for generating short HTML/JavaScript entities.
- **Base model:** ibm-granite/granite-3b-code-instruct (not included; load it separately)
- **Training script:** train_htmljavahelper.py
- **Training data:** preference pairs generated by rl_html_guesser.py (rl_data/preferences.jsonl). This file is not currently available, so the run cannot be reproduced from this repo.
- **Status:** private. Evaluation results are not recorded.
|