repo
stringlengths 12
37
| commit_hash
stringlengths 40
40
| context
stringlengths 207k
1M
| completion_file
stringlengths 4.78k
62.9k
| context_strategy
stringclasses 1
value | split_idxs
sequencelengths 10
10
|
---|---|---|---|---|---|
datamol-io__graphium | c7e38e216bb4b3e1b1c4c1a94c175b4b9f0dde55 | "# tests/mtl/test_mtl_architecture.py\n\n\"\"\"\nUnit tests for the different architectures of goli/(...TRUNCATED) | "from goli.trainer.metrics import MetricWrapper\nfrom typing import Dict, List, Any, Union, Any, Cal(...TRUNCATED) | path_distance | [
2821,
3095,
3357,
5035,
6215,
6441,
6477,
7400,
9045,
9418
] |
datamol-io__graphium | 0c0ec2a80a73dcf19df8b8f8748a7c06e94b3524 | "# docs/tutorials/model_training/ipu_training_demo.py\n\n# General imports\nimport os\nfrom os.path (...TRUNCATED) | "from typing import Union\nfrom typing import Optional\n\nimport os\nimport io\nimport platformdirs\(...TRUNCATED) | path_distance | [
2278,
2452,
2557,
2831,
3020,
4131,
5216,
5521,
5556,
6430
] |
datamol-io__graphium | 0c0ec2a80a73dcf19df8b8f8748a7c06e94b3524 | "# docs/tutorials/model_training/ipu_training_demo.py\n\n# General imports\nimport os\nfrom os.path (...TRUNCATED) | "import torch\nfrom copy import deepcopy\nfrom typing import Callable, Union, Optional, Dict, Any\nf(...TRUNCATED) | path_distance | [
2055,
2507,
2816,
4311,
5396,
5581,
6716,
8258,
8397,
9297
] |
datamol-io__graphium | bc8b8c8f2267a327c3acda941b452d43e168394e | "nels=out_dim_edges,\n out_channels=out_dim,\n num_layers=num_output_layers,\n(...TRUNCATED) | "from typing import Iterable, List, Dict, Tuple, Union, Callable, Any, Optional, Type\n\nfrom copy i(...TRUNCATED) | path_distance | [
2763,
3190,
3614,
5086,
6507,
6848,
6879,
7980,
9128,
9994
] |
datamol-io__graphium | 0c0ec2a80a73dcf19df8b8f8748a7c06e94b3524 | "# docs/tutorials/model_training/ipu_training_demo.py\n\n# General imports\nimport os\nfrom os.path (...TRUNCATED) | "from typing import Union, Callable, Optional, Type, Tuple, Iterable\nfrom copy import deepcopy\nfro(...TRUNCATED) | path_distance | [
2601,
2949,
3179,
4632,
5880,
6201,
6248,
7431,
9334,
9481
] |
clueless-community__scrape-up | 1923d2b36e79abdf3885c676719394de0b280b0b | "# test/GithubTest.py\n\nfrom scrape_up import github\n\nclass UserTest():\n\n def __init__(self,(...TRUNCATED) | "import bs4\nfrom bs4 import BeautifulSoup\nimport requests\n\n\"\"\"\n Create an instance o(...TRUNCATED) | path_distance | [
2131,
2439,
2972,
3298,
3388,
3870,
6005,
6688,
6791,
6817
] |
clueless-community__scrape-up | afbc8c3d022450e17135ef9760ca6d7c2197bd4e | "# test/GithubTest.py\n\nfrom scrape_up import github\n\nclass UserTest():\n\n def __init__(self,(...TRUNCATED) | "from urllib.request import Request, urlopen\nfrom bs4 import BeautifulSoup as soup\n\n\nclass UTC:\(...TRUNCATED) | path_distance | [
1320,
1460,
1617,
2461,
3110,
3252,
3775,
4704,
6236,
6359
] |
clueless-community__scrape-up | 37f04df0397eb4b8c49f9596ba2c6dfd9a9c2ff6 | "# test/GithubTest.py\n\nfrom scrape_up import github\n\nclass UserTest():\n\n def __init__(self,(...TRUNCATED) | "import requests\nfrom bs4 import BeautifulSoup as bs\n\n\nclass HackerRank:\n \"\"\"\n First,(...TRUNCATED) | path_distance | [
1791,
2099,
2329,
3625,
4278,
4423,
4980,
6008,
6124,
7374
] |
clueless-community__scrape-up | 1efdec2179452d90958b142b4e662d03d0e40414 | "# test/GithubTest.py\n\nfrom scrape_up import github\n\nclass UserTest():\n\n def __init__(self,(...TRUNCATED) | "from bs4 import BeautifulSoup\nfrom pprint import pprint\nimport json\nimport requests\n\nclass Dev(...TRUNCATED) | path_distance | [
2473,
2874,
3187,
4757,
5716,
5942,
7227,
8720,
8996,
10031
] |
clueless-community__scrape-up | dc166193b21798786b302173b15cb62d10622b1e | "# test/GithubTest.py\n\nfrom scrape_up import github\n\nclass UserTest():\n\n def __init__(self,(...TRUNCATED) | "from urllib.request import Request, urlopen\nfrom bs4 import BeautifulSoup as soup\n\nclass TopGain(...TRUNCATED) | path_distance | [
1453,
1581,
1732,
2317,
2808,
2994,
3436,
4141,
5520,
5628
] |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 33