sappho192 / onnx-hf-test

Onnx utilization code without PyTorch & Optimum dependency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onnx-hf-test

Onnx utilization code without PyTorch dependency

Note

This repository has been merged into [sappho192/ffxiv-ja-ko-translator].
If you want to find get some details and guides regarding these code, please check the repository above.

Description

This repository has complete code which can run EncoderDecoder type translator model(ORTModelForSeq2SeqLM) without HuggingFace.Optimum or PyTorch dependency.
Optimum provides ONNXRuntime-based inference but it currently depends on PyTorch [Link].
So I implemented some required functions in C# or Rust to run my model without Python, which means anyone can run my translator in their own computer.

Further description and updates will be on https://github.com/sappho192/ffxiv-ja-ko-translator .

About

Onnx utilization code without PyTorch & Optimum dependency

License:MIT License


Languages

Language:C# 54.5%Language:Python 32.9%Language:Rust 11.8%Language:PowerShell 0.9%