File size: 1,942 Bytes
3d73c8d
edc6c74
 
3269340
 
edc6c74
 
3269340
3d73c8d
 
 
884a75c
 
 
0ce5cd2
 
3269340
0ce5cd2
 
3269340
0ce5cd2
 
3269340
0ce5cd2
 
3269340
0ce5cd2
 
 
3269340
3d73c8d
 
 
 
d1e7150
 
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
# config.yaml

instances_to_explain_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/reddit_explanation_sample.json?download=true"
instances_to_explain_path: "./datasets/reddit_explanation_sample.json"

background_authors_df_path:    "./datasets/reddit_clustered_authors.pkl"
background_authors_df_url:    "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/reddit_clustered_authors.pkl?download=true"

gram2vec_feats_path:      "./datasets/gram2vec_feats.csv"
gram2vec_feats_url:      "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/gram2vec_feats.csv?download=true"

gram2vec_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/gram2vec_cache.zip?download=true"
gram2vec_cache_path: "./datasets/gram2vec_cache/"

embeddings_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/embeddings_cache.zip?download=true"
embeddings_cache_path: "./datasets/embeddings_cache/"

zoom_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/zoom_cache.zip?download=true"
zoom_cache_path: "./datasets/zoom_cache/"

region_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/region_cache.zip?download=true"
region_cache_path: "./datasets/region_cache/"

tsne_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/tsne_cache.pkl?download=true"
tsne_cache_path: "./datasets/tsne_cache.pkl"

llm_style_features_cache_url: "https://huggingface.co/datasets/miladalsh/explanation_tool_files/resolve/main/feature_spans_cache.zip?download=true"
llm_style_features_cache_path: "./datasets/feature_spans_cache/"


style_feat_clm:       "llm_tfidf_weights"
top_k:                10
only_llm_feats:       false
only_gram2vec_feats:  false
max_num_docs_per_authors: 3
max_num_bg_authors: 500