| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This page provides specific evaluation methods for single-hop and multi-hop needle-in-a-haystack tasks.
Environment
Please use a environment with transformers >= 4.45.1 (to use YARN). see niah_requirements.txt.
And to avoid confict, please don't install XTuner in your environment, I have copy all useful files in xtuner.
Model Parameters
Please place the pretrained parameters of the model to be tested into ./xtuner/vision_niah/model_weights/.
Please pay extra attention to modifying the "rope_scaling": null in VideoChat-Flash-Qwen2-7B_res448/config.json to:
"rope_scaling": {
"type": "yarn",
"factor": 4.0,
"original_max_position_embeddings": 32768
}
Eval Datasets
Haystack Video
single-hop niah
bash vision_niah/flash_eval_xtuner_single.sh
multi-hop niah
bash vision_niah/flash_eval_xtuner_multi.sh
| Back | FazBrowse Home | New Git URL |