Giter VIP home page Giter VIP logo

probes's People

Contributors

anjandash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

probes's Issues

Errors when loading pre-trained models

Thanks a lot for your great work. I met errors when loading CodeT5, PLBART-mtjava and PLBART-large models.
For codet5, I change the code as follows:
tokenizer = RobertaTokenizer.from_pretrained(modelname, cache_dir="~/tmp") model = T5ForConditionalGeneration.from_pretrained(modelname, config=config, cache_dir="~/tmp")

For PLBART-mtjava and PLBART-large models, I found a useful issue

Some problems about the paper

Hello, I have read your article carefully. It is a very interesting work, but I still have some problems.

(1)May I ask which dataset does "the test dataset provided by Ahmad et al. (2021a) consisting of 10k examples of Java functions and methods" refer to?
(2) What do the abbreviations of the datasets in this repo represent and how they are constructed?

Thank you for your time in advance!

AST node tagging

How are your AST node taggingextracted into the txt, and what does each column in the AST txt file represent?

errors when running probe_classifier.py

Hello, thanks a lot for your great work. When I run probe_classifier.py. There are some errors:
File "probe_classifier.py", line 205, in
train_X, train_y, dev_X, dev_y, test_X, test_y, feat_dim, num_classes, cat2id, id2cat = load_data()
File "probe_classifier.py", line 35, in load_data
feat_jsonl = json.loads(feat_jsonl)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

And I have no idea how to fix 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.