├── LETTER-LC-Rec ├── collator.py ├── config │ ├── ds_z2_bf16.json │ ├── ds_z2_fp16.json │ ├── ds_z3_bf16.json │ ├── ds_z3_bf16_save16bit.json │ ├── ds_z3_fp16.json │ └── ds_z3_fp16_save16bit.json ├── data.py ├── evaluate.py ├── lora_finetune.py ├── modeling_letter.py ├── prompt.py ├── run_test_ddp.sh ├── run_train.sh ├── test_ddp.py └── utils.py ├── LETTER-TIGER ├── ckpt │ └── TIGER │ │ ├── config.json │ │ ├── generation_config.json │ │ ├── spiece.model │ │ ├── tokenizer.json │ │ └── tokenizer_config.json ├── collator.py ├── data.py ├── evaluate.py ├── finetune.py ├── generation_trie.py ├── modeling_letter.py ├── run_test.sh ├── run_train.sh ├── test.py └── utils.py ├── README.md ├── RQ-VAE ├── .DS_Store ├── ckpt │ ├── CF_ckpt_process.ipynb │ └── Instruments-32d-sasrec.pt ├── datasets.py ├── generate_indices.py ├── main.py ├── models │ ├── layers.py │ ├── rq.py │ ├── rqvae.py │ └── vq.py ├── tokenize.sh ├── train_tokenizer.sh ├── trainer.py └── utils.py ├── data ├── Beauty │ ├── Beauty.index.json │ ├── Beauty.inter.json │ └── Beauty.item.json ├── Instruments │ ├── Instruments.index.json │ ├── Instruments.inter.json │ └── Instruments.item.json └── Yelp │ ├── Yelp.index.json │ ├── Yelp.inter.json │ └── Yelp.item.json └── data_process ├── amazon_text_emb.py └── utils.py /LETTER-LC-Rec/collator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/collator.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z2_bf16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z2_bf16.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z2_fp16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z2_fp16.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z3_bf16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z3_bf16.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z3_bf16_save16bit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z3_bf16_save16bit.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z3_fp16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z3_fp16.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/config/ds_z3_fp16_save16bit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/config/ds_z3_fp16_save16bit.json -------------------------------------------------------------------------------- /LETTER-LC-Rec/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/data.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/evaluate.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/lora_finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/lora_finetune.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/modeling_letter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/modeling_letter.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/prompt.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/run_test_ddp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/run_test_ddp.sh -------------------------------------------------------------------------------- /LETTER-LC-Rec/run_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/run_train.sh -------------------------------------------------------------------------------- /LETTER-LC-Rec/test_ddp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/test_ddp.py -------------------------------------------------------------------------------- /LETTER-LC-Rec/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-LC-Rec/utils.py -------------------------------------------------------------------------------- /LETTER-TIGER/ckpt/TIGER/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/ckpt/TIGER/config.json -------------------------------------------------------------------------------- /LETTER-TIGER/ckpt/TIGER/generation_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/ckpt/TIGER/generation_config.json -------------------------------------------------------------------------------- /LETTER-TIGER/ckpt/TIGER/spiece.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/ckpt/TIGER/spiece.model -------------------------------------------------------------------------------- /LETTER-TIGER/ckpt/TIGER/tokenizer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/ckpt/TIGER/tokenizer.json -------------------------------------------------------------------------------- /LETTER-TIGER/ckpt/TIGER/tokenizer_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/ckpt/TIGER/tokenizer_config.json -------------------------------------------------------------------------------- /LETTER-TIGER/collator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/collator.py -------------------------------------------------------------------------------- /LETTER-TIGER/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/data.py -------------------------------------------------------------------------------- /LETTER-TIGER/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/evaluate.py -------------------------------------------------------------------------------- /LETTER-TIGER/finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/finetune.py -------------------------------------------------------------------------------- /LETTER-TIGER/generation_trie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/generation_trie.py -------------------------------------------------------------------------------- /LETTER-TIGER/modeling_letter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/modeling_letter.py -------------------------------------------------------------------------------- /LETTER-TIGER/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/run_test.sh -------------------------------------------------------------------------------- /LETTER-TIGER/run_train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/run_train.sh -------------------------------------------------------------------------------- /LETTER-TIGER/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/test.py -------------------------------------------------------------------------------- /LETTER-TIGER/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/LETTER-TIGER/utils.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/README.md -------------------------------------------------------------------------------- /RQ-VAE/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/.DS_Store -------------------------------------------------------------------------------- /RQ-VAE/ckpt/CF_ckpt_process.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/ckpt/CF_ckpt_process.ipynb -------------------------------------------------------------------------------- /RQ-VAE/ckpt/Instruments-32d-sasrec.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/ckpt/Instruments-32d-sasrec.pt -------------------------------------------------------------------------------- /RQ-VAE/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/datasets.py -------------------------------------------------------------------------------- /RQ-VAE/generate_indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/generate_indices.py -------------------------------------------------------------------------------- /RQ-VAE/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/main.py -------------------------------------------------------------------------------- /RQ-VAE/models/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/models/layers.py -------------------------------------------------------------------------------- /RQ-VAE/models/rq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/models/rq.py -------------------------------------------------------------------------------- /RQ-VAE/models/rqvae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/models/rqvae.py -------------------------------------------------------------------------------- /RQ-VAE/models/vq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/models/vq.py -------------------------------------------------------------------------------- /RQ-VAE/tokenize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/tokenize.sh -------------------------------------------------------------------------------- /RQ-VAE/train_tokenizer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/train_tokenizer.sh -------------------------------------------------------------------------------- /RQ-VAE/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/trainer.py -------------------------------------------------------------------------------- /RQ-VAE/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/RQ-VAE/utils.py -------------------------------------------------------------------------------- /data/Beauty/Beauty.index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Beauty/Beauty.index.json -------------------------------------------------------------------------------- /data/Beauty/Beauty.inter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Beauty/Beauty.inter.json -------------------------------------------------------------------------------- /data/Beauty/Beauty.item.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Beauty/Beauty.item.json -------------------------------------------------------------------------------- /data/Instruments/Instruments.index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Instruments/Instruments.index.json -------------------------------------------------------------------------------- /data/Instruments/Instruments.inter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Instruments/Instruments.inter.json -------------------------------------------------------------------------------- /data/Instruments/Instruments.item.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Instruments/Instruments.item.json -------------------------------------------------------------------------------- /data/Yelp/Yelp.index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Yelp/Yelp.index.json -------------------------------------------------------------------------------- /data/Yelp/Yelp.inter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Yelp/Yelp.inter.json -------------------------------------------------------------------------------- /data/Yelp/Yelp.item.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data/Yelp/Yelp.item.json -------------------------------------------------------------------------------- /data_process/amazon_text_emb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data_process/amazon_text_emb.py -------------------------------------------------------------------------------- /data_process/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HonghuiBao2000/LETTER/HEAD/data_process/utils.py --------------------------------------------------------------------------------