Jinsns/flk
收藏资源简介:
--- license: mit --- # 法律法规 # 从国家法律法规数据库(https://flk.npc.gov.cn/) 下载的法律法规 解压后得到: law_list.tsv 法律法规的信息列表 law_docs/ 目录下有五个文件夹,分别装有不同状态的法律法规。 status 1 有效 ,3 尚未生效 ,5 已修改(有对应的1),7 两种:【有关法律问题和重大问题的决定】或【修改、废止的决定】,9 已废止 txt_files/ 用脚本处理 status1 中的非扫描件,生成的txt文件,每一行是形式是 ``` 某法 第n章 第n条 法条内容 ``` laws_vector_store/ 是FAISS向量数据库,embedding模型采用text2vec (https://huggingface.co/GanymedeNil/text2vec-large-chinese) 向量数据库的每一条数据是txt的一行(向量数据库的范围是所有txt_files)
--- license: mit --- # Laws and Regulations # Laws and regulations downloaded from the National Laws and Regulations Database (https://flk.npc.gov.cn/). After extraction, the following contents are obtained: - law_list.tsv: Information list of laws and regulations The `law_docs/` directory contains five subdirectories, each storing laws and regulations of different statuses: - Status 1: Valid - Status 3: Not yet effective - Status 5: Modified (with corresponding version 1) - Status 7: Two categories: [Decisions on relevant legal issues and major matters] or [Decisions of amendment or repeal] - Status 9: Repealed The `txt_files/` directory contains TXT files generated by processing non-scanned documents in status 1 with a script. Each line follows the format: [Law Name] Chapter n Article n: Text of the legal provision The `laws_vector_store/` is a FAISS vector store that uses the text2vec embedding model (https://huggingface.co/GanymedeNil/text2vec-large-chinese). Each entry in the vector store corresponds to one line from the TXT files, covering all files within the `txt_files/` directory.
法律法规数据集概述
数据来源
- 数据集来源于国家法律法规数据库(https://flk.npc.gov.cn/)。
文件结构
-
law_list.tsv: 包含法律法规的信息列表。
-
law_docs/: 目录下有五个文件夹,分别装有不同状态的法律法规。
- status 1: 有效
- status 3: 尚未生效
- status 5: 已修改(有对应的1)
- status 7: 两种:【有关法律问题和重大问题的决定】或【修改、废止的决定】
- status 9: 已废止
-
txt_files/: 用脚本处理 status 1 中的非扫描件,生成的txt文件,每一行格式为:
某法 第n章 第n条 法条内容
-
laws_vector_store/: FAISS向量数据库,embedding模型采用text2vec(https://huggingface.co/GanymedeNil/text2vec-large-chinese)。向量数据库的每一条数据是txt的一行(向量数据库的范围是所有txt_files)。




