Sungho Park
Sungho Park
example) dag.graph : OrderedDict([('s1_1', {'s1_3'}), ('s1_2', {'s1_3'}), ('s1_3', set())]) 1) dependent_nodes = set(tuple(node) for dependents in graph.items() for node in dependents) ==> {(), ('s', '1', '_', '1'), ('s', '1', '_',...
I've kept the sources simple
Pickle` works well. ```python import Pickle import SKLLMConfig from skllm.config import os pickle.dump(clf, open("data/zero_shot_gpt.pkl", "wb")) SKLLMConfig.set_openai_key(os.getenv("OPENAI_API_KEY")) clf_loaded = pickle.load(open("data/zero_shot_gpt.pkl", "rb")) clf_loaded.predict([[ "The successor to the saga will have new hardware...