Making it easier for users to get started with CTranslate2 models

オープン
#1,950 コメント 27 件 リアクション 3 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, huggingface, python

調査の方向性

Python バインディングと Generator エントリーポイントから始め、次にサポートされているモデルがどのように変換されるか、また依存関係の設定と自動化がどこで定義されているかを確認します。サポートされているモデルが HuggingFace パイプラインを通じてアップロードされ、huggingface_hub がオプションのままであり、示されている Generator の例で hf:// の読み込みメカニズムが機能すれば、作業は完了です。

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

説明

Problem
Currently, users must manually convert models before they can get started. This extra step creates unnecessary friction and makes onboarding more difficult than it needs to be.

Tasks

  • Create an organization in HuggingFace and add the CTranslate2 developers
  • Create a pipeline that automatically uploads to HuggingFace all the models supported converted to CTranslate2
  • Add huggingface_hub as an optional dependency to the Python bindings and provide a mechanism to load models from HuggingFace using a prefix like hf://

Example:
generator = ctranslate2.Generator("hf://ctranslate2/llama3-8b", device="cpu")

If somebody wants to get this task, it will be great

主要言語
C++
スター
4.8k
フォーク
557
平均マージ
1日 6時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

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

OpenNMT/CTranslate2 のほかの issue

OpenNMT/CTranslate2 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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