EasyOctopus commited on
Commit
37aba78
·
verified ·
1 Parent(s): 24c50f3

Load example inputs and helpers from a standard Hub snapshot

Browse files
Files changed (3) hide show
  1. SHA256SUMS +2 -2
  2. example.py +1 -1
  3. generate.py +4 -2
SHA256SUMS CHANGED
@@ -6,8 +6,8 @@ f8457642ae0f220653ca9d46be4d8f40744224b7281443155c65a345ddc7f243 NOTICE-nobody-
6
  6cfb2539bd697a5b190b67b386356108fb4da2797d9ccab05b0c499ae5e8dd28 data/train.jsonl
7
  62b3c748035a3cefc3c52f37cb0f649688e0b580a5e43d196a9507f579c8ffef data/validation.jsonl
8
  81570c4f6d825a3004961bc863dccc7fa625233d548e062d0e723a97ebd7574f eval_results.json
9
- d0fe7e287fb2d70a449e711d7f051ae12a582313ebed1e6c0be036bce1bb5ae5 example.py
10
- 255647e4f0f0ac2ca9dd11d4b4d00cb8cf6c98edd9b5c5187dd0fba307355ad5 generate.py
11
  11aee587e2813db86cdc598cf6616e0d651a1284429553015a4a3c5f238ba360 generation.json
12
  66e5f75e0641d9c8268a8b6069f89621fa3097661b37e4ea306db75d09506638 provenance.json
13
  d0cb30185cc8412cefdbc997f895a27d2a181d791a59d3d6118813809bdc90ae replay/replay.jsonl
 
6
  6cfb2539bd697a5b190b67b386356108fb4da2797d9ccab05b0c499ae5e8dd28 data/train.jsonl
7
  62b3c748035a3cefc3c52f37cb0f649688e0b580a5e43d196a9507f579c8ffef data/validation.jsonl
8
  81570c4f6d825a3004961bc863dccc7fa625233d548e062d0e723a97ebd7574f eval_results.json
9
+ ea36f6d9e37eb66b4946c7e9345af902b393137ec1f31811911b618ea2d6c818 example.py
10
+ 0070bcec4a737966e0efadb1be09e12d1f397de4c39e989ae49979380e68899d generate.py
11
  11aee587e2813db86cdc598cf6616e0d651a1284429553015a4a3c5f238ba360 generation.json
12
  66e5f75e0641d9c8268a8b6069f89621fa3097661b37e4ea306db75d09506638 provenance.json
13
  d0cb30185cc8412cefdbc997f895a27d2a181d791a59d3d6118813809bdc90ae replay/replay.jsonl
example.py CHANGED
@@ -9,7 +9,7 @@ import hashlib
9
  import json
10
  from pathlib import Path
11
 
12
- HERE=Path(__file__).resolve().parent
13
 
14
  def main():
15
  parser=argparse.ArgumentParser()
 
9
  import json
10
  from pathlib import Path
11
 
12
+ HERE=Path(__file__).absolute().parent
13
 
14
  def main():
15
  parser=argparse.ArgumentParser()
generate.py CHANGED
@@ -7,11 +7,13 @@
7
  import argparse
8
  from collections import defaultdict
9
  from pathlib import Path
 
10
  import json
11
  import random
12
- from slot_values import slots,render
13
 
14
- HERE=Path(__file__).resolve().parent
 
 
15
 
16
  def main():
17
  parser=argparse.ArgumentParser()
 
7
  import argparse
8
  from collections import defaultdict
9
  from pathlib import Path
10
+ import sys
11
  import json
12
  import random
 
13
 
14
+ HERE=Path(__file__).absolute().parent
15
+ sys.path.insert(0, str(HERE))
16
+ from slot_values import slots,render
17
 
18
  def main():
19
  parser=argparse.ArgumentParser()