* quantize : fix load vocab crash when len is 128
* ci : add quantize job
name: whispercpp.jar
path: bindings/java/build/libs/whispercpp-*.jar
+ quantize:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Clone
+ uses: actions/checkout@v3
+
+ - name: Test quantize
+ run: |
+ ./models/download-ggml-model.sh tiny.en
+ make quantize
+ ./quantize models/ggml-tiny.en.bin models/ggml-tiny.en-q4_0.bin q4_0
+
# - name: Publish package
# if: ${{ github.ref == 'refs/heads/master' }}
# uses: gradle/gradle-build-action@v2
// return false;
//}
- char word[128];
+ char word[129];
for (int i = 0; i < n_vocab; i++) {
uint32_t len;