Open xiaozhao1795 opened 1 year ago
这个两个文件的核心内容就是原模型和 fine-tuned 的模型不同的情感分类输出,所以您可以忽略这两行代码直接使用模型输出的结果进行比较,同时保存的代码在下面一段的Cell中,具体代码为:
instructions.to_csv(f"{root_path}/results_new.csv")
ori_instructions.to_csv(f"{root_path}/results.csv")
The core content of these two files is the different sentiment classification output of the original model and the fine-tuned model, so you can ignore these two lines of code and compare the results of the model output directly, while saving the code in the Cell below:
instructions.to_csv(f"{root_path}/results_new.csv")
ori_instructions.to_csv(f"{root_path}/results.csv")
root_path = "/root/autodl-tmp/results" instructions = pd.read_csv(f"{root_path}/results_new.csv") instructions.shape ori_instructions = pd.read_csv(f"{root_path}/results.csv") ori_instructions.shape
这两个文件从哪里获取的,没有看到生成的代码
请问您是如何解决的呢 还有codename这份问题
root_path = "/root/autodl-tmp/results" instructions = pd.read_csv(f"{root_path}/results_new.csv") instructions.shape ori_instructions = pd.read_csv(f"{root_path}/results.csv") ori_instructions.shape
这两个文件从哪里获取的,没有看到生成的代码