mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-12 13:00:42 +08:00
fixed minor errors from testing
This commit is contained in:
@@ -97,7 +97,9 @@ class ChunkedARD:
|
||||
|
||||
# Load the dataset. streaming allows you to load one entry at a time,
|
||||
# so entries can be processed before the entire dataset has been saved.
|
||||
iterable_data = load_dataset('StampyAI/alignment-research-dataset', 'aisafety.info', split='train', streaming=True)
|
||||
# iterable_data = load_dataset('StampyAI/alignment-research-dataset', 'aisafety.info', split='train', streaming=True)
|
||||
|
||||
iterable_data = load_dataset('StampyAI/alignment-research-dataset', 'all', split='train', streaming=True)
|
||||
|
||||
for entry in tqdm(iterable_data):
|
||||
"""Checks"""
|
||||
|
||||
@@ -7,6 +7,4 @@ LEN_EMBEDDINGS = 1536
|
||||
MAX_LEN_PROMPT = 4095 # This may be 8191, unsure.
|
||||
|
||||
current_file_path = Path(__file__).resolve()
|
||||
PATH_TO_RAW_DATA = str(current_file_path.parent / 'dataset' / 'data' / 'alignment_texts.jsonl')
|
||||
PATH_TO_DATASET_PKL = str(current_file_path.parent / 'dataset' / 'data' / 'dataset.pkl')
|
||||
PATH_TO_DATASET_DICT_PKL = str(current_file_path.parent / 'dataset' / 'data' / 'dataset_dict.pkl')
|
||||
Reference in New Issue
Block a user