Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance compatibility with hf gemma2-2b-it #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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