Skip to content

Commit

Permalink
updated LLM plot
Browse files Browse the repository at this point in the history
  • Loading branch information
davdrose committed Jul 20, 2024
1 parent fb047a4 commit 3918f28
Show file tree
Hide file tree
Showing 12 changed files with 213 additions and 147 deletions.
13 changes: 4 additions & 9 deletions code/R/teleological_properties.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ ggplot(data = df.exp2.long,
scale_y_continuous(breaks = 1:7) +
scale_shape_manual(values = c(21, 23)) +
ggtitle("What is this creature?") +
xlab("Property type of creature \n\ that differed") +
xlab("Property type that \n\ differed") +
theme(plot.title = element_text(size=24, hjust = .5),
legend.title = element_blank(),
legend.position = "bottom",
Expand Down Expand Up @@ -605,11 +605,6 @@ ggplot(data = df.llm,
jitter.width = 0.1,
jitter.height = 0.0),
alpha = 0.2) +
stat_summary(fun.data = "mean_cl_boot",
position = position_dodge(width = 0.5),
shape = 21,
color = "black",
size = .5) +
scale_fill_brewer(palette = "Set1") +
scale_color_brewer(palette = "Set1") +
# scale_y_continuous(breaks = 1:7) +
Expand All @@ -621,7 +616,7 @@ ggplot(data = df.llm,
text = element_text(size = 18)) +
facet_wrap(~ model)
ggsave(width = 8, height = 3, "../../figures/experiment2/bert_overall_property_means.pdf")
ggsave(width = 8, height = 3, "../../figures/experiment2/bert_overall_probabilities.pdf")
```

Expand Down Expand Up @@ -714,7 +709,7 @@ ggplot(data = df.exp3.long,
scale_y_continuous(breaks = 1:7) +
scale_shape_manual(values = c(21, 23)) +
ggtitle("What is this creature?") +
xlab("Property type of creature \n\ that differed") +
xlab("Property type that \n\ differed") +
theme(plot.title = element_text(size=24, hjust = .5),
legend.title = element_blank(),
legend.position = "bottom",
Expand Down Expand Up @@ -913,7 +908,7 @@ ggplot(data = df.exp4.long,
scale_y_continuous(breaks = 1:7) +
scale_shape_manual(values = c(21, 23)) +
ggtitle("What is this creature?") +
xlab("Property type of creature \n\ that differed") +
xlab("Property type that \n\ differed") +
theme(plot.title = element_text(size=24, hjust = .5),
legend.title = element_blank(),
legend.position = "bottom",
Expand Down
347 changes: 209 additions & 138 deletions code/R/teleological_properties.html

Large diffs are not rendered by default.

Binary file modified figures/experiment1/exp1_top_stacked.pdf
Binary file not shown.
Binary file not shown.
Binary file removed figures/experiment2/bert_overall_property_means.pdf
Binary file not shown.
Binary file not shown.
Binary file modified figures/experiment2/exp2_heat_map.pdf
Binary file not shown.
Binary file modified figures/experiment2/exp2_property_by_condition_means.pdf
Binary file not shown.
Binary file modified figures/experiment3/exp3_heat_map.pdf
Binary file not shown.
Binary file modified figures/experiment3/exp3_property_by_condition_means.pdf
Binary file not shown.
Binary file modified figures/experiment4/exp4_heat_map.pdf
Binary file not shown.
Binary file modified figures/experiment4/exp4_property_by_condition_means.pdf
Binary file not shown.

0 comments on commit 3918f28

Please sign in to comment.