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 committed Jan 16, 2025
1 parent 5bef33a commit 7ed42e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libertai_agents/libertai_agents/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ class FullModelConfiguration(ModelConfiguration):
MODELS_CONFIG: dict[ModelId, FullModelConfiguration] = {
"NousResearch/Hermes-3-Llama-3.1-8B": FullModelConfiguration(
vm_url="https://curated.aleph.cloud/vm/84df52ac4466d121ef3bb409bb14f315de7be4ce600e8948d71df6485aa5bcc3/completion",
context_length=4096,
context_length=16384,
constructor=HermesModel,
),
"deepseek-ai/DeepSeek-V3": FullModelConfiguration(

Check failure on line 28 in libertai_agents/libertai_agents/models/models.py

View workflow job for this annotation

GitHub Actions / Package: mypy

[mypy] reported by reviewdog 🐶 Dict entry 1 has incompatible type "Literal['deepseek-ai/DeepSeek-V3']": "FullModelConfiguration"; expected "Literal['NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']": "FullModelConfiguration" [dict-item] Raw Output: /home/runner/work/libertai-agents/libertai-agents/libertai_agents/libertai_agents/models/models.py:28:5: error: Dict entry 1 has incompatible type "Literal['deepseek-ai/DeepSeek-V3']": "FullModelConfiguration"; expected "Literal['NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']": "FullModelConfiguration" [dict-item]
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=4096,
context_length=8192,
constructor=MistralModel,
),
}
Expand Down

0 comments on commit 7ed42e0

Please sign in to comment.