↓ 2 callersFunctionget_dist_cosine(emb1, emb2, sent_emb_method="elmo", elmo_layers_weight=[0.0, 1.0, 0.0])
model/SIF_rank/sif_rank.py:137
↓ 1 callersFunctionalgorithm_switch(arg, topic_x_word_matrix, docx_x_topic_matrix, tf_feature_names, txt, article_id, alpha, lambda_,
main.py:45
↓ 1 callersFunctionget_candidate_weighted_average(tokenized_sents, weight_list, embeddings_list, start, end, embeddings_type="elmo")
model/SIF_rank/Embedding.py:206
↓ 1 callersFunctionmain(arg, data_path, topic_num, top_k, alpha, lambda_, window_size, max_d, plus)
main.py:71
↓ 1 callersFunctiontrain(input_file, model_path, vocab_path, vector_size=100, min_count=5, works=8, epochs=10)
model/embed_rank_train.py:46