Download annotations/annotation_13/function_info.json from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_13/function_info.json
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_13/function_info.json
-
curl -L -o function_info.json https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_13/function_info.json
2.44 kB
| [ | |
| { | |
| "function_name": "DDPMDeletionLoss.importance_sampling_with_mixture", | |
| "file_path": "SISS/losses/ddpm_deletion_loss.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "torch.rand", | |
| "functionality": "Returns a tensor filled with random numbers from a uniform distribution on the interval [0, 1).", | |
| "input": "batch_size", | |
| "output": "A tensor of shape (batch_size,) with random values.", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "torch.empty_like", | |
| "functionality": "Returns an uninitialized tensor with the same size as the input tensor.", | |
| "input": "all_samples_dict['noisy_latents']", | |
| "output": "An uninitialized tensor with the same shape as `all_samples_dict['noisy_latents']`.", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "unet", | |
| "functionality": "The U-Net model that predicts the noise from a noisy input. This is an internal component of the diffusion model.", | |
| "input": "defensive_mixture_samples, timesteps, **conditioning, return_dict=False", | |
| "output": "A tuple where the first element is the predicted noise tensor.", | |
| "location_or_namespace": "" | |
| }, | |
| { | |
| "function_call_name": "torch.sum", | |
| "functionality": "Sums the elements of the input tensor along the given dimensions.", | |
| "input": "dist_x, dim=sum_dims", | |
| "output": "A tensor with the summed values.", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "torch.exp", | |
| "functionality": "Computes the exponential of each element in the input tensor.", | |
| "input": "dist_x - dist_a", | |
| "output": "A tensor with the element-wise exponential values.", | |
| "location_or_namespace": "torch" | |
| } | |
| ] | |
| }, | |
| { | |
| "function_name": "DDPMDeletionLoss.double_forward_with_neg_del", | |
| "file_path": "SISS/losses/ddpm_deletion_loss.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "unet", | |
| "functionality": "The U-Net model that predicts the noise from a noisy input. This is an internal component of the diffusion model.", | |
| "input": "all_samples_dict['noisy_latents'], timesteps, **conditioning, return_dict=False", | |
| "output": "A tuple where the first element is the predicted noise tensor.", | |
| "location_or_namespace": "" | |
| } | |
| ] | |
| } | |
| ] | |