RASMUS/Finnish-ASR-Canary-v2
01.2k
1# Copyright (c) 2020-2025, NVIDIA CORPORATION.2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14HF_ORI_PATH=/home/TestData/llm/models/starcoder2_toy15NEMO_MODEL_TYPE=Starcoder2Model16NEMO_MODEL_CONFIG=Starcoder2Config15B17NEMO_OUTPUT_PATH=/tmp/output_nemo2_ckpt18HF_OUTPUT_PATH=/tmp/output_hf_ckpt19 20coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo tests/collections/llm/conversion/test_import_from_hf.py --hf-path=${HF_ORI_PATH} --model-type=${NEMO_MODEL_TYPE} --model-config=${NEMO_MODEL_CONFIG} --output-path=${NEMO_OUTPUT_PATH}21coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo tests/collections/llm/conversion/test_export_to_hf.py --nemo-path=${NEMO_OUTPUT_PATH} --original-hf-path=${HF_ORI_PATH} --output-path=${HF_OUTPUT_PATH}