GithubHelp home page GithubHelp logo

h4iku / t5apr Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 19.56 MB

Repository for the paper "T5APR: Empowering Automated Program Repair across Languages through Checkpoint Ensemble."

Home Page: https://www.sciencedirect.com/science/article/abs/pii/S0164121224001286

License: MIT License

Python 100.00%
paper program-repair

t5apr's Issues

Unable to train the model, there is an issue with the dataset

After running "python train_model.py," I encountered the following issue. When I directly access this URL, it returns "Entry not found.

#python train_model.py 
CUDA available: True
CUDA version: 11.8
Traceback (most recent call last):
  File "train_model.py", line 31, in <module>
    raw_datasets = {
  File "train_model.py", line 32, in <dictcomp>
    prefix: load_dataset(data, split="train") for prefix, data in dataset_names.items()
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 2129, in load_dataset
    builder_instance = load_dataset_builder(
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1815, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1512, in dataset_module_factory
    raise e1 from None
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1489, in dataset_module_factory
    return HubDatasetModuleFactoryWithoutScript(
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1031, in get_module
    dataset_readme_path = cached_path(
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 182, in cached_path
    output_path = get_from_cache(
  File "/root/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 601, in get_from_cache
    raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")
ConnectionError: Couldn't reach https://huggingface.co/datasets/h4iku/coconut_java2006_preprocessed/resolve/76a94c2ccfd933177a62d8d5a5eea4ce4b84af34/README.md (error 503)

Request for Missing 'tools' Folder

I noticed that the project seems to be missing the 'tools' folder, and when running the code, I encountered a FileNotFoundError for the file /root/T5APR-main/tools/tree-sitter-lib/vendor/tree-sitter-python/src/parser.c. It appears that the 'tools' folder is necessary for the correct functioning of the code.
Could you please share the missing 'tools' folder or provide instructions on how to obtain it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.