File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
27
+ - name : git config
28
+ shell : bash
29
+ run : |
30
+ git config --global user.email "csukuangfj@gmail.com"
31
+ git config --global user.name "Fangjun Kuang"
32
+
33
+ - name : FireRed ASR fp16
34
+ shell : bash
35
+ env :
36
+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
37
+ run : |
38
+ GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/csukuangfj/sherpa-onnx-fire-red-asr-large-zh_en-2025-02-16 hf
39
+
40
+ git lfs install
41
+ git clone https://www.modelscope.cn/csukuangfj/sherpa-onnx-fire-red-asr-large-zh_en-fp16-2025-02-16.git ms
42
+
43
+ d=sherpa-onnx-fire-red-asr-large-zh_en-fp16-2025-02-16
44
+ git clone https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/$d
45
+ mv -v hf/test_wavs $d
46
+ mv -v hf/README.md $d
47
+ mv -v hf/tokens.txt $d
48
+ mv -v ms/*.onnx $d
49
+
50
+ pushd $d
51
+ git lfs track "*.onnx"
52
+ git lfs track "*.wav"
53
+ git status
54
+ git add .
55
+ git commit -m "add models"
56
+ ls -lh
57
+ git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/$d main
58
+ popd
59
+
60
+ rm -rf $d/.git
61
+ rm -rf $d/.gitattributes
62
+ tar cjvf $d.tar.bz2 $d
63
+
27
64
- name : Zipformer CTC (non-streaming)
65
+ if : false
28
66
shell : bash
29
67
run : |
30
68
git lfs install
You can’t perform that action at this time.
0 commit comments