Skip to content

Commit

Permalink
add bigger context to models and support deepseek too
Browse files Browse the repository at this point in the history
  • Loading branch information
moshemalawach authored and RezaRahemtola committed Feb 16, 2025
1 parent 210d25f commit c758b40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libertai_agents/libertai_agents/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
from libertai_agents.interfaces.tools import Tool

ModelId = Literal[
"NousResearch/Hermes-3-Llama-3.1-8B", "mistralai/Mistral-Nemo-Instruct-2407"
"NousResearch/Hermes-3-Llama-3.1-8B",
"mistralai/Mistral-Nemo-Instruct-2407",
"deepseek-ai/DeepSeek-V3",
]


Expand Down
5 changes: 5 additions & 0 deletions libertai_agents/libertai_agents/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ class FullModelConfiguration(ModelConfiguration):
context_length=16384,
constructor=HermesModel,
),
"deepseek-ai/DeepSeek-V3": FullModelConfiguration(
vm_url="https://curated.aleph.cloud/vm/9aa80dc7f00c515a5f56b70e65fdab4c367e35f341c3b4220419adb6ca86a33f/completion",
context_length=16384,
constructor=HermesModel,
),
"mistralai/Mistral-Nemo-Instruct-2407": FullModelConfiguration(
vm_url="https://curated.aleph.cloud/vm/2c4ad0bf343fb12924936cbc801732d95ce90f84cd895aa8bee82c0a062815c2/completion",
context_length=8192,
Expand Down

0 comments on commit c758b40

Please sign in to comment.