File size: 761 Bytes
d137e33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Settings:
    root_dir = './data/embeddings/'
    corpus_path = './data/full.tsv'
    model_name_or_path: str = 'intfloat/e5-small'
    index_name = 'test-index'
    # max_corpus_size = 500000
    # n_clusters = 64
    # nprobe = 3
    languages = 'en'
    top_k = 100
    alpha = 2.0
    normalization = True
    weight_on_dense = False
    predefined_inputs = [
            "Do you have a job?",
            "Are you happy with the healthcare system?",
            "Do you think income differences are too large?",
            "Which problems are you aware of that affect nature",
            "financial literacy",
            "health literacy",
            "psychometric scales for anxiety",
            "tolerance for income inequality"
            ]