Chelsea / llm /utils /hf_interface.py
CineAI's picture
4172637469634d6f6e6b6579733a33302e30372e3234
e294914
raw
history blame
240 Bytes
from abc import ABC, abstractmethod
from typing import Any, Optional
class HFInterface(ABC):
@abstractmethod
def execution(self) -> Optional[Any]:
"""Method execution LLM model based on HuggingFace or others"""
pass