llama/llama3_classification_ds.py
2025-07-13 19:05:59 +03:30

12 lines
281 B
Python

import json
with open('./data/classes51.txt', 'r') as file:
classes = file.readlines()
with open('./data/classification_ds.json', 'r') as file:
sections = json.load(file)
# send content of some sections and classes to llama chat
# and ask about the best class