asahi417 commited on
Commit
58491d6
·
1 Parent(s): a2e14a4
experiments/analysis/topic.csv ADDED
The diff for this file is too large to render. See raw diff
 
experiments/analysis_prediction_topic.py CHANGED
@@ -76,4 +76,4 @@ for s in splits:
76
  text += load_dataset("tweettemposhift/tweet_temporal_shift", "topic_temporal", split=s)['text']
77
  df_tmp["true_label"] = [", ".join([id_to_label[str(n)] for n, k in enumerate(i) if k == 1]) for i in gold_label]
78
  df_tmp["text"] = text
79
- df_tmp.sort_values("error_count", ascending=False).to_csv("experiments/analysis/topic_2.csv")
 
76
  text += load_dataset("tweettemposhift/tweet_temporal_shift", "topic_temporal", split=s)['text']
77
  df_tmp["true_label"] = [", ".join([id_to_label[str(n)] for n, k in enumerate(i) if k == 1]) for i in gold_label]
78
  df_tmp["text"] = text
79
+ df_tmp.sort_values("error_count", ascending=False).to_csv("experiments/analysis/topic.csv")