mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	
							parent
							
								
									4f7c850115
								
							
						
					
					
						commit
						14ab14a0e6
					
				@ -154,7 +154,7 @@ class MMLU(datasets.GeneratorBasedBuilder):
 | 
			
		||||
        ]
 | 
			
		||||
 | 
			
		||||
    def _generate_examples(self, filepath):
 | 
			
		||||
        df = pd.read_csv(filepath)
 | 
			
		||||
        df = pd.read_csv(filepath, header=None)
 | 
			
		||||
        df.columns = ["question", "A", "B", "C", "D", "answer"]
 | 
			
		||||
 | 
			
		||||
        for i, instance in enumerate(df.to_dict(orient="records")):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user