We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffe4a15 commit 9294c3bCopy full SHA for 9294c3b
slime/backends/megatron_utils/loss.py
@@ -72,7 +72,6 @@ def get_log_probs_and_entropy(
72
total_lengths: list[int],
73
response_lengths: list[int],
74
with_entropy: bool = False,
75
- non_loss_data: bool = True,
76
) -> dict[str, list[torch.Tensor]]:
77
log_probs_list = []
78
entropy_list = []
@@ -105,8 +104,6 @@ def get_values(
105
104
unconcat_tokens: list[torch.Tensor],
106
107
108
- with_entropy: bool = False,
109
110
111
value_list = []
112
for logits_chunk, _ in get_responses(
0 commit comments