jdev8 commited on
Commit
e4fb011
1 Parent(s): fd4803c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -2
README.md CHANGED
@@ -33,6 +33,39 @@ configs:
33
  - split: test
34
  path: data/test-*
35
  ---
36
- # Dataset Card for "lca-module-to-text"
37
 
38
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  - split: test
34
  path: data/test-*
35
  ---
36
+ # LCA (module-to-text)
37
 
38
+ This is the data for module-to-text benchmark as part of LCA.
39
+
40
+ ## How-to
41
+
42
+ 1. List all the available configs via [`datasets.get_dataset_config_names`](https://huggingface.co/docs/datasets/v2.14.3/en/package_reference/loading_methods#datasets.get_dataset_config_names) and choose an appropriate one
43
+
44
+
45
+ 3. Load the data via [`load_dataset`](https://huggingface.co/docs/datasets/v2.14.3/en/package_reference/loading_methods#datasets.load_dataset):
46
+
47
+ ```
48
+ from datasets import load_dataset
49
+
50
+ dataset = load_dataset("JetBrains-Research/lca-module-to-text")
51
+ ```
52
+
53
+ ## Dataset Structure
54
+
55
+ Each example has the following fields:
56
+
57
+ | **Field** | **Description** |
58
+ |:---------------------------:|:----------------------------------------:|
59
+ | `repo` | Name of repository |
60
+ | `target_text` | Target text (doc file) |
61
+ | `docfile_name` | Name of file name with target doc |
62
+ | `doc_type` | Type of target doc |
63
+ | `intent` | Instruction for generation |
64
+ | `license` | License of target repo |
65
+ | `relevant_code_files` | Pathes to relevant code files |
66
+ | `relevant_code_dir` | Pathes to relevant code dirs |
67
+ | `path_to_docfile` | Path to file with documentation |
68
+ | `relevant_code_context` | Relevant code context |
69
+
70
+
71
+ Note: you may collect and use your own relevant context. Our context may not be suitable. Folder with zipped repositories can be found in Files and versions