Skip to content

Commit

Permalink
[0.3.1]
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez committed Jan 16, 2025
1 parent 96c866c commit 4d7e04e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/models/hf/llama3.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from swarm_models import Agent
from swarm_models.prompts.finance_agent_sys_prompt import (
from swarms.prompts.finance_agent_sys_prompt import (
FINANCIAL_AGENT_SYS_PROMPT,
)
import torch
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "swarm-models"
version = "0.2.7"
version = "0.3.1"
description = "Swarm Models - TGSC"
license = "MIT"
authors = ["Kye Gomez <[email protected]>"]
Expand All @@ -23,7 +23,7 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.10"
torch = "*"
# torch = "*"
transformers = "*"
loguru = "*"
pydantic = "*"
Expand All @@ -32,6 +32,9 @@ python-dotenv = "*"
litellm = "*"
tiktoken = "*"
ollama = "*"
Pillow = "*"
termcolor = "*"




Expand Down
12 changes: 6 additions & 6 deletions swarm_models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from swarm_models.base_llm import BaseLLM # noqa: E402
from swarm_models.base_multimodal_model import BaseMultiModalModel
from swarm_models.gpt4_vision_api import GPT4VisionAPI # noqa: E402
from swarm_models.huggingface import HuggingfaceLLM # noqa: E402
# from swarm_models.huggingface import HuggingfaceLLM # noqa: E402
# from swarm_models.layoutlm_document_qa import LayoutLMDocumentQA
from swarm_models.llama3_hosted import llama3Hosted
from swarm_models.llava import LavaMultiModal # noqa: E402
# from swarm_models.llava import LavaMultiModal # noqa: E402
# from swarm_models.nougat import Nougat # noqa: E402
from swarm_models.openai_embeddings import OpenAIEmbeddings
from swarm_models.openai_tts import OpenAITTS # noqa: E402
Expand Down Expand Up @@ -32,7 +32,7 @@
TextModality,
VideoModality,
)
from swarm_models.vilt import Vilt # noqa: E402
# from swarm_models.vilt import Vilt # noqa: E402
from swarm_models.popular_llms import FireWorksAI
from swarm_models.openai_function_caller import OpenAIFunctionCaller
from swarm_models.ollama_model import OllamaModel
Expand All @@ -46,9 +46,9 @@
"BaseLLM",
"BaseMultiModalModel",
"GPT4VisionAPI",
"HuggingfaceLLM",
# "HuggingfaceLLM",
# "LayoutLMDocumentQA",
"LavaMultiModal",
# "LavaMultiModal",
# "Nougat",
"Palm",
"OpenAITTS",
Expand All @@ -66,7 +66,7 @@
"MultimodalData",
"TextModality",
"VideoModality",
"Vilt",
# "Vilt",
"OpenAIEmbeddings",
"llama3Hosted",
"FireWorksAI",
Expand Down

0 comments on commit 4d7e04e

Please sign in to comment.