Spaces:
Paused
Paused
Download app/models/base_model.py from mghfuran/ZKnowledgeAgent: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/spaces/mghfuran/ZKnowledgeAgent/resolve/main/app/models/base_model.py
- Command line
-
hf download hf://spaces/mghfuran/ZKnowledgeAgent/app/models/base_model.py
-
curl -L -o base_model.py https://huggingface.co/spaces/mghfuran/ZKnowledgeAgent/resolve/main/app/models/base_model.py
188 Bytes
| from abc import ABC, abstractmethod | |
| class BaseLLM(ABC): | |
| def load(self): | |
| pass | |
| def generate(self, prompt: str) -> str: | |
| pass |