Code Monkey home page Code Monkey logo

bigcode-analysis's Issues

[Near Deduplication] Benchmark

Provide results on large dataset with different near deduplication methods:

  1. minhash + lsh
  2. simhash
  3. any relevant methods

Details to be included:

  • tokenization method
  • method parameters
  • hardware
  • memory usage
  • time
  • duplication results, examples

Broken link

The link to python-all-license is broken in the data analysis readme.

[Near Deduplication] Tokenization

As we extend deduplication to a wide range of languages, what tokenization method to use will have an impact on the final results.

The current script uses a simple regex and uni-gram to perform minhash calculation. What are the consequences using a different configuration?

[Near Deduplication] Post processing

The current script building clusters of duplicates, but there are cases it might yield unwanted results:

When doc B is clustered under doc A's name, another doc C can also be clustered into B's name (AB, BC, C!~A), thus when we are deleting non "extreme"s from each cluster, we could end up having both A and B kept in the results.

A better way to delete duplicates is to find community within each connected components. This is used in https://github.com/src-d/gemini.

cannot import AttentionType from gpt2

Loading multi_query_experiments.profile_hf_generate results in

ImportError: cannot import name 'AttentionType' from 'transformers.models.gpt2.modeling_gpt2'

I find this puzzling since this class is not exported by transformers 4.20.0

Are you using a custom fork of transformers by chance?

github scraping speed limit

We have a speed limit for scraping github, repo homepages at least.
From one ip address it is around 2 repo per second, but it is only 2-3 times faster from 20 different IP addresses ( from the same datacenter, toolkit). A lot of status code 429, rate limiting events. I wonder if it is general github policy or or datacenter just got lucky?
Experiment code here https://github.com/bigcode-project/bigcode-analysis/blob/github_scraping_test/data_analysis/github_scraping_test/github_scrapping_test.ipynb

Maybe anyone can run this experiment on their ray cluster or just repeat the test any other way form their range of ip addresses?

Decontamination

Evaluation datasets like mbpp or HumanEval might be contained in the training set.

  • Exact dedup: Remove files containing the exact evaluation code.
  • Near dedup: Some of the tasks resemble popular Leetcode questions, how can we identify them at prompt level?

[Exact Substring Deduplication] Analysis

Near deduplication #7 only operates on file level. It is also possible for a file to be

  1. a substring of another file, while the minhash/simhash fingerprints being wildly different
  2. composed of multiple snippets from different sources

Do we do something about them, knowing they contains large chunks of repeated snippets?

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.