Skip to content

DOC Fix incorrect LoRA references in hira and ln_tuning model docstrings#3291

Open
javierdejesusda wants to merge 1 commit into
huggingface:mainfrom
javierdejesusda:doc-fix-hira-lntuning-model-docstrings
Open

DOC Fix incorrect LoRA references in hira and ln_tuning model docstrings#3291
javierdejesusda wants to merge 1 commit into
huggingface:mainfrom
javierdejesusda:doc-fix-hira-lntuning-model-docstrings

Conversation

@javierdejesusda

Copy link
Copy Markdown
Contributor

Follow-up to #3254. The HiraModel and LNTuningModel docstrings still describe their config as "the Lora model", copied from lora/model.py. #3254 fixed this for adalora, boft, ia3, and xlora but missed these two.

  • hira/model.py: the docstring cross-referenced LoraConfig, but HiraModel is configured with HiraConfig. Updated both references to HiraConfig and the "Lora model" wording to "HiRA model".
  • ln_tuning/model.py: the LNTuningConfig references were already correct, only the "Lora model" wording needed fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant