repo
stringlengths 12
40
| commit_hash
stringlengths 40
40
| context
stringlengths 274k
1M
| completion_file
stringlengths 5.52k
85.9k
| context_strategy
stringclasses 1
value |
---|---|---|---|---|
paddlepaddle__paddlenlp | 737e4fa0e8464feda10439e3f5e95d9b4d95a43c | " vocab_size,\n hidden_size=768,\n num_hidden_layers=12,\n (...TRUNCATED) | "# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.\n\n# Licensed under the Apache Lice(...TRUNCATED) | path_distance |
paddlepaddle__paddlenlp | ff027096cf325f5412413db27722c1abc46a4ed5 | "opout = nn.Dropout(dropout if dropout is not None else 0.1)\n # num_labels = 2 (similar or d(...TRUNCATED) | "from functools import partial\nimport argparse\nimport os\nimport random\nimport time\nimport distu(...TRUNCATED) | path_distance |
paddlepaddle__paddlenlp | 48dee5154812fd9d16b6222fd16c0546ccf5070a | "nput_ids.extend(input_ids2)\n input_ids.append(tokenizer.sep_id)\n input_len2 = len(i(...TRUNCATED) | "# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.\n# Copyright 2018 The HuggingFace I(...TRUNCATED) | path_distance |
paddlepaddle__paddlenlp | 487162262196bead8d9b4c2306f313b8f64edf9b | " An instance of `paddlenlp.transformers.PPMiniLMModel`.\n num_classes (int, optional): (...TRUNCATED) | "# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.\r\n# Copyright 2021 The Fairseq Aut(...TRUNCATED) | path_distance |
paddlepaddle__paddlenlp | 487162262196bead8d9b4c2306f313b8f64edf9b | "pDataset\n\n\ndef create_dataloader(dataset,\n mode='train',\n (...TRUNCATED) | "import argparse\r\nimport os\r\n\r\nimport paddle\r\nfrom paddle.io import DataLoader\r\nfrom tqdm (...TRUNCATED) | path_distance |
transferwise__pipelinewise | 403675d45cf28b7fa323bdda70eae819784ed5b4 | " filepath,\n split_large_files=args.target.get('split_large_files'),\n (...TRUNCATED) | "import os\n\nfrom copy import deepcopy\nfrom unittest import TestCase, mock\n\nfrom pipelinewise im(...TRUNCATED) | path_distance |
twosixlabs__armory | 8121ab7b9d29dc505c31c4a1ba9d3f94cd1b2984 | "ations.shape == activation_shape\n\n # Then test with class constructor\n module = co(...TRUNCATED) | "\"\"\"\nModified ByteTrack (https://arxiv.org/pdf/2110.06864.pdf) by replacing YOLOX object \ndetec(...TRUNCATED) | path_distance |
twosixlabs__armory | 884ec6646d7d7c5f8b6e69b8a2dd58f4720591bf | "\"\n\n num_imgs = x.shape[0]\n attacked_images = []\n\n for i in range(num_img(...TRUNCATED) | "\"\"\"carla_obj_det_test dataset.\"\"\"\n\nimport collections\nimport json\nimport os\nfrom copy im(...TRUNCATED) | path_distance |
twosixlabs__armory | 4da43caf5af6a42c8e90a128ed57608d1297654d | "# tests/scenarios/broken/invalid_dataset_framework.json\n\n{\n \"_description\": \"\",\n \"ad(...TRUNCATED) | "from importlib import import_module\nfrom armory.logs import log\n\nfrom typing import NamedTuple, (...TRUNCATED) | path_distance |
twosixlabs__armory | 3729870a02b85483dd4afa96cdd2c440c0b41d6b | "l\",\n \"carla_depth_weights.pt\",\n {\"num_classes\": 4},\n {\n (...TRUNCATED) | "# ground truth labels for first 100 samples in the test set\nground_truth_100 = [\n \"BRIGHTER T(...TRUNCATED) | path_distance |
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
- 32