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

Ollama Functionality Added #179

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

DaveSkittles
Copy link

@DaveSkittles DaveSkittles commented Mar 16, 2025

Summary

This PR adds functionality for using Ollama with the huihui_ai/qwen2.5-1m-abliterated:14b model. It includes necessary changes to various configuration files and updates documentation accordingly.

Changes

  • Integrated Ollama with the specified model.
  • Updated pyproject.toml, models.py, llm.py, and .env.example to support the new functionality.
  • Updated the README and .env.example with relevant information about the Ollama setup.

To-Do

  • Alter title line for README to public repo
  • (optional) add additional ollama models into models.py by deafult
  • Needs testing on a fresh clone/machine to confirm everything works properly for PR purposes.

This setup provides a more cost-effective alternative to using my Anthropic API key.

…terated:14b.

- Added stuff into pyproject.toml, models.py, llm.py, and .env.example related to it.

- Need to test that this works from a fresh clone/fresh machine for PR purposes, but it's a cheaper way to test stuff out than my Anthropic key!
@DaveSkittles DaveSkittles changed the title Dave dev Ollama Functionality Added Mar 16, 2025
@DaveSkittles DaveSkittles reopened this Mar 16, 2025
…ry fun!

- Dramatically overhauled portfolio manager to handle repeated runs on the same portfolio. Now it's fed prior transaction history and has overtrading protection rules. Definitely still needs more testing, though.

- Code to accomodate alpaca is in backtester but I haven't tested it much. Likely needs attention.

- Updated readme a bit.
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