-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
51 lines (51 loc) · 1.26 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from .classifier import (
Classifier,
DummyClassifier,
HuggingFaceClassifier,
PlainGPT2Classifier,
PlainDistilGPT2Classifier,
PlainBERTClassifier,
TAPTClassifier,
TAPTDistilGPT2Classifier,
TAPTGPT2Classifier,
TAPTBERTClassifier,
)
from .data_handler import DataHandler
from .dataset_container import (
DatasetContainer,
DummyDatasetContainer,
RottenTomatoesDatasetContainer,
WikiToxicDatasetContainer,
PubMed20kRCTDatasetContainer,
Trec6DatasetContainer,
)
from .experiment import Experiment
from .interface import (
Interface,
CLIInterface,
PoolSimulatorInterface,
AutomaticLabellerInterface,
ReplayInterface,
)
from .acquisition_function import (
AcquisitionFunction,
DummyAF,
RandomAF,
MaxUncertaintyAF,
)
from .sample_generator import (
SampleGenerator,
DummySampleGenerator,
PlainGPT2SampleGenerator,
PoolSampleGenerator,
ReplaySampleGenerator,
TAPTGPT2SampleGenerator,
TAPTDistilGPT2SampleGenerator,
TokenByTokenSampleGenerator,
PlainGPT2TokenByTokenSampleGenerator,
TAPTGPT2TokenByTokenSampleGenerator,
MaskedMHSampleGenerator,
PlainBERTMaskedMHSampleGenerator,
TAPTBERTMaskedMHSampleGenerator,
)
from .parameters import Parameters