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
|
Download README.md from chickenpwny/htmljavahelper-lora: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/chickenpwny/htmljavahelper-lora/resolve/main/README.md
- Command line
-
hf download hf://chickenpwny/htmljavahelper-lora/README.md
-
curl -L -o README.md https://huggingface.co/chickenpwny/htmljavahelper-lora/resolve/main/README.md
695 Bytes
| 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. | |