summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Llama2.py
diff options
context:
space:
mode:
authorPD <56485898+pratham-darooka@users.noreply.github.com>2024-04-19 09:27:33 +0200
committerGitHub <noreply@github.com>2024-04-19 09:27:33 +0200
commit5fd118f3c9d3d3a932695a3b413d8926d8ad58c0 (patch)
treee9e13603587cea196e672ff32453ea0936ed1a8c /g4f/Provider/Llama2.py
parentMerge pull request #1854 from hlohaus/nem (diff)
downloadgpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar.gz
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar.bz2
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar.lz
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar.xz
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.tar.zst
gpt4free-5fd118f3c9d3d3a932695a3b413d8926d8ad58c0.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Llama.py (renamed from g4f/Provider/Llama2.py)8
1 files changed, 6 insertions, 2 deletions
diff --git a/g4f/Provider/Llama2.py b/g4f/Provider/Llama.py
index 04b5aee0..4d19866e 100644
--- a/g4f/Provider/Llama2.py
+++ b/g4f/Provider/Llama.py
@@ -7,17 +7,21 @@ from ..requests.raise_for_status import raise_for_status
from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
-class Llama2(AsyncGeneratorProvider, ProviderModelMixin):
+class Llama(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://www.llama2.ai"
working = True
supports_message_history = True
- default_model = "meta/llama-2-70b-chat"
+ default_model = "meta/llama-3-70b-chat"
models = [
"meta/llama-2-7b-chat",
"meta/llama-2-13b-chat",
"meta/llama-2-70b-chat",
+ "meta/llama-3-8b-chat",
+ "meta/llama-3-70b-chat",
]
model_aliases = {
+ "meta-llama/Meta-Llama-3-8b": "meta/llama-3-8b-chat",
+ "meta-llama/Meta-Llama-3-70b": "meta/llama-3-70b-chat",
"meta-llama/Llama-2-7b-chat-hf": "meta/llama-2-7b-chat",
"meta-llama/Llama-2-13b-chat-hf": "meta/llama-2-13b-chat",
"meta-llama/Llama-2-70b-chat-hf": "meta/llama-2-70b-chat",