Tara

Results 2 issues of Tara

DoctorGLM/DoctorGLM/qa_generation.py非常好用!! 我更改了qa_generation.py,用其他领域的结构化数据生成了问答对json。如果也有人遇到这个情况,可以使用如下代码。需要更改file_path和templ (似乎不能算pr于是写在issue里了,如有不妥欢迎交流!) ``` from langchain.document_loaders import DataFrameLoader file_path = 'data.csv' df = pd.read_csv(file_path) df.head() loader = DataFrameLoader(df,page_content_column="from_name") docs = loader.load() idx = 0 qa_dict ={} for d in docs:...

### Issue link / number: ### What changes did you make? ### Why did you make the changes?