GwendalTsang commited on
Commit
1bc7b98
·
verified ·
1 Parent(s): e2da183

Fix extractor link in dataset card

Browse files
Files changed (1) hide show
  1. README.md +5 -4
README.md CHANGED
@@ -72,10 +72,11 @@ with safe_open(shard_path, framework="pt", device="cpu") as shard:
72
  hidden_states = shard.get_tensor("hidden_states")[row["offset"]]
73
  ```
74
 
75
- See `extract_mistral_hidden_states_tpu.py` for reproduction and for processing
76
- paper-compatible JSONL records containing `context`, `question`, `best_answer`,
77
- and `label`. The extractor supports both `--answer-view full` and the authors'
78
- rule-based `--answer-view first_sentence`.
 
79
 
80
  ## Provenance
81
 
 
72
  hidden_states = shard.get_tensor("hidden_states")[row["offset"]]
73
  ```
74
 
75
+ See [`scripts/extract_mistral_hidden_states_tpu.py`](scripts/extract_mistral_hidden_states_tpu.py)
76
+ for reproduction and for processing paper-compatible JSONL records containing
77
+ `context`, `question`, `best_answer`, and `label`. The extractor supports both
78
+ `--answer-view full` and the authors' rule-based
79
+ `--answer-view first_sentence`.
80
 
81
  ## Provenance
82