RozanskiT commited on
Commit
f2b45bb
·
verified ·
1 Parent(s): 618f1dc

Replace repo contents

Browse files
Files changed (1) hide show
  1. reference_likelihood.py +13 -4
reference_likelihood.py CHANGED
@@ -1,8 +1,13 @@
1
  """Quickstart: Gaussian likelihood for Maja log10 intensity spectra.
2
 
3
- This compact reference script is meant to travel with the released bundle. It
4
- uses only bundle metadata, weights, and extras; it does not require the original
5
- Zarr training archive.
 
 
 
 
 
6
 
7
  The pattern is:
8
 
@@ -176,7 +181,11 @@ def parse_args() -> argparse.Namespace:
176
  "--cache-dir",
177
  type=str,
178
  default=DEFAULT_CACHE_DIR,
179
- help="Cache directory used when --repo-id is provided.",
 
 
 
 
180
  )
181
  parser.add_argument(
182
  "--show",
 
1
  """Quickstart: Gaussian likelihood for Maja log10 intensity spectra.
2
 
3
+ This compact reference script is meant to travel with the released bundle. By
4
+ default it downloads the Hugging Face bundle into ``.emuspec_cache`` and leaves
5
+ the local bundle directory next to this script untouched. To force local-bundle
6
+ mode, pass ``--repo-id ""``. To remove the downloaded Hugging Face copy later,
7
+ delete the cache directory, for example ``rm -rf .emuspec_cache``.
8
+
9
+ The script uses only bundle metadata, weights, and extras; it does not require
10
+ the original Zarr training archive.
11
 
12
  The pattern is:
13
 
 
181
  "--cache-dir",
182
  type=str,
183
  default=DEFAULT_CACHE_DIR,
184
+ help=(
185
+ "Cache directory used when --repo-id is provided. The downloaded "
186
+ "bundle is stored here and does not overwrite the local bundle "
187
+ "directory. Remove this directory later to delete the downloaded copy."
188
+ ),
189
  )
190
  parser.add_argument(
191
  "--show",