Download annotations/annotation_10/function_info.json from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_10/function_info.json
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_10/function_info.json
-
curl -L -o function_info.json https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_10/function_info.json
1.36 kB
| [ | |
| { | |
| "function_name": "simpo_loss", | |
| "file_path": "SimPO/scripts/simpo_loss_calc.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "to", | |
| "functionality": "Moves the input tensor to the specified device (e.g., CPU, GPU).", | |
| "input": "tensor (torch.FloatTensor), device (accelerator_device)", | |
| "output": "tensor (torch.FloatTensor)", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "logsigmoid", | |
| "functionality": "Applies the logarithm of the sigmoid function to the input tensor.", | |
| "input": "input (torch.Tensor)", | |
| "output": "output (torch.Tensor)", | |
| "location_or_namespace": "torch.nn.functional" | |
| }, | |
| { | |
| "function_call_name": "relu", | |
| "functionality": "Applies the Rectified Linear Unit (ReLU) function element-wise. Specifically, `relu(x) = max(0, x)`.", | |
| "input": "input (torch.Tensor)", | |
| "output": "output (torch.Tensor)", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "detach", | |
| "functionality": "Returns a new tensor, detached from the current graph. The result will never require gradient.", | |
| "input": "tensor (torch.FloatTensor)", | |
| "output": "tensor (torch.FloatTensor)", | |
| "location_or_namespace": "torch" | |
| } | |
| ] | |
| } | |
| ] | |