Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the paper consistent with the code? #4

Open
Alokia opened this issue Mar 3, 2025 · 0 comments
Open

Is the paper consistent with the code? #4

Alokia opened this issue Mar 3, 2025 · 0 comments

Comments

@Alokia
Copy link

Alokia commented Mar 3, 2025

In the paper, Collaboration Mode Determination $F_{\theta_t}$ is defined as $Q \to T$, but in the code it is $Q, {M} \to T$, and the LLM backbone is chosen only at the last step as written in the paper $F_{\theta_m} : (Q, T, {R}) \to {M}$, but in the code it is chosen at the first step $F_{\theta_m} : Q \to {M}$.

llms_num, log_probs = self.llm_allocation(queries_embedding, selected_tasks_emb, llms_embedding)
selected_llms_emb = llms_num @ llms_embedding / llms_num.sum(dim=1).unsqueeze(1)
selected_llms:List[List[Dict[str,str]]] = [[llms[idx] for idx, num in enumerate(row) for _ in range(int(num))] for row in llms_num]
selected_reason_idx, reason_log_probs = self.reasoning_selector(queries_embedding, selected_tasks_emb, selected_llms_emb, reasonings_embedding)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant