Datasets:
updates for readme
Browse files
README.md
CHANGED
@@ -1,3 +1,89 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license:
|
3 |
+
- other
|
4 |
+
pretty_name: >-
|
5 |
+
python copilot large coding dataset
|
6 |
+
dataset_info:
|
7 |
+
- config_name: view_schema
|
8 |
+
splits:
|
9 |
+
- name: schema
|
10 |
+
configs:
|
11 |
+
- config_name: view_schema
|
12 |
+
data_files:
|
13 |
+
- split: view_schema
|
14 |
+
path: files/files/lok-python-code-large-v1_00000013.parquet
|
15 |
+
size_categories:
|
16 |
+
- 100K<n<1M
|
17 |
+
tags:
|
18 |
+
- python-copilot
|
19 |
+
- python-coding
|
20 |
+
- fine-tuning
|
21 |
+
- training
|
22 |
+
- alpaca
|
23 |
+
- text
|
24 |
+
- coding
|
25 |
+
# supported task_categories
|
26 |
+
# text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, conversational, feature-extraction, text-generation, text2text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-retrieval, time-series-forecasting, text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, other
|
27 |
+
task_categories:
|
28 |
+
- text-generation
|
29 |
+
# supported task_ids
|
30 |
+
# acceptability-classification, entity-linking-classification, fact-checking, intent-classification, language-identification, multi-class-classification, multi-label-classification, multi-input-text-classification, natural-language-inference, semantic-similarity-classification, sentiment-classification, topic-classification, semantic-similarity-scoring, sentiment-scoring, sentiment-analysis, hate-speech-detection, text-scoring, named-entity-recognition, part-of-speech, parsing, lemmatization, word-sense-disambiguation, coreference-resolution, extractive-qa, open-domain-qa, closed-domain-qa, news-articles-summarization, news-articles-headline-generation, dialogue-generation, dialogue-modeling, language-modeling, text-simplification, explanation-generation, abstractive-qa, open-domain-abstractive-qa, closed-domain-qa, open-book-qa, closed-book-qa, slot-filling, masked-language-modeling, keyword-spotting, speaker-identification, audio-intent-classification, audio-emotion-recognition, audio-language-identification, multi-label-image-classification, multi-class-image-classification, face-detection, vehicle-detection, instance-segmentation, semantic-segmentation, panoptic-segmentation, image-captioning, image-inpainting, image-colorization, super-resolution, grasping, task-planning, tabular-multi-class-classification, tabular-multi-label-classification, tabular-single-column-regression, rdf-to-text, multiple-choice-qa, multiple-choice-coreference-resolution, document-retrieval, utterance-retrieval, entity-linking-retrieval, fact-checking-retrieval, univariate-time-series-forecasting, multivariate-time-series-forecasting, visual-question-answering, document-question-answering
|
31 |
+
task_ids:
|
32 |
+
- parsing
|
33 |
---
|
34 |
+
|
35 |
+
## Python Copilot Large Coding Dataset
|
36 |
+
|
37 |
+
This dataset is a subset of the matlok python copilot datasets. Please refer to the [Multimodal Python Copilot Training Overview](https://huggingface.co/datasets/matlok/multimodal-python-copilot-training-overview) for more details on how to use this dataset.
|
38 |
+
|
39 |
+
### Details
|
40 |
+
|
41 |
+
Each row contains python code, either a class method or a global function, imported modules, base classes (if any), exceptions (ordered based off the code), returns (ordered based off the code), arguments (ordered based off the code), and more.
|
42 |
+
|
43 |
+
- Rows: 2350782
|
44 |
+
- Size: 3.1 GB
|
45 |
+
- Data type: text
|
46 |
+
- Format: Extracted code using python AST
|
47 |
+
|
48 |
+
### Schema
|
49 |
+
|
50 |
+
```json
|
51 |
+
{
|
52 |
+
"args": "string",
|
53 |
+
"class_bases": "string",
|
54 |
+
"class_docstr": "string",
|
55 |
+
"class_docstr_tok": "string",
|
56 |
+
"class_name": "string",
|
57 |
+
"code": "string",
|
58 |
+
"code_tok": "string",
|
59 |
+
"docstr": "string",
|
60 |
+
"docstr_tok": "string",
|
61 |
+
"file_path": "string",
|
62 |
+
"filename": "string",
|
63 |
+
"imports": "string",
|
64 |
+
"is_member": "bool",
|
65 |
+
"label_desc": "string",
|
66 |
+
"label_desc_len": "int64",
|
67 |
+
"label_id": "string",
|
68 |
+
"lend": "int64",
|
69 |
+
"lstart": "int64",
|
70 |
+
"name": "string",
|
71 |
+
"num_all_bases": "float64",
|
72 |
+
"num_bases": "float64",
|
73 |
+
"num_classes": "float64",
|
74 |
+
"num_functions": "int64",
|
75 |
+
"num_imports": "int64",
|
76 |
+
"num_methods": "float64",
|
77 |
+
"raises": "string",
|
78 |
+
"returns": "string",
|
79 |
+
"total_objects": "int64"
|
80 |
+
}
|
81 |
+
```
|
82 |
+
|
83 |
+
### How to use the dataset
|
84 |
+
|
85 |
+
```python
|
86 |
+
from datasets import load_dataset
|
87 |
+
|
88 |
+
ds = load_dataset("matlok/python-copilot-training-from-many-repos-large", data_dir="files")
|
89 |
+
```
|