Skip to content

Commit

Permalink
move model for export preparation to be able reuse in other exporters (
Browse files Browse the repository at this point in the history
…#1698)

* move model for export preparation to be able reuse in other exporters

* rename to utils.py

* Fix register decorator for task with past

* exporter_type -> exporter

* fix style

* add backward compatibility and warnings
  • Loading branch information
eaidova authored Feb 27, 2024
1 parent e0cbf7d commit 80e89f1
Show file tree
Hide file tree
Showing 4 changed files with 638 additions and 486 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
from optimum.onnxruntime import ORTTrainer, ORTTrainingArguments



""" Fine-tuning a 🤗 Transformers model for image classification"""

logger = logging.getLogger(__name__)
Expand Down
Loading

0 comments on commit 80e89f1

Please sign in to comment.