Skip to content

Commit

Permalink
change default model and debug the erros that missing lib in requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
bachvudinh committed Aug 24, 2024
1 parent 95d397b commit f2cf869
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
model_id:
description: 'Model ID on huggingface, for example: jan-hq/Jan-Llama3-0708'
required: true
default: homebrewltd/llama3-s-2024-07-08
default: homebrewltd/llama3.1-s-instruct-v0.2
type: string
dataset_id:
description: 'Dataset ID on huggingface, for example: jan-hq/instruction-speech-conversation-test'
Expand Down Expand Up @@ -46,6 +46,13 @@ jobs:
with:
submodules: 'recursive'

- name: Extract Model Name
id: extract_model_name
run: |
MODEL_ID="${{ github.event.inputs.model_id }}"
MODEL_NAME=$(echo $MODEL_ID | rev | cut -d'/' -f 1 | rev)
echo "MODEL_NAME=$MODEL_NAME" >> $GITHUB_ENV
- name: Install dependencies
working-directory: ./tests
run: |
Expand Down Expand Up @@ -102,4 +109,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: audio-benchmark-results
path: ./AudioBench/benchmark_results/log/**/*.json
path: ./AudioBench/benchmark_results/log/${{ env.MODEL_NAME }}/*.json
11 changes: 9 additions & 2 deletions .github/workflows/test-models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
model_id:
description: 'Model ID on huggingface, for example: homebrewltd/llama3-s-2024-07-08'
required: true
default: homebrewltd/llama3-s-2024-07-08
default: homebrewltd/llama3.1-s-instruct-v0.2
type: string
dataset_id:
description: 'Dataset ID on huggingface, for example: jan-hq/instruction-speech-conversation-test'
Expand Down Expand Up @@ -43,6 +43,13 @@ jobs:
with:
submodules: 'recursive'

- name: Extract Model Name
id: extract_model_name
run: |
MODEL_ID="${{ github.event.inputs.model_id }}"
MODEL_NAME=$(echo $MODEL_ID | rev | cut -d'/' -f 1 | rev)
echo "MODEL_NAME=$MODEL_NAME" >> $GITHUB_ENV
- name: Install dependencies
working-directory: ./tests
run: |
Expand Down Expand Up @@ -99,4 +106,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: audio-benchmark-results
path: ./AudioBench/benchmark_results/log/**/*.json
path: ./AudioBench/benchmark_results/log/${{ env.MODEL_NAME }}/*.json
2 changes: 1 addition & 1 deletion AudioBench

0 comments on commit f2cf869

Please sign in to comment.