Views
No views yet
| File | Description |
|---|---|
checkpoint_best.pth | Pretrained VICReg encoder checkpoint (CLIP-ViT-B/32 backbone, 675 MB) |
finalogy_demo_instances.zip | Demo K-line instances for quick inference testing |
| Method | 52D Alignment |
|---|---|
| Barlow Twins | 0.785 |
| SimSiam | 0.814 |
| VICReg (ours) | 0.910 |
52D Alignment measures cosine similarity between retrieved results and the query in the 52-dimensional morphological feature space — higher is better. VICReg achieves the best morphological alignment among all compared methods.
1import torch
2from huggingface_hub import hf_hub_download
3
4# Download checkpoint
5ckpt_path = hf_hub_download(
6 repo_id="ZiyaZhao/FinAlogy",
7 filename="checkpoint_best.pth"
8)
9
10# Load encoder
11checkpoint = torch.load(ckpt_path, map_location="cpu")
12# See https://github.com/nice-zzy/FinAlogy for full inference pipeline