Added another set of iterations

This commit is contained in:
Niels Geens
2024-11-20 16:06:33 +01:00
parent 84228d56de
commit bbb88f39e8
33 changed files with 12754 additions and 4 deletions

View File

@@ -50,9 +50,10 @@ class FinetuneDatasetCreator:
root = tree.getroot()
# Verify hashes
if (root.get('system_prompt_hash') != self.system_prompt_hash or
root.get('action_schema_hash') != self.action_schema_hash):
print(f"Hash mismatch in {file_path}")
if root.get('system_prompt_hash') != self.system_prompt_hash:
print(f"System prompt hash mismatch in {file_path}")
if root.get('action_schema_hash') != self.action_schema_hash:
print(f"Action schema hash mismatch in {file_path}")
# Get context and response
context = root.find('context').text