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

[Demos] Adding OctoAI API Examples (Hosted Llama solution) #379

Merged
merged 36 commits into from
Feb 27, 2024

Conversation

tmoreau89
Copy link
Contributor

What does this PR do?

OctoAI provides hosted models for Llama2, LlamaGuard, CodeLlama, and embedding models among many other open source models.

This PR introduces demo examples that are ports of existing notebooks that originally used a mix of Replicate hosted Llama2, Huggingface-based Embedding model, and Anyscale hosted Llama-Guard. As a substitute, we're using OctoAI to host the Llama models and Embedding models, thus simplifying the demos and notebooks.

Note also that the RAG example originally relied on hosting Llama locally; now we're just relying on OctoAI here to host the Llama model.

Feature/Issue validation/testing

All python notebooks were run on a Macbook M1 laptop successfully.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Thanks for contributing 🎉!

@HamidShojanazeri
Copy link
Contributor

HamidShojanazeri commented Feb 26, 2024

Thanks @tmoreau89 for the PR! LGTM, shall we add an update in README to mention, the support for OctoAI APIs as well?

@HamidShojanazeri HamidShojanazeri self-requested a review February 26, 2024 18:29
@tmoreau89
Copy link
Contributor Author

Sure, I can make that change, thanks @HamidShojanazeri

@tmoreau89
Copy link
Contributor Author

@HamidShojanazeri updated the docs PTAL, thank you!

Copy link
Contributor

@HamidShojanazeri HamidShojanazeri left a comment

Choose a reason for hiding this comment

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

Thanks @tmoreau89!

@HamidShojanazeri HamidShojanazeri merged commit 1c7b49f into meta-llama:main Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants