summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authortony <tony@zuzuche.com>2023-09-20 05:23:04 +0200
committertony <tony@zuzuche.com>2023-09-20 05:23:04 +0200
commit9ed50de6778ed891f4d258636deeb745dc01017e (patch)
tree09b32bcb234ed3b51a2734767a74bbc22ca3de55 /g4f
parentadd model config : gpt_35_turbo_0613 (diff)
downloadgpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar.gz
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar.bz2
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar.lz
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar.xz
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.tar.zst
gpt4free-9ed50de6778ed891f4d258636deeb745dc01017e.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/models.py70
1 files changed, 35 insertions, 35 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 3b5825ff..9198c433 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -134,7 +134,7 @@ gpt_35_turbo_0613 = Model(
name='openai:gpt-3.5-turbo-0613',
base_provider='openai',
best_provider=[
- Yqcloud, Aivvm,ChatgptLogin])
+ Yqcloud, Aivvm, ChatgptLogin])
gpt_35_turbo_16k_0613 = Model(
name='openai:gpt-3.5-turbo-16k-0613',
@@ -184,45 +184,45 @@ llama7b_v2_chat = Model(
class ModelUtils:
convert: dict[str, Model] = {
# GPT-3.5 / GPT-4
- 'gpt-3.5-turbo': gpt_35_turbo,
- 'gpt-4': gpt_4,
+ 'gpt-3.5-turbo': gpt_35_turbo,
+ 'gpt-4': gpt_4,
# Bard
- 'palm2': palm,
- 'palm': palm,
- 'google': palm,
- 'google-bard': palm,
- 'google-palm': palm,
- 'bard': palm,
+ 'palm2': palm,
+ 'palm': palm,
+ 'google': palm,
+ 'google-bard': palm,
+ 'google-palm': palm,
+ 'bard': palm,
# H2o
- 'falcon-40b': falcon_40b,
- 'falcon-7b': falcon_7b,
- 'llama-13b': llama_13b,
+ 'falcon-40b': falcon_40b,
+ 'falcon-7b': falcon_7b,
+ 'llama-13b': llama_13b,
# Vercel
- 'claude-instant-v1': claude_instant_v1,
- 'claude-v1': claude_v1,
- 'claude-v2': claude_v2,
- 'command-nightly': command_nightly,
- 'gpt-neox-20b': gpt_neox_20b,
- 'santacoder': santacoder,
- 'bloom': bloom,
- 'flan-t5-xxl': flan_t5_xxl,
- 'code-davinci-002': code_davinci_002,
- 'gpt-3.5-turbo-16k': gpt_35_turbo_16k,
- 'gpt-4-0613': gpt_4_0613,
- 'text-ada-001': text_ada_001,
- 'text-babbage-001': text_babbage_001,
- 'text-curie-001': text_curie_001,
- 'text-davinci-002': text_davinci_002,
- 'text-davinci-003': text_davinci_003,
- 'llama13b-v2-chat': llama13b_v2_chat,
- 'llama7b-v2-chat': llama7b_v2_chat,
-
- 'oasst-sft-1-pythia-12b': oasst_sft_1_pythia_12b,
+ 'claude-instant-v1': claude_instant_v1,
+ 'claude-v1': claude_v1,
+ 'claude-v2': claude_v2,
+ 'command-nightly': command_nightly,
+ 'gpt-neox-20b': gpt_neox_20b,
+ 'santacoder': santacoder,
+ 'bloom': bloom,
+ 'flan-t5-xxl': flan_t5_xxl,
+ 'code-davinci-002': code_davinci_002,
+ 'gpt-3.5-turbo-16k': gpt_35_turbo_16k,
+ 'gpt-4-0613': gpt_4_0613,
+ 'text-ada-001': text_ada_001,
+ 'text-babbage-001': text_babbage_001,
+ 'text-curie-001': text_curie_001,
+ 'text-davinci-002': text_davinci_002,
+ 'text-davinci-003': text_davinci_003,
+ 'llama13b-v2-chat': llama13b_v2_chat,
+ 'llama7b-v2-chat': llama7b_v2_chat,
+
+ 'oasst-sft-1-pythia-12b': oasst_sft_1_pythia_12b,
'oasst-sft-4-pythia-12b-epoch-3.5': oasst_sft_4_pythia_12b_epoch_35,
- 'command-light-nightly': command_light_nightly,
- 'gpt-3.5-turbo-16k-0613': gpt_35_turbo_16k_0613,
- 'gpt-3.5-turbo-0613': gpt_35_turbo_0613,
+ 'command-light-nightly': command_light_nightly,
+ 'gpt-3.5-turbo-16k-0613': gpt_35_turbo_16k_0613,
+ 'gpt-3.5-turbo-0613': gpt_35_turbo_0613,
}