updated dvc.yaml file for reflink error #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###uncomment below lines to use CML | |
name: train-NLP-ML-usecase | |
on: [push] | |
jobs: | |
run: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: iterative/setup-cml@v1 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: cml_run | |
env: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
# Your ML workflow commands | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
dvc repro -v ## v >>> verbose | |
echo "# REPORTS" >> report.md | |
echo "## metrics" >> report.md | |
cat scores.json >> report.md | |
cml comment create report.md ## >> CML COMMAND USE TO COMMENT ON LAST COMMIT |