AGI-Edgerunners / LLM-Adapters

Code for our EMNLP 2023 Paper: "LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models"
https://arxiv.org/abs/2304.01933
Apache License 2.0
1.05k stars 99 forks source link

unexpected content in prompt #4

Open HillZhang1999 opened 1 year ago

HillZhang1999 commented 1 year ago

I found some unexpected contents when generating prompts, e.g., `` # noqa: E501'', please refer to: https://github.com/AGI-Edgerunners/LLM-Adapters/blob/main/generate.py#L169

I think this may be a bug?

HZQ950419 commented 1 year ago

Thanks! # noqa: E501 should not appear in the prompt. We have updated the code.