c-language
StackOverflow-QA-C-Language-40kThis is a collection of ~40k QA's in C Language from StackOverflow. The data has been initially cleaned, and each response is with Accepted Answer.
All data is <1000 in length.
The questions and answers were organized into a one-line format. A sample format is shown below:
{
"question": "```\nFILE* file = fopen(some file)\n\npcap_t* pd = pcap_fopen_offline(file)\n\npcap_close(pd)\n\nfclose(file)\n```\n\nThis code occurs double free error.\n\nCould you explain about this happening?\n\nMy… See the full description on the dataset page: https://huggingface.co/datasets/Mxode/StackOverflow-QA-C-Language-40k.CSDN-C_Language-2013_2023CSDN - C 语言社区 2013 ~ 2023.10.2 的问答数据,未包含图片,仅有文本内容。
共 29K+ 条,数据已经经过初步清洗和脱敏,去除了所有 0 回复的贴子 & 机器人回复的贴子。为了方便不同使用目的,按照回复盖楼的格式对数据进行了组织,一个样例(展开后)如下:
{
"question": "刚学C语言,为什么这个代码运行不了呢",
"poster": "user-0",
"comments": [
{
"cid": "2",
"user": "user-2",
"content": "intunsigned intlong longunsigned long long统统容纳不下29的阶乘,早就溢出了。",
"referer": "user-0"
},
{
"cid": "3",
"user": "user-3"… See the full description on the dataset page: https://huggingface.co/datasets/Mxode/CSDN-C_Language-2013_2023.Chinese-StackOverflow-QA-C_Language
中文 StackOverflow C 语言问答数据集
💻 Github Repo
基本信息
本数据集提供了两个子集:
translated:原数据集 Mxode/StackOverflow-QA-C-Language-40k 的中文翻译版本,数量约 40K。
synthetic **(Default)**:在原数据集 Mxode/StackOverflow-QA-C-Language-40k 的基础上,重新扩充、合成的问答数据集,数量约 200K。
数据格式
请注意:两个子集的数据格式并不完全相同。
translated 子集:
{
"id": << 12位nanoid >>,
"question_en": << 用户提问(英文) >>,
"question_zh": << 用户提问(中文) >>,
"answer_en": << 用户回答(英文) >>,
"answer_zh": << 用户回答(中文) >>,
}
synthetic 子集:
{
"id": <<… See the full description on the dataset page: https://huggingface.co/datasets/Mxode/Chinese-StackOverflow-QA-C_Language.C-Language-Chat-Debug-Multiturn-Zh约 1300 条 C 语言 场景的 user - assistant 多轮对话。每段对话已经组织成了单行的格式。一条样例如下:
{
"id": 1045,
"conversation": [
{
"user": "你好,AI助手。我最近在写一个C语言程序,但是遇到了一些问题,希望你能帮我检查一下。",
"assistant": "你好,我很乐意帮助你。请把你的代码发给我,我会尽快检查并给出建议。"
},
{
"user": "好的,这是我的代码。这段代码的主要功能是计算斐波那契数列的前n项。",
"assistant": "让我看一下......嗯,这里有一个小错误。在第10行,你应该使用`++i`而不是`i++`来递增i的值。修改后的代码应该是这样的\\n```c\\nfor (int i = 0; i < n; ++i) {\\n if (i == 0 || i == 1) {\\n… See the full description on the dataset page: https://huggingface.co/datasets/Mxode/C-Language-Chat-Debug-Multiturn-Zh.StackOverflow-QA-C-Language-5kPS: More data (40k) can be found here Mxode/StackOverflow-QA-C-Language-40k.
This is a collection of ~5000 QA's in C Language from StackOverflow. The data has been initially cleaned, and each response is with Accepted Answer.
All data is <500 in length.
The questions and answers were organized into a one-line format. A sample format is shown below:
{
"question": "```\nFILE* file = fopen(some file)\n\npcap_t* pd = pcap_fopen_offline(file)\n\npcap_close(pd)\n\nfclose(file)\n```\n\nThis… See the full description on the dataset page: https://huggingface.co/datasets/Mxode/StackOverflow-QA-C-Language-5k.c_corpus_br_finetuning_language_model_deberta
Dataset Card for "c_corpus_br_finetuning_language_model_deberta"
More Information needed
