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

Add Llama 3 support #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@
# default_chat_config,
# ),
],
"Llama 3": [
ModelConfig(
ModelBackendConfig(repository="meta-llama/Meta-Llama-3-70B", aliases=["meta-llama/Meta-Llama-3-70B"]),
ModelFrontendConfig(
name="META LLAMA 3 (70B)",
Copy link

Choose a reason for hiding this comment

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

Suggested change
name="META LLAMA 3 (70B)",
name="Llama 3 (70B)",

model_card="https://huggingface.co/meta-llama/Meta-Llama-3-70B",
license="https://huggingface.co/meta-llama/Meta-Llama-3-70B/blob/main/LICENSE",
),
default_chat_config,
),
# ModelConfig(
# ModelBackendConfig(repository="meta-llama/Meta-Llama-3-70B-Instruct"),
# ModelFrontendConfig(
# name="Llama 3 (70B-Instruct)",
# model_card="https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct",
# license="https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct/blob/main/LICENSE",
# ),
# default_chat_config,
# ),
Comment on lines +45 to +53
Copy link

Choose a reason for hiding this comment

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

Can you put Llama 3-Instruct as a supported model as well? I figure it would be more useful for the chat case

],
# "Falcon": [
# ModelConfig(
# ModelBackendConfig(repository="tiiuae/falcon-180B-chat", public_api=False),
Expand Down