Does converting model to onnx format cause performance degradation of model?

オープン
#554 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

まず、Alibaba-NLP/gte-multilingual-base と onnx-community モデルを使用して TextEmbedding.add_custom_model() で報告された比較を再現し、次に同等のデータセット上で、それらの hit@1 の結果を元の Hugging Face モデルと比較します。変換またはモデル統合のどちらが性能低下の原因であるかを明らかにし、その根拠を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I just converted the unsupported model is Alibaba-NLP/gte-multilingual-base to onnx format to use fastembed via TextEmbedding.add_custom_model(), the result is that it works with this library. However, the problem is that I noticed that the performance of the embedding model dropped significantly when comparing the hit@1 score with the original HuggingFace model on my personal dataset, I also tried using the pre-converted model of onnx-community and the result is similar.

主要言語
Python
スター
3.3k
フォーク
314
平均マージ
5日 7時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

qdrant/fastembed のほかの issue

qdrant/fastembed の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。