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

Bsweger/labmeeting organization #1

Merged
merged 11 commits into from Mar 18, 2024
Merged

Conversation

bsweger
Copy link
Collaborator

@bsweger bsweger commented Mar 15, 2024

This PR attempts to organize the Reich Lab's fork of llmtime for easier collaboration between lab meeting breakout groups.

The first few commits are a result of syncing our fork with the upstream llmtime repo.
After that, there are a series of commits to address the installation pain points we encountered, a bugfix, and an optional way to load environment variables from an .env file instead of from dotfiles like .zshrc and .bashrc.

Lastly, there's a new demo_openai.py file that's a non-notebook version of demo.ipynb for us to work from.

It's probably easiest to review this one commit-by-commit.

Bouzid MEDJDOUB and others added 11 commits January 27, 2024 22:48
Added latest gpt models, mistral local and mistral api
In some shells (e.g., zsh), the bracket syntax throws an error
without the quotes.
Although demo.ipynb seems to be an older version of the example code in demo.py,
let's fix up the model list so it won't throw errors when people run it.
- text-davinci-003 is deprecated, and OpenAI recommends gpt-3.5-turbo-instruct instead
- team's OpenAI account doesn't have access to gpt-4
Make sure 'parallel' is always in **kwargs and don't pass it in
explicitly when calling generate_predictions.
Referencing this iPython extension can cause errors for people
running the Jupyter notebook for the first time (some IDEs
are smart enough to prompt for an install, but some are not). Because
%autoreload isn't really useful for someone running a demo, let's
remove it.
This is an optional convenience for people who don't want to
store secrets in dotfiles such as .zshrc or .bashrc (or are
having trouble doint so).
demo_openai.py is a copy of demo.ipynb, since it will be easier for
lab meeting to collaborate outside of a notebook environment.
@bsweger bsweger requested a review from nickreich March 15, 2024 20:35
Copy link
Member

@nickreich nickreich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked this over carefully, commit by commit, and all the changes in bulk. I did not try to run any of the code locally. I don't have any suggested changes.

@bsweger bsweger merged commit a8bef8d into main Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants