microsoft / onnxruntime-training-examples

Examples for using ONNX Runtime for model training.
MIT License
311 stars 62 forks source link

Update C# Training API Example to use ORT 1.16.0 #135

Closed carzh closed 1 year ago

carzh commented 1 year ago

Description

Updated the MobileBERT C# Training API example to use the pipeline package, which required a change to the .csproj files which details the dependencies. The pipeline package also included a minor code change, so Program.cs was updated accordingly. Also took this as a chance to clean up some comments in the example.

Motivation

Want to update the examples to use the soon-to-be publicly available packages.

Notes

Most of the commit history has already been merged into main. Only the last two reflect the changes that were made for the update