So here is my problem while execution code from the Lecture “Training Process”.
**model = BasicModelRunner(“EleutherAI/pythia-410m”) **
model.load_data_from_jsonlines(“C:\\lamini_docs.jsonl”)
model.train(is_public=True)
When I execute the above, I get the below error:
File ~\AppData\Local\anaconda3\Lib\site-packages\llama\runners\basic_model_runner.py:82, in BasicModelRunner.load_data(self, data, verbose, input_key, output_key)
74 input_output_objects = [
75 [
76 Input(input=d[input_key]),
(…)
79 for d in data
80 ]
81 except KeyError:
—> 82 raise ValueError(“Each object must have input_key={input_key} (and optionally output_key={output_key}). You can pass in different input_key and output_keys”)
83 self.data.extend(input_output_objects)
84 if verbose:
ValueError: Each object must have input_key={input_key} (and optionally output_key={output_key}). You can pass in different input_key and output_keys