mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-23 17:01:04 +02:00
self-gen naming
This commit is contained in:
parent
8b15901fb9
commit
7a889d0d7e
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ def self_generate(
|
|||
ds_name = os.path.basename(os.path.dirname(parquet_file))
|
||||
shard_name = "_" + os.path.basename(parquet_file).replace(".parquet", "")
|
||||
else:
|
||||
ds_name = ds_name.replace("self_gen/", "")
|
||||
ds_name = ds_name.split("/")[-1] # Extract just the dataset name
|
||||
|
||||
print(f"Loading dataset: {ds_name} with split: {split}")
|
||||
kwargs = dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue