Fangjun Kuang
Committed by GitHub

Upload fp16 onnx model files for FireRedASR (#2360)

@@ -24,7 +24,45 @@ jobs: @@ -24,7 +24,45 @@ jobs:
24 steps: 24 steps:
25 - uses: actions/checkout@v4 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 - name: Zipformer CTC (non-streaming) 64 - name: Zipformer CTC (non-streaming)
  65 + if: false
28 shell: bash 66 shell: bash
29 run: | 67 run: |
30 git lfs install 68 git lfs install