Skip to content

experiment-04 files added #64

experiment-04 files added

experiment-04 files added #64

Workflow file for this run

###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: Update Node.js to v16
run: sudo apt-get install -y nodejs npm
- name: cml_run & Install Dependencies and Reproduce DVC
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
- name: Comment on Last Commit
run: cml comment create report.md ## >> CML COMMAND USE TO COMMENT ON LAST COMMIT
env:
repo_token: ${{secrets.GITHUB_TOKEN}}