Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ORT training examples & add summarization example #383

Merged
merged 40 commits into from
Oct 2, 2022

Commits on May 13, 2022

  1. Inference with ORTModel

    JingyaHuang committed May 13, 2022
    Configuration menu
    Copy the full SHA
    68bfc28 View commit details
    Browse the repository at this point in the history
  2. Clean up unused imports

    JingyaHuang committed May 13, 2022
    Configuration menu
    Copy the full SHA
    fff8f5d View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Merge with main

    JingyaHuang committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    aae3939 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    265aebb View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. merge with main

    JingyaHuang committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    0873acc View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Merge with main

    JingyaHuang committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    7d3ef97 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    b730e75 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    b4fe02d View commit details
    Browse the repository at this point in the history
  2. Inference with ORTModel

    JingyaHuang committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    abc9f32 View commit details
    Browse the repository at this point in the history
  3. Clean up unused imports

    JingyaHuang committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    bedf01a View commit details
    Browse the repository at this point in the history
  4. Merge with main

    JingyaHuang committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    9640d73 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    90e4150 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e7ef16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    72bcff4 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    994c65b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5541571 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94082d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b6245b0 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Configuration menu
    Copy the full SHA
    b2ffff0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. ORTSeq2SeqTrainer refactoring - Inference with ORTModel (#359)

    * Override export of ORTSeq2SeqTrainer
    
    * Do not force download by default in ORTModel (#356)
    
    * Update OnnxConfigWithLoss wrapper
    
    * ORT optimizer refactorization (#294)
    
    * Refactorization of ORTOptimizer
    
    * Refactorization of ORTModel
    
    * Adapt examples according to refactorization
    
    * Adapt tests
    
    * Fix style
    
    * Remove quantizer modification
    
    * Fix style
    
    * Apply modifications from #270 for quantizer and optimizer to have same behavior
    
    * Add test for optimization of Seq2Seq models
    
    * Fix style
    
    * Add ort config saving when optimizing a model
    
    * Add ort config saving when quantizing a model
    
    * Add tests
    
    * Fix style
    
    * Adapt optimization examples
    
    * Fix readme
    
    * Remove unused parameter
    
    * Adapt quantization examples
    
    * Fix quantized model and ort config saving
    
    * Add documentation
    
    * Add model configuration saving to simplify loading of optimized model
    
    * Fix style
    
    * Fix description
    
    * Fix quantization tests
    
    * Remove opset argument which is onnx config default opset when exporting with ORTModels
    
    * Fix import (#360)
    
    * Fix export of decoders
    
    * Add flag to export only decoders
    
    * Fix ORTTrainer inference ort subclass parsing
    
    * Fix filenames when empty suffix given (#363)
    
    * fix(optimization): handle empty file suffix
    
    * fix(quantization): handle empty file suffix
    
    * use pathlibfor save_dir
    
    * run test again
    
    * Update optimum/onnxruntime/quantization.py
    
    Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
    
    * ReRun test that failed because of cache (network)
    
    Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
    
    * Override the evaluation and prediction loop in ORTSeq2SeqTrainer
    
    * Fix documentation (#369)
    
    * fix class
    
    * Update optimization.mdx
    
    * Fix label smoother device prob
    
    * Fix lm_logits and labels dimension mismatch
    
    * Clean up
    
    Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
    Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
    Co-authored-by: Pierre Snell <ierezell@gmail.com>
    Co-authored-by: Pierre Snell <pierre.snell@botpress.com>
    Co-authored-by: Philipp Schmid <32632186+philschmid@users.noreply.github.com>
    6 people authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    9a925c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c72938c View commit details
    Browse the repository at this point in the history
  3. Fix onnx config test

    JingyaHuang committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    5670e92 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    05ec3ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c46b550 View commit details
    Browse the repository at this point in the history
  3. Add summarization example

    JingyaHuang committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    b1f9bbe View commit details
    Browse the repository at this point in the history
  4. Enable ORT inference

    JingyaHuang committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    bc294e4 View commit details
    Browse the repository at this point in the history
  5. Fix inference args

    JingyaHuang committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    16ae9a7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    c7ecead View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. merge with main branch

    JingyaHuang committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    72b73de View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    73d3aaa View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    3c1d0f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Configuration menu
    Copy the full SHA
    7e5933e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a5f823 View commit details
    Browse the repository at this point in the history
  3. Update README of summarization

    Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
    JingyaHuang and regisss authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    2f9b581 View commit details
    Browse the repository at this point in the history
  4. Update summarization/README.md

    Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
    JingyaHuang and regisss authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    574c8da View commit details
    Browse the repository at this point in the history
  5. Fix typo

    Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
    JingyaHuang and regisss authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    d851119 View commit details
    Browse the repository at this point in the history
  6. Fix logger consistency

    JingyaHuang committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    8f62197 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1907f52 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6825122 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    0dd43aa View commit details
    Browse the repository at this point in the history