-
Notifications
You must be signed in to change notification settings - Fork 2
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
Gemini Integration #29
base: develop
Are you sure you want to change the base?
Gemini Integration #29
Conversation
I have fixed the necessary conflicts you can now approve merge on the develop branch. Thanks! |
extractor.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this file?
logllm/log_llm.py
Outdated
|
||
def init_wandb(project_name): | ||
wandb.init(project=project_name, settings=wandb.Settings(_disable_stats=True)) | ||
|
||
def extract_experimental_conditions(code): | ||
def extract_experimental_conditions_gemini(code): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you do not have to make two functions, you can have one function where you use if branch to switch openai and gemini
{{ | ||
"method":"str", | ||
"dataset":"str", | ||
"task":"str", | ||
"accuracy":"", | ||
"other_param_here":{ | ||
"other_param_here":"", | ||
"other_param_here":"", | ||
}, | ||
"other_param_here":"", | ||
... | ||
"condition_as_natural_langauge":["Small dataset."], | ||
"advice_to_improve_acc":["Use bigger dataset.","Use more simple model."] | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSON is not necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please check on the suggestions I made on the issues post.
logllm/query.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an implementing feature, we can ignore for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should at least make it more clear what role intended for that query function on the logllm.
setup.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may not need to change this file
Changed the generative model to Gemini
Changed the
setup
configurationChanged the
test_logger
compatible to the gemini modelAdjusted the
query.py
file for gemini model