Skip to content

Conversation

okanyenigun
Copy link

I have modified the preprocess_code function in lida/components/executor.py to address indentation issues related to the "import" and "def" keywords. This adjustment enhances LIDA's compatibility with smaller language models, such as Gemma-2 2B, which previously encountered errors due to these formatting inconsistencies.

By implementing these small changes, I successfully integrated LIDA into my project that utilizes smaller LLMs. This contribution aims to broaden LIDA's applicability across diverse LLM environments.

I am eager to continue contributing to LIDA, focusing on further optimizations for smaller models and exploring potential compatibility with platforms like Ollama. I look forward to feedback from the maintainers and the opportunity to collaborate on enhancing LIDA's versatility.

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