--- dataset_info: features: - name: hash dtype: string - name: size dtype: int64 - name: ext dtype: string - name: lang dtype: string - name: is_test dtype: bool - name: repo_id dtype: string - name: repo_name dtype: string - name: repo_head dtype: string - name: repo_path dtype: string - name: content_tokens dtype: int64 - name: content_chars dtype: int64 - name: content dtype: string - name: __index_level_0__ dtype: int64 splits: - name: train num_bytes: 5736925269 num_examples: 284112 - name: test num_bytes: 710770657 num_examples: 35514 - name: eval num_bytes: 721961344 num_examples: 35514 download_size: 2050339485 dataset_size: 7169657270 license: cc task_categories: - text-generation - text2text-generation - text-classification language: - en tags: - solidity - test case - smart contract - ethereum pretty_name: Solidity Dataset size_categories: - 100K int: tokens = tokenizer.tokenize(code) return len(tokens) ``` The `is_test` calculated by detecting some regex patterns in the file content. More details will publish soon. ## License This dataset is released under the [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license](https://creativecommons.org/licenses/by-nc/4.0/). ## Citation Please use the following citation when referencing the this dataset: ``` @misc {seyyed_ali_ayati_2023, author = { {Seyyed Ali Ayati} }, title = { solidity-dataset (Revision 77e80ad) }, year = 2023, url = { https://huggingface.co/datasets/seyyedaliayati/solidity-dataset }, doi = { 10.57967/hf/0808 }, publisher = { Hugging Face } } ```