File size: 1,157 Bytes
d61eb28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.