Dataset Viewer
github_url
stringclasses 2
values | commit
stringclasses 2
values | query
stringlengths 49
128
| answer
sequencelengths 1
3
|
---|---|---|---|
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | What is the purpose of the StoreLossCallback entity? | [
"tests/trainer/test_trainer_distributed_loss.py",
"tests/trainer/test_trainer.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | What is the purpose of the close_to_int function? | [
"torch/testing/_internal/common_methods_invocations.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | How can I use the sample_inputs_slice function in my project? | [
"torch/testing/_internal/common_methods_invocations.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | How does the MockCudaOOMCallback function work in handling out-of-memory errors during CUDA operations? | [
"tests/trainer/test_trainer.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | What is the purpose of the sample_inputs_tensor_split entity? | [
"torch/testing/_internal/common_methods_invocations.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | What is the purpose of the ForCausalLMLoss entity? | [
"tests/trainer/test_trainer.py",
"src/transformers/modeling_utils.py",
"src/transformers/loss/loss_utils.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | How does the sample_inputs_hsplit function transform the input data? | [
"torch/testing/_internal/common_methods_invocations.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | What is the purpose of the sample_inputs_vsplit entity? | [
"torch/testing/_internal/common_methods_invocations.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | How can I fix potential issues related to the input shape or data type when using the LSTMCellF class? | [
"test/test_jit_fuser_te.py",
"test/test_jit.py",
"test/test_jit_fuser.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | What is the purpose of the is_local_dist_rank_0 entity? | [
"src/transformers/modeling_utils.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | What is the purpose of the _is_peft_model entity and how does it determine if a model is PEFT (Parameter-Efficient Fine-Tuning)? | [
"src/transformers/trainer.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | How can I fix the issue related to the implementation of the TestAutogradForwardModeBatchedGrad entity in the codebase? | [
"test/test_autograd.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | What is the purpose of the define_custom_op_for_test function? | [
"test/inductor/test_torchinductor.py"
] |
https://github.com/pytorch/pytorch.git | bd9c436c99683d601c45cc6fc41c08c0ede56be4 | What are the different ways to use the register_ops_with_aoti_compile function? | [
"test/inductor/test_torchinductor.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | How does the UtilsFunctionsTest class ensure the correctness of the utility functions it is testing? | [
"tests/generation/test_utils.py"
] |
https://github.com/huggingface/transformers | 4e63a1747ce6a4b5f75e8d2318857c2b76c3ba23 | What is the purpose of the GenerationIntegrationTests class? | [
"tests/models/t5/test_modeling_tf_t5.py",
"tests/generation/test_utils.py"
] |
README.md exists but content is empty.
- Downloads last month
- 74