File size: 553 Bytes
256a159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from typing import TYPE_CHECKING

from transformers.utils import (OptionalDependencyNotAvailable,
                                is_torch_available)

if TYPE_CHECKING:
    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass

from .otter import Otter
from .post_processor import OTTERMMBenchPostProcessor
from .prompt_constructor import OTTERMMBenchPromptConstructor

__all__ = [
    'Otter', 'OTTERMMBenchPromptConstructor', 'OTTERMMBenchPostProcessor'
]