Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Tags:
code
Libraries:
Datasets
License:
gabeorlanski commited on
Commit
f19ab39
1 Parent(s): f58be9f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -55,8 +55,8 @@ BC-Transcoder supports:
55
  >>> load_dataset("gabeorlanski/bc-transcoder")
56
  DatasetDict({
57
  test: Dataset({
58
- features: ['qid', 'title', 'language', 'text', 'signature_with_docstring', 'signature', 'arguments', 'entry_fn_name', 'entry_cls_name', 'test_code'],
59
- num_rows: 2576
60
  })
61
  })
62
  ```
@@ -66,15 +66,14 @@ DatasetDict({
66
  - `qid`: The question ID used for running tests.
67
  - `title`: The title of the question.
68
  - `language`: The programming language of the example.
69
- - `text`: The description of the problem.
70
  - `signature`: The signature for the problem.
71
- - `signature_with_docstring`: The signature with the adequately formatted docstring for the given problem.
72
  - `arguments`: The arguments of the problem.
73
  - `entry_fn_name`: The function's name to use an entry point.
74
  - `entry_cls_name`: The class name to use an entry point.
75
  - `test_code`: The raw testing script used in the language. If you want to use this, replace `PLACEHOLDER_FN_NAME` (and `PLACEHOLDER_CLS_NAME` if needed) with the corresponding entry points. Next, replace `PLACEHOLDER_CODE_BODY` with the postprocessed prediction.
76
  - `source_py`: The source solution in Python.
77
  - `source_cpp`: The source in C++.
 
78
  ## Dataset Creation
79
  See section 2 of the [BabelCode Paper](https://arxiv.org/abs/2302.01973) to learn more about how the datasets are translated.
80
 
 
55
  >>> load_dataset("gabeorlanski/bc-transcoder")
56
  DatasetDict({
57
  test: Dataset({
58
+ features: ['qid', 'title', 'language', 'signature', 'arguments', 'entry_fn_name', 'entry_cls_name', 'test_code', 'source_py', 'source_cpp'],
59
+ num_rows: 8384
60
  })
61
  })
62
  ```
 
66
  - `qid`: The question ID used for running tests.
67
  - `title`: The title of the question.
68
  - `language`: The programming language of the example.
 
69
  - `signature`: The signature for the problem.
 
70
  - `arguments`: The arguments of the problem.
71
  - `entry_fn_name`: The function's name to use an entry point.
72
  - `entry_cls_name`: The class name to use an entry point.
73
  - `test_code`: The raw testing script used in the language. If you want to use this, replace `PLACEHOLDER_FN_NAME` (and `PLACEHOLDER_CLS_NAME` if needed) with the corresponding entry points. Next, replace `PLACEHOLDER_CODE_BODY` with the postprocessed prediction.
74
  - `source_py`: The source solution in Python.
75
  - `source_cpp`: The source in C++.
76
+
77
  ## Dataset Creation
78
  See section 2 of the [BabelCode Paper](https://arxiv.org/abs/2302.01973) to learn more about how the datasets are translated.
79