Download annotations/annotation_36/function_info.json from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 5.38 kB
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_36/function_info.json
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_36/function_info.json
-
curl -L -o function_info.json https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_36/function_info.json
5.38 kB
| [ | |
| { | |
| "function_name": "WukongLayer.__init__", | |
| "file_path": "model/pytorch/wukong.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "super().__init__", | |
| "functionality": "Call parent class initializer (nn.Module)", | |
| "input": "", | |
| "output": "None", | |
| "location_or_namespace": "torch.nn.Module" | |
| }, | |
| { | |
| "function_call_name": "LinearCompressBlock", | |
| "functionality": "", | |
| "input": "num_emb_in, num_emb_lcb", | |
| "output": "LinearCompressBlock instance", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "FactorizationMachineBlock", | |
| "functionality": "", | |
| "input": "num_emb_in, num_emb_fmb, dim_emb, rank_fmb, num_hidden, dim_hidden, dropout", | |
| "output": "FactorizationMachineBlock instance", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "nn.LayerNorm", | |
| "functionality": "Applies Layer Normalization over a mini-batch of inputs", | |
| "input": "dim_emb", | |
| "output": "LayerNorm instance", | |
| "location_or_namespace": "torch.nn" | |
| }, | |
| { | |
| "function_call_name": "ResidualProjection", | |
| "functionality": "", | |
| "input": "num_emb_in, num_emb_lcb + num_emb_fmb", | |
| "output": "ResidualProjection instance", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "nn.Identity", | |
| "functionality": "A placeholder identity operator that is argument-insensitive", | |
| "input": "", | |
| "output": "Identity instance", | |
| "location_or_namespace": "torch.nn" | |
| } | |
| ] | |
| }, | |
| { | |
| "function_name": "WukongLayer.forward", | |
| "file_path": "model/pytorch/wukong.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "self.lcb", | |
| "functionality": "", | |
| "input": "inputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "self.fmb", | |
| "functionality": "", | |
| "input": "inputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "torch.concat", | |
| "functionality": "Concatenate tensors along a specified dimension", | |
| "input": "(fmb, lcb), dim=1", | |
| "output": "Tensor", | |
| "location_or_namespace": "torch" | |
| }, | |
| { | |
| "function_call_name": "self.residual_projection", | |
| "functionality": "", | |
| "input": "inputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "self.norm", | |
| "functionality": "", | |
| "input": "outputs + self.residual_projection(inputs)", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| } | |
| ] | |
| }, | |
| { | |
| "function_name": "Wukong.__init__", | |
| "file_path": "model/pytorch/wukong.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "super().__init__", | |
| "functionality": "Call parent class initializer (nn.Module)", | |
| "input": "", | |
| "output": "None", | |
| "location_or_namespace": "torch.nn.Module" | |
| }, | |
| { | |
| "function_call_name": "Embedding", | |
| "functionality": "", | |
| "input": "num_sparse_emb, dim_emb, dim_input_dense", | |
| "output": "Embedding instance", | |
| "location_or_namespace": "model/pytorch/embedding.py" | |
| }, | |
| { | |
| "function_call_name": "WukongLayer", | |
| "functionality": "", | |
| "input": "num_emb_in, dim_emb, num_emb_lcb, num_emb_fmb, rank_fmb, num_hidden_wukong, dim_hidden_wukong, dropout", | |
| "output": "WukongLayer instance", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "MLP", | |
| "functionality": "", | |
| "input": "(num_emb_lcb + num_emb_fmb) * dim_emb, num_hidden_head, dim_hidden_head, dim_output, dropout", | |
| "output": "MLP instance", | |
| "location_or_namespace": "model/pytorch/mlp.py" | |
| } | |
| ] | |
| }, | |
| { | |
| "function_name": "Wukong.forward", | |
| "file_path": "model/pytorch/wukong.py", | |
| "function_calls": [ | |
| { | |
| "function_call_name": "self.embedding", | |
| "functionality": "", | |
| "input": "sparse_inputs, dense_inputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/embedding.py" | |
| }, | |
| { | |
| "function_call_name": "self.interaction_layers", | |
| "functionality": "", | |
| "input": "outputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/wukong.py" | |
| }, | |
| { | |
| "function_call_name": "Tensor.view", | |
| "functionality": "Reshapes the tensor to the specified shape", | |
| "input": "-1, (self.num_emb_lcb + self.num_emb_fmb) * self.dim_emb", | |
| "output": "Tensor", | |
| "location_or_namespace": "torch.Tensor" | |
| }, | |
| { | |
| "function_call_name": "self.projection_head", | |
| "functionality": "", | |
| "input": "outputs", | |
| "output": "Tensor", | |
| "location_or_namespace": "model/pytorch/mlp.py" | |
| } | |
| ] | |
| } | |
| ] | |