Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files- client/html/index.html +5 -0
- g4f/Provider/Providers/Chimera.py +3 -0
- g4f/models.py +20 -0
client/html/index.html
CHANGED
@@ -119,6 +119,11 @@
|
|
119 |
<option value="claude-2-100k">Claude-2-100k</option>
|
120 |
<option value="claude-instant-100k">Claude-Instant-100k</option>
|
121 |
</optgroup>
|
|
|
|
|
|
|
|
|
|
|
122 |
<optgroup label="IMAGE">
|
123 |
<option value="" disabled>Kandinsky (soon)</option>
|
124 |
</optgroup>
|
|
|
119 |
<option value="claude-2-100k">Claude-2-100k</option>
|
120 |
<option value="claude-instant-100k">Claude-Instant-100k</option>
|
121 |
</optgroup>
|
122 |
+
<optgroup label="LLAMA">
|
123 |
+
<option value="llama-2-7b-chat">llama-2-7b-chat</option>
|
124 |
+
<option value="llama-2-13b-chat">llama-2-13b-chat</option>
|
125 |
+
<option value="llama-2-70b-chat">llama-2-70b-chat</option>
|
126 |
+
</optgroup>
|
127 |
<optgroup label="IMAGE">
|
128 |
<option value="" disabled>Kandinsky (soon)</option>
|
129 |
</optgroup>
|
g4f/Provider/Providers/Chimera.py
CHANGED
@@ -26,6 +26,9 @@ model = [
|
|
26 |
'claude_instant',
|
27 |
'claude-instant-100k',
|
28 |
'claude-2-100k',
|
|
|
|
|
|
|
29 |
'sage'
|
30 |
]
|
31 |
|
|
|
26 |
'claude_instant',
|
27 |
'claude-instant-100k',
|
28 |
'claude-2-100k',
|
29 |
+
'llama-2-7b-chat'
|
30 |
+
'llama-2-13b-chat',
|
31 |
+
'llama-2-70b-chat',
|
32 |
'sage'
|
33 |
]
|
34 |
|
g4f/models.py
CHANGED
@@ -77,6 +77,22 @@ class Model:
|
|
77 |
base_provider: str = 'poe'
|
78 |
best_provider: Provider.Provider = Provider.Chimera
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
class ModelUtils:
|
82 |
convert: dict = {
|
@@ -95,5 +111,9 @@ class ModelUtils:
|
|
95 |
'claude-instant': Model.claude_instant,
|
96 |
'claude-2-100k': Model.claude_2_100k,
|
97 |
|
|
|
|
|
|
|
|
|
98 |
'sage': Model.sage,
|
99 |
}
|
|
|
77 |
base_provider: str = 'poe'
|
78 |
best_provider: Provider.Provider = Provider.Chimera
|
79 |
|
80 |
+
class llama_2_7b_chat:
|
81 |
+
name: str = 'llama-2-7b-chat'
|
82 |
+
base_provider: str = 'llama'
|
83 |
+
best_provider: Provider.Provider = Provider.Chimera
|
84 |
+
|
85 |
+
class llama_2_13b_chat:
|
86 |
+
name: str = 'llama-2-13b-chat'
|
87 |
+
base_provider: str = 'llama'
|
88 |
+
best_provider: Provider.Provider = Provider.Chimera
|
89 |
+
|
90 |
+
class llama_2_70b_chat:
|
91 |
+
name: str = 'llama-2-70b-chat'
|
92 |
+
base_provider: str = 'llama'
|
93 |
+
best_provider: Provider.Provider = Provider.Chimera
|
94 |
+
|
95 |
+
|
96 |
|
97 |
class ModelUtils:
|
98 |
convert: dict = {
|
|
|
111 |
'claude-instant': Model.claude_instant,
|
112 |
'claude-2-100k': Model.claude_2_100k,
|
113 |
|
114 |
+
'llama-2-7b-chat': Model.llama_2_7b_chat,
|
115 |
+
'llama-2-13b-chat': Model.llama_2_13b_chat,
|
116 |
+
'llama-2-70b-chat': Model.llama_2_70b_chat,
|
117 |
+
|
118 |
'sage': Model.sage,
|
119 |
}
|