Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 757b220

Browse files
authoredApr 19, 2024··
updated model aliases
1 parent 5fd118f commit 757b220

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎g4f/Provider/Llama.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ class Llama(AsyncGeneratorProvider, ProviderModelMixin):
1111
url = "https://www.llama2.ai"
1212
working = True
1313
supports_message_history = True
14-
default_model = "meta/llama-3-70b-chat"
14+
default_model = "meta/llama-2-70b-chat"
1515
models = [
1616
"meta/llama-2-7b-chat",
1717
"meta/llama-2-13b-chat",
1818
"meta/llama-2-70b-chat",
19-
"meta/llama-3-8b-chat",
20-
"meta/llama-3-70b-chat",
19+
"meta/meta-llama-3-8b-instruct",
20+
"meta/meta-llama-3-70b-instruct",
2121
]
2222
model_aliases = {
23-
"meta-llama/Meta-Llama-3-8b": "meta/llama-3-8b-chat",
24-
"meta-llama/Meta-Llama-3-70b": "meta/llama-3-70b-chat",
23+
"meta-llama/Meta-Llama-3-8b": "meta/meta-llama-3-8b-instruct",
24+
"meta-llama/Meta-Llama-3-70b": "meta/meta-llama-3-70b-instruct",
2525
"meta-llama/Llama-2-7b-chat-hf": "meta/llama-2-7b-chat",
2626
"meta-llama/Llama-2-13b-chat-hf": "meta/llama-2-13b-chat",
2727
"meta-llama/Llama-2-70b-chat-hf": "meta/llama-2-70b-chat",

‎g4f/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ def __all__() -> list[str]:
133133
)
134134

135135
llama3_8b = Model(
136-
name = "meta-llama/Meta-Llama-3-8b",
136+
name = "meta-llama/Meta-Llama-3-8b-Instruct",
137137
base_provider = "meta",
138138
best_provider = RetryProvider([Llama])
139139
)
140140

141141
llama3_70b = Model(
142-
name = "meta-llama/Meta-Llama-3-70b",
142+
name = "meta-llama/Meta-Llama-3-70b-Instruct",
143143
base_provider = "meta",
144144
best_provider = RetryProvider([Llama, HuggingChat])
145145
)

0 commit comments

Comments
 (0)