Skip to content

Commit

Permalink
fix: technique names
Browse files Browse the repository at this point in the history
  • Loading branch information
trigaten committed Jun 3, 2024
1 parent d17f02b commit 2c0079d
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,15 @@ def visualize_citation_counts(self, paper_references, title_to_technique):
plt.yscale("log")
plt.xticks(rotation=45, ha="right")
ax = plt.gca()
ax.spines["top"].set_visible(False)
ax.spines["right"].set_visible(False)
ax.spines["top"].set_visible(True)
ax.spines["right"].set_visible(True)

plt.ylabel("Counts", fontdict={"fontsize": 14})
plt.xlabel("Prompting Techniques", fontdict={"fontsize": 14})
plt.title("Citation Counts of Prompting Techniques", fontdict={"fontsize": 30})
plt.tight_layout()
plt.show()
plt.savefig("internal_references.pdf", format="pdf", bbox_inches="tight")
# plt.show()


class Main:
Expand Down Expand Up @@ -502,7 +503,7 @@ def graph_internal_references():
]

technique_to_title = {
"Language Models are Few-Shot Learners": "Few-Shot Learning*",
"Language Models are Few-Shot Learners": "Few-Shot Prompting*",
"A Survey on In-context Learning": "In-context Learning Survey",
"Exploring Demonstration Ensembling for In-context Learning": "Demonstration Ensembling",
"Unified Demonstration Retriever for In-Context Learning": "Unified Demo Retriever*",
Expand All @@ -518,7 +519,7 @@ def graph_internal_references():
"What Makes Good In-Context Examples for GPT-3?": "Good In-Context Examples",
"MoT: Memory-of-Thought Enables ChatGPT to Self-Improve": "Memory-of-Thought*",
"kNN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inference": "kNN Prompting*",
"Large Language Models are Zero-Shot Reasoners": "Zero-Shot Reasoning*",
"Large Language Models are Zero-Shot Reasoners": "Chain-of-Thought*",
"Self-Consistency Improves Chain of Thought Reasoning in Language Models": "Self-Consistency*",
"Large Language Models as Optimizers": "LLMs as Optimizers",
"Decomposed Prompting: A Modular Approach for Solving Complex Tasks": "Decomposed Prompting*",
Expand Down

0 comments on commit 2c0079d

Please sign in to comment.