Update README.md
Browse files
README.md
CHANGED
|
@@ -29,3 +29,13 @@ from intention_metrics import extract_intention_state
|
|
| 29 |
# Get the pre-collapse hidden state
|
| 30 |
I = extract_intention_state(model, prompt, layer_idx=-1)
|
| 31 |
print(f"Intention Entropy: {calculate_entropy(I)}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# Get the pre-collapse hidden state
|
| 30 |
I = extract_intention_state(model, prompt, layer_idx=-1)
|
| 31 |
print(f"Intention Entropy: {calculate_entropy(I)}")
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
## Citation
|
| 35 |
+
```bibtex
|
| 36 |
+
@article{vera2026intention,
|
| 37 |
+
title={Intention Collapse: Intention-Level Metrics for Reasoning in Language},
|
| 38 |
+
author={Vera, Patricio},
|
| 39 |
+
journal={arXiv preprint arXiv:2601.01011},
|
| 40 |
+
year={2026}
|
| 41 |
+
}
|