SyFox / PUSHING.md
Mr-DS-ML-85's picture
v3.9.1: engine port, 3 novel-gated fabrics (sst2/agnews/amazon), refreshed libsyfox_core.so
d61eb28 verified
|
Raw History Blame Contribute Delete
1.16 kB
# Pushing to HuggingFace
The latin substrate (`model/giant-latin/substrate.bin`, 112 MB) exceeds
HuggingFace's 100 MB non-LFS limit. `.gitattributes` already marks
`*.bin` as LFS — you only need git-lfs installed locally and the blob
re-staged as an LFS object:
```bash
git lfs install # once per machine
git rm --cached model/giant-latin/substrate.bin
git add model/giant-latin/substrate.bin # now stored as an LFS pointer
git commit --amend --no-edit
git remote add origin https://huggingface.co/<your-user>/syfox-hf
git push -u origin main
```
The three small substrates (bengali/devanagari/cyrillic, ~0.5-0.6 MB) are
under the same `*.bin` rule and will ride along as LFS objects too.
v3.2 adds two more model dirs — `model/b77-sem/substrate.bin` (~24 MB) and
`model/router16/substrate.bin` (~4 MB). If git-lfs is installed they are
picked up by the same `*.bin` rule automatically; the `git rm --cached` +
`git add` re-stage step is only needed for files committed BEFORE git-lfs
was installed (i.e. giant-latin).
If you clone this repo after the LFS push, run `git lfs pull` to fetch the
binaries.