Remove stage-specific wording from model card
Browse files
README.md
CHANGED
|
@@ -1,52 +1,52 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
-
language: en
|
| 4 |
tags:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# DIGER RQ-VAE
|
| 13 |
|
| 14 |
-
This repository provides the
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
## Files
|
| 18 |
|
| 19 |
-
- `best_collision_model.pth`:
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
- lr: 1e-3
|
| 26 |
-
- weight_decay: 1e-4
|
| 27 |
-
- e_dim: 256
|
| 28 |
-
- num_emb_list: [256, 256, 256]
|
| 29 |
-
- layers: [2048, 1024, 512]
|
| 30 |
-
- beta: 0.25
|
| 31 |
-
- sk_epsilons: [0.003, 0.003, 0.003]
|
| 32 |
-
- sk_iters: 50
|
| 33 |
-
- vq_type: vq
|
| 34 |
-
- loss_type: mse
|
| 35 |
-
- dist: l2
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
| 44 |
-
- https://github.com/honghuibao2000/letter
|
| 45 |
|
| 46 |
-
##
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
+
- diger
|
| 4 |
+
- rq-vae
|
| 5 |
+
- generative-recommendation
|
| 6 |
+
- semantic-id
|
| 7 |
+
- recommendation
|
| 8 |
+
pipeline_tag: feature-extraction
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# DIGER RQ-VAE Checkpoint (instruments)
|
| 12 |
|
| 13 |
+
This repository provides the pretrained RQ-VAE checkpoint for **instruments** used in the paper:
|
| 14 |
+
|
| 15 |
+
**DIGER: Differentiable Semantic IDs for Generative Recommendation**
|
| 16 |
|
| 17 |
## Files
|
| 18 |
|
| 19 |
+
- `best_collision_model.pth`: released checkpoint from the DIGER RQ-VAE pretraining pipeline.
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
|
| 23 |
+
Download with `huggingface_hub`:
|
| 24 |
|
| 25 |
+
```python
|
| 26 |
+
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
ckpt_path = hf_hub_download(
|
| 29 |
+
repo_id="junchenfu/diger-rqvae-instruments",
|
| 30 |
+
filename="best_collision_model.pth",
|
| 31 |
+
)
|
| 32 |
+
```
|
| 33 |
|
| 34 |
+
The checkpoint can be loaded with the RQ-VAE implementation in the DIGER GitHub repository:
|
| 35 |
|
| 36 |
+
https://github.com/junchen-fu/DIGER
|
| 37 |
|
| 38 |
+
Please refer to the repository README for the full training configuration and commands.
|
|
|
|
| 39 |
|
| 40 |
+
## Embeddings
|
| 41 |
|
| 42 |
+
LLaMA embeddings used by DIGER should be generated following the procedure described in:
|
| 43 |
+
|
| 44 |
+
https://github.com/honghuibao2000/letter
|
| 45 |
+
|
| 46 |
+
## Dataset Note
|
| 47 |
+
|
| 48 |
+
The underlying recommendation datasets are publicly available from their original sources. Processed interaction data are not hosted in this model repository; they can be regenerated following the DIGER codebase.
|
| 49 |
+
|
| 50 |
+
## Citation
|
| 51 |
+
|
| 52 |
+
If you use this checkpoint, please cite the DIGER paper.
|