Limit of code generation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Start with the demo script and its model.generate(**inputs, max_length=128) call; inspect how max_length and the default of 20 constrain generation. Done means establishing whether whole-function generation without a fixed maximum is supported and, if so, defining the requested behavior without exponential runtime.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The settings for "model.generate" in the demo script are limiting the amount of code which is generated. The current settings:
model.generate(**inputs, max_length=128)
isn't able to create a function with more than 10 lines of code. Setting a max_length of 32k or higher will increase the calc time in an exponential manner. Is there a way to just return the whole code without setting max_length? The default value for max_length is 20 ... that will only return 1 or 2 lines of code. If the model even usable for functions which are bigger than 20 - 30 lines of code?
- Ngôn ngữ chính
- Python
- Star
- 5.2k
- Fork
- 420
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
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/CodeGen
-
Verify evals on Papers with Code Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
salesforce/CodeGen#107 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
salesforce/CodeGen#104 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
salesforce/CodeGen#101 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 48/100
salesforce/CodeGen#95 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
salesforce/CodeGen#94 · 8 bình luận ·
Tất cả issue của salesforce/CodeGen
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100