|
Download README.md from HuggingJady/analogy-vector: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/datasets/HuggingJady/analogy-vector/resolve/main/README.md
- Command line
-
hf download hf://datasets/HuggingJady/analogy-vector/README.md
-
curl -L -o README.md https://huggingface.co/datasets/HuggingJady/analogy-vector/resolve/main/README.md
3.11 kB
| language: | |
| - en | |
| pretty_name: Analogy Vector prompt pairs | |
| size_categories: | |
| - n<1K | |
| task_categories: | |
| - text-generation | |
| tags: | |
| - interpretability | |
| - activation-steering | |
| - analogy | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: data/train.jsonl | |
| - split: validation | |
| path: data/dev.jsonl | |
| - split: test | |
| path: data/test.jsonl | |
| # Analogy Vector prompt pairs | |
| Paired literal/analogy explanation prompts used in **From Geometry to Behavior: How Instruction Exposure | |
| Unlocks Latent Rhetorical Directions in LLMs** (COLM 2026). | |
| Code: [github.com/jayhsu0627/analogy-vector](https://github.com/jayhsu0627/analogy-vector) · | |
| Paper: [arXiv:2610.37685](https://arxiv.org/abs/2610.37685) | |
| | Split | Pairs | Used for | | |
| |---|---:|---| | |
| | train | 602 | computing the analogy vector (difference in means) | | |
| | validation (`dev.jsonl`) | 99 | layer sweep and layer selection | | |
| | test | 299 | all reported results | | |
| Each row is one concept with a literal prompt and an analogy prompt: | |
| ```json | |
| {"concept_id": "3ukrsc", "concept": "use of diacritics in english language", "domain": "history_society", | |
| "subreddit": "explainlikeimfive", | |
| "literal_prompt": "Provide a precise, factual explanation of use of diacritics in english language.", | |
| "analogy_prompt": "Explain use of diacritics in english language as if you were mapping its structure onto a familiar scenario.", | |
| "template_literal": "Provide a precise, factual explanation of {concept}.", | |
| "template_analogy": "Explain {concept} as if you were mapping its structure onto a familiar scenario."} | |
| ``` | |
| ## Construction | |
| Concepts come from ELI5 question titles (r/explainlikeimfive, r/askscience, r/AskHistorians). A model that is | |
| not evaluated in the paper, Mistral-7B-Instruct-v0.3, extracted a noun phrase from each title and kept only | |
| concepts describing a concrete process or phenomenon. A second pass assigned one of eight domains (biology, | |
| chemistry, CS/technology, earth/environment, economics/finance, engineering/mechanics, history/society, | |
| physics), and quota sampling balanced the domains. Splits are stratified by domain and share no concepts. | |
| `concept_id` is the ELI5 question id. | |
| Each concept is paired with one of three literal templates and one of three analogy templates: | |
| - Literal: "Explain {concept} using accurate technical terminology." · "Provide a precise, factual | |
| explanation of {concept}." · "Describe the mechanics behind {concept} in literal terms." | |
| - Analogy: "Explain {concept} by drawing an analogy to something from everyday life." · "Explain {concept} | |
| as if you were mapping its structure onto a familiar scenario." · "Use a concrete metaphor or analogy to | |
| help someone understand {concept}." | |
| Keep the row order: the layer sweep uses the first 100 validation prompts and computes KL on the first 20. | |
| ## Citation | |
| ```bibtex | |
| @inproceedings{analogyvector2026, | |
| title = {From Geometry to Behavior: How Instruction Exposure | |
| Unlocks Latent Rhetorical Directions in LLMs}, | |
| author = {Xu, Shengjie}, | |
| booktitle = {Conference on Language Modeling (COLM)}, | |
| year = {2026} | |
| } | |
| ``` | |