Hugging Face Hub does not support linking to a directory in the same repository in a markdown file, such a link gives a 404 error.
See for example the
./subdir link in here: README.md · juhoinkinen/github-vs-hfhub at main
The behaviour is different on GitHub; the
./subdir link works: GitHub - juhoinkinen/github-vs-hfhub
It’s not a big issue, but optimally the behaviour would be the same in both platforms. Noticed this when duplicating a repo from GitHub to HF Hub.