Views
No views yet
google-t5/t5-base and fine-tuned on the AL-GR/AL-GR-v1 dataset using the FORGE framework for 4 training epochs.| Model | HR@20 | HR@100 | HR@500 | HR@1000 |
|---|---|---|---|---|
| Forge-Qwen 2.5-0.5B-Base-s1 | 0.0506 | 0.1277 | 0.2602 | 0.3068 |
| Forge-T5-Base-s1 | 0.0284 | 0.0689 | 0.1372 | 0.1557 |
Note: HR@K denotes Hit Rate at K — the proportion of test queries for which the correct answer appears in the top-K retrieved/generated results.
huggingface_hub library:1import os
2os.environ["HF_ENDPOINT"] = "https://hf-mirror.com" # Optional: use mirror for faster download in some regions
3os.environ["KMP_DUPLICATE_LIB_OK"] = "True"
4
5from huggingface_hub import snapshot_download
6
7snapshot_download(
8 repo_id='AL-GR/Forge-T5-Base-s1',
9 local_dir='{YOUR_LOCAL_DIR}', # Replace with your desired local path
10 local_dir_use_symlinks=False,
11)load_checkpoint_from field in the JSON config file:algr/config/generate_t5base_3layer_tiny.json"load_checkpoint_from": "{YOUR_LOCAL_DIR}"Replace{YOUR_LOCAL_DIR}with the actual local path where you downloaded the model.
1@article{fu2025forge,
2 title={FORGE: Forming Semantic Identifiers for Generative Retrieval in Industrial Datasets},
3 author={Fu, Kairui and Zhang, Tao and Xiao, Shuwen and Wang, Ziyang and Zhang, Xinming and Zhang, Chenchi and Yan, Yuliang and Zheng, Junjun and others},
4 journal={arXiv preprint arXiv:2509.20904},
5 year={2025}
6}