File size: 454 Bytes
16188ba
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
class Configuration:
    def __init__(self, plm:str, dimension_reduction:str,clustering:str,keywords_extraction:str):
        self.plm = plm
        self.dimension_reduction = dimension_reduction
        self.clustering = clustering
        self.keywords_extraction = keywords_extraction


class BaselineConfig(Configuration):
    def __init__(self):
        super().__init__('''all-mpnet-base-v2''', 'none', 'kmeans-euclidean', 'keyphrase-transformer')