CodeGen icon indicating copy to clipboard operation
CodeGen copied to clipboard

Reference implementation of code generation projects from Facebook AI Research. General toolkit to apply machine learning to code, from dataset creation to model training and evaluation. Comes with pr...

Results 38 CodeGen issues
Sort by recently updated
recently updated
newest added

part of install_env.sh refers to a file "requirements-notorch.txt" the pip install can't find this file. Please let me know how to get this file.

Hello, I'm trying to run the command for full model training in transcoder-ir.md, and the program is indicating that the cpp-rust parallel dataset is missing. I would like to inquire...

Hi, I am continuously getting the below error when I try to run ``` pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ ``` ``` Using pip 23.1.2 from /home/meghna/miniconda3/envs/codegen_3_10/lib/python3.10/site-packages/pip (python...

Would the team be able to also share the checkpoints for `-LLVM IR` and `LLVM IR-` checkpoints similar to those shared here? https://github.com/facebookresearch/CodeGen/blob/main/docs/TransCoder-IR.md#pre-trained-models

I have been using TransCoder for a few research papers lately and I came across an interesting phenomenon using the pretrained model "TransCoder_model_1.pth" you provide in your docs. For the...

When I run the evaluation script you listed in readme: ```cmd MODEL="" python codegen_sources/model/train.py \ --exp_name transcoder_eval \ --dump_path '' \ --data_path './data/test_dataset' \ #here I the validation set you...

``` Traceback (most recent call last): File "/home/ki-nismr/C2OpenMP/m2/CodeGen/codegen_sources/model/train.py", line 1064, in main(params) File "/home/ki-nismr/C2OpenMP/m2/CodeGen/codegen_sources/model/train.py", line 902, in main encoder, decoder = build_model(params, data["dico"]) File "/home/ki-nismr/anaconda3/envs/codegen_3_10/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return...

CLA Signed

Hi! I'm just wondering if you could release the parallel dataset generated by TransCoder-ST. It takes a long time to generate and filter out translations from the whole GitHub dataset....

```bash Traceback (most recent call last): File "/home/pana/github.com/facebookresearch/CodeGen/codegen_sources/model/train.py", line 1020, in main(params) File "/home/pana/github.com/facebookresearch/CodeGen/codegen_sources/model/train.py", line 872, in main trainer = EncDecTrainer(encoder, decoder, data, params) File "/home/pana/github.com/facebookresearch/CodeGen/codegen_sources/model/src/trainer.py", line 1350, in __init__...

CLA Signed

Hi, We recently trained the original transcoder model (python-java only), and while the metrics looked good, the translation was not good. Using TransCoder_model_1 for translation, it is possible to translate...