microsoft / microsoft/KBLaM

Question about eval parameter.

Open
#61 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
1.5k
Forks
125
Avg merge
22d 8m
Merged PRs (30d)
1

Description

  1. What is the difference of --llm_base_dir and --model_dir ?

https://github.com/microsoft/KBLaM/blob/65262680386c5e0218928ed6dd7fcf4736fc8043/experiments/eval.py#L337C6-L337C20

https://github.com/microsoft/KBLaM/blob/65262680386c5e0218928ed6dd7fcf4736fc8043/experiments/eval.py#L349C5-L349C48

Is llm_base_dir the original model dir and model_dir the output saved model like ...\stage1_lr_0.0001_KBTokenLayerFreq3_UseOutlier1_SepQueryHead_UseDataAug__KeyFromkey_all-MiniLM-L6-v2_enron_llama3_step_16000 ?

  1. Where is the --query_head_path ? How to get it ?

https://github.com/microsoft/KBLaM/blob/65262680386c5e0218928ed6dd7fcf4736fc8043/experiments/eval.py#L365

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with experiments/eval.py at the linked argument definitions around lines 337, 349, and 365, then trace where each parameter is consumed. The issue is done when the roles of --llm_base_dir and --model_dir and the source or generation process for --query_head_path are documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.