-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Deploy the large model locally #92
Comments
usage: launch_scientist.py [-h] [--skip-idea-generation] [--skip-novelty-check] [--experiment EXPERIMENT] |
If you use Ollama, you can modify the existing OpenAI API code like so: https://ollama.com/blog/openai-compatibility |
So I'm just going to change the way the API of Ollama is invoked from the API of launch_scientist.py?
So Do I need to replace the OPENAI API calls in the code with the ollama API calls? Replace the way all models are called? |
I have modified the code, but has not been shown to support, would like to ask how to modify. error:/home/pc/anaconda3/envs/AI-scientist/bin/python /media/iplab/tony/lmj/bigmodol/AI-scientist/AI-Scientist/01launch_scientist.py Generating idea 1/50 Generating idea 2/50 Generating idea 3/50 Generating idea 4/50 Generating idea 5/50 Generating idea 6/50 Generating idea 7/50 Generating idea 8/50 Generating idea 9/50 Generating idea 10/50 Generating idea 11/50 Generating idea 12/50 Generating idea 13/50 Generating idea 14/50 Generating idea 15/50 Generating idea 16/50 Generating idea 17/50 Generating idea 18/50 Generating idea 19/50 Generating idea 20/50 Generating idea 21/50 Generating idea 22/50 Generating idea 23/50 Generating idea 24/50 Generating idea 25/50 Generating idea 26/50 Generating idea 27/50 Generating idea 28/50 Generating idea 29/50 Generating idea 30/50 Generating idea 31/50 Generating idea 32/50 Generating idea 33/50 Generating idea 34/50 Generating idea 35/50 Generating idea 36/50 Generating idea 37/50 Generating idea 38/50 Generating idea 39/50 Generating idea 40/50 Generating idea 41/50 Generating idea 42/50 Generating idea 43/50 Generating idea 44/50 Generating idea 45/50 Generating idea 46/50 Generating idea 47/50 Generating idea 48/50 Generating idea 49/50 Generating idea 50/50 Checking novelty of idea 0: adaptive_block_size Checking novelty of idea 1: layerwise_learning_rates Process finished with exit code 0 |
You should comment out try except so that the real errors show up. Also, we highly do not advise you try using Llama2 models, any model weaker than the original GPT-4 will fail. |
Suppose I want to use the open source large model, what parameters and files do I need to set. I am now using ollama local deployment qwen2.
The text was updated successfully, but these errors were encountered: