Skip to content

Commit f847530

Browse files
Add ChatGPT (#2341)
* initial scafold Signed-off-by: Ashwin Vaidya <[email protected]> * Apply PR comments Signed-off-by: Ashwin Vaidya <[email protected]> * rename dir Signed-off-by: Ashwin Vaidya <[email protected]> * delete llm_ollama Signed-off-by: Ashwin Vaidya <[email protected]> * Add ChatGPT Signed-off-by: Ashwin Vaidya <[email protected]> * Add ChatGPT Signed-off-by: Ashwin Vaidya <[email protected]> * Remove LLM model Signed-off-by: Ashwin Vaidya <[email protected]> --------- Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 660acf1 commit f847530

File tree

13 files changed

+163
-568
lines changed

13 files changed

+163
-568
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ core = [
5656
"open-clip-torch>=2.23.0,<2.26.1",
5757
]
5858
openvino = ["openvino>=2024.0", "nncf>=2.10.0", "onnx>=1.16.0"]
59-
vlm = ["ollama", "transformers"]
59+
vlm = ["ollama", "openai", "transformers"]
6060
loggers = [
6161
"comet-ml>=3.31.7",
6262
"gradio>=4",

src/anomalib/models/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
Ganomaly,
2727
Llava,
2828
Llavanext,
29-
Llm,
30-
Llmollama,
3129
Padim,
3230
Patchcore,
3331
ReverseDistillation,
@@ -65,8 +63,6 @@ class UnknownModelError(ModuleNotFoundError):
6563
"AiVad",
6664
"VlmAd",
6765
"WinClip",
68-
"Llm",
69-
"Llmollama",
7066
"Llava",
7167
"Llavanext",
7268
]

src/anomalib/models/image/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@
1616
from .ganomaly import Ganomaly
1717
from .llava import Llava
1818
from .llava_next import Llavanext
19-
from .llm import Llm
20-
from .llm_ollama import Llmollama
2119
from .padim import Padim
2220
from .patchcore import Patchcore
2321
from .reverse_distillation import ReverseDistillation
2422
from .rkde import Rkde
2523
from .stfpm import Stfpm
2624
from .uflow import Uflow
27-
from .vlm import VlmAd
25+
from .vlm_ad import VlmAd
2826
from .winclip import WinClip
2927

3028
__all__ = [
@@ -47,8 +45,6 @@
4745
"Uflow",
4846
"VlmAd",
4947
"WinClip",
50-
"Llm",
51-
"Llmollama",
5248
"Llava",
5349
"Llavanext",
5450
]

src/anomalib/models/image/llm/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/anomalib/models/image/llm/lightning_model.py

Lines changed: 0 additions & 326 deletions
This file was deleted.

src/anomalib/models/image/llm_ollama/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)