Critic Training pre-processing steps
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation, machine-learning
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Python
- Star
- 576
- Fork
- 69
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của salesforce/CodeRL
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 10/100
salesforce/CodeRL#65 ·
-
CodeRL模型谷歌云盘访问遭拒Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 10/100
salesforce/CodeRL#64 ·
-
Models - Access DeniedĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
salesforce/CodeRL#63 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
salesforce/CodeRL#61 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
salesforce/CodeRL#60 ·
Tất cả issue của salesforce/CodeRL
Issue tương tự
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vllm-project/vllm-metal#822 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vector-store
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
mem0ai/mem0#7461 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BasedHardware/omi#19047 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày