You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need better documentation for locally trained LLMs. I am experimenting with finetunes and LoRA adapters but I am having a bad time ironing out the required values for the yaml config.
Solution/Feature
Provide working examples for adapter configurations.
Possible alternatives
Make the library more coherent? --override-batch-size no longer works but it is still available under lighteval accelerate.
model: # Model specific parametersbase_params:
model_args: "pretrained=HuggingFaceTB/SmolLM-1.7B,revision=main,dtype=bfloat16"# Model args that you would pass in the command linegeneration: # Generation specific parameterstemperature: 0.3repetition_penalty: 1.0frequency_penalty: 0.0presence_penalty: 0.0seed: 42top_k: 0min_p: 0.0top_p: 0.9
Hey ! Thanks for raising this issue, the --overide-batch-size issue should be fixed.
For adding more doc for adapter models can you provide me with an example model (and base model) on the hub you would like to see work ?
Thank you for the prompt reply and I'm sorry this got buried in the emails.
I am using a custom model that I finetuned. Uhh, but you could test it out with any PEFT model. I might release the model in the coming weeks - if I do I will post it here for good measure.
@ashim-mahara unfirtunatly i don't have the bandwidth right now.
To make it wor youwould need to install from main and edit this and here too part of the code:
Hi! I'm interested in contributing to #682. I noticed #1301 already addresses the PEFT adapter configuration and tests, so I don't want to duplicate that work.
I'd be happy to test the existing PR and add a beginner-friendly documentation walkthrough covering the model/adapter YAML configuration, installation, evaluation command, and troubleshooting.
Would a separate documentation PR be useful, or should I focus on validating #1301 first?
Activity
NathanHB commentedon Apr 23, 2025
Hey ! Thanks for raising this issue, the
--overide-batch-sizeissue should be fixed.For adding more doc for adapter models can you provide me with an example model (and base model) on the hub you would like to see work ?
sciarrilli commentedon Apr 29, 2025
+1 to this. The examples for model_config from the github examples folder are not working
sciarrilli commentedon Apr 29, 2025
@NathanHB it seems like none of these examples are following the correct yaml structure.
I see a different structure in the docs:
ashim-mahara commentedon Apr 30, 2025
Thank you for the prompt reply and I'm sorry this got buried in the emails.
I am using a custom model that I finetuned. Uhh, but you could test it out with any PEFT model. I might release the model in the coming weeks - if I do I will post it here for good measure.
NathanHB commentedon Apr 30, 2025
@sciarrilli yes because there is a missmatch between main and latest release, you would need to install from main to be able to use the examples
NathanHB commentedon Apr 30, 2025
@ashim-mahara unfirtunatly i don't have the bandwidth right now.
To make it wor youwould need to install from main and edit this and here too part of the code:
If you open a PR will be happy to review :)
abbigupta commentedon Nov 23, 2026
Hi! I'm interested in contributing to #682. I noticed #1301 already addresses the PEFT adapter configuration and tests, so I don't want to duplicate that work.
I'd be happy to test the existing PR and add a beginner-friendly documentation walkthrough covering the model/adapter YAML configuration, installation, evaluation command, and troubleshooting.
Would a separate documentation PR be useful, or should I focus on validating #1301 first?