Ten kod działa!!!
This commit is contained in:
parent
a0aab164cb
commit
91e490db0c
4
hft.py
4
hft.py
|
|
@ -200,8 +200,8 @@ def main():
|
||||||
tokenizer.pad_token = tokenizer.eos_token
|
tokenizer.pad_token = tokenizer.eos_token
|
||||||
|
|
||||||
# Przygotowanie danych
|
# Przygotowanie danych
|
||||||
catalog_path = "file_catalog.json"
|
catalog_path = "catalog.json"
|
||||||
data = prepare_dataset("files", catalog_path, source_mapper)
|
data = prepare_dataset("docs", catalog_path, source_mapper)
|
||||||
|
|
||||||
if not data:
|
if not data:
|
||||||
print("\nBrak danych do treningu!")
|
print("\nBrak danych do treningu!")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue