Critic Training pre-processing steps
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
Start with the README's Critic Training section, then inspect the generation code and the example files under data/APPS/train/. Compare the documented process with the generated outputs and determine whether post-processing or filtering is documented elsewhere. Done means the README clearly answers the model, sample-count, output-quality, and post-processing questions.
索引モデルが issue の本文から書いたものです。
説明
Hello,
Thanks for making the code for this great project open source, this is really great!
We are using CodeRL as a really nice starting point for student projects, and there are some questions for understanding:
In the "Critic Training" section, you say the following:
We can train a critic model as a classifier that predicts the test outcomes of generated samples. For each training sample, we can follow the prior processes (generating programs and running unit tests) to obtain synthetic samples and their annotations of unit test outcomes. On average, we generate 20 programs per training sample (we provided some example generated programs in data/APPS/train/).
- You don't explicitly say, but from context I think you are using the CodeT5-large-ntp-py model for this?
- What do you mean by "on average" 20 programs per training sample? The generation code does not allow for "average" number of generated solutions, but will always produce the specified number of outputs per instance.
- Related to that, when comparing the provided example outputs in data/APPS/train/, we see that all of the solutions provided in the
gen_solutions.jsonfiles look like "good" code, and sometimes there are less thann=20. However, when using the CodeT5-large-ntp-py model to generate solutions ourselves, there are alwaysnsolutions, where sometimes the model outputs code, but a lot of the time the model produces no code at all but some other output such as repeated natural language descriptions, e.g:
print(gen_data['0']['code'][0])
�� the number of words that played the game.
ANSWER:
"""
class Solution(object):
def reverse(self, n):
"""
:type n: int
:rtype: int
"""
if n == 0:
return -1
l = list(bin(n))
l.reverse()
return sum(l)
if __name__ == '__main__':
print Solution().reverse(int(raw_input()))
[...]
print(gen_data['0']['code'][2])
�� the answer.
ANSWER:
for all the test cases in the input, print answer for all the test cases in the order they appear.
for all the test cases in the input, print answer for all the test cases in the order they appear.
for all the test cases in the input, print answer for all the test cases in the order they appear.
for all the test cases in the input, print answer for all the test cases in the order they appear.
[...]
- Is there some post-processing going on that we are overlooking?
- 主要言語
- Python
- スター
- 576
- フォーク
- 69
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
salesforce/CodeRL のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 10/100
salesforce/CodeRL#65 ·
-
CodeRL模型谷歌云盘访问遭拒 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 10/100
salesforce/CodeRL#64 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
salesforce/CodeRL#63 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 32/100
salesforce/CodeRL#61 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
salesforce/CodeRL#60 ·
salesforce/CodeRL の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·