please add huggingface args in unstructured.partition.xx functions
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- huggingface, python
調査の方向性
partition_image の例から始め、リクエストで指定された unstructured.partition.xx 関数をたどり、その後、それらのモデルのダウンロードが現在どのように設定を受け取っているかを確認します。必要な Hugging Face 引数を確認し、関連する関数インターフェースを一貫して更新します。完了の条件は、呼び出し元が環境変数だけに依存せずに、エンドポイント、キャッシュ、タイムアウトの動作を制御でき、新しい引数をテストでカバーできていることです。
索引モデルが issue の本文から書いたものです。
説明
I use os.environ to make unstructured know that i need use diffrent huggingface endpoint ,but it didn't work.
my code is these:
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"
os.environ["HF_HOME"] = "/workspace/huggingface_cache_dir"
os.environ["HF_HUB_DOWNLOAD_TIMEOUT"] = "300"
os.environ["HF_HUB_OFFLINE"] = "0"
elements = partition_image(
filename="test_img.png",
languages=["eng","chi_sim"],
text_as_text=False,
include_metadata=True,
)
It still going to huggingface to download models
but my network can't view the official huggingface web site
is there someone tell me how to make it right?
thanks a lot
- 主要言語
- HTML
- スター
- 15.8k
- フォーク
- 1.4k
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Unstructured-IO/unstructured のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Unstructured-IO/unstructured#4876 ·
メンテナーはふだん 6 日以内に返信
-
bug: partition_email() raises io.UnsupportedOperation on a file-like object that cannot seek対応中かも @Bensonluo が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Unstructured-IO/unstructured#4864 ·
メンテナーはふだん 6 日以内に返信
-
fix(nlp): match single-letter bullets in the enumerated bullet pattern対応中かも @Eapp1e が 33 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Unstructured-IO/unstructured#4635 ·
メンテナーはふだん 6 日以内に返信
-
bug(cleaners): translate_text passes text instead of chunk in attention window loop対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
Unstructured-IO/unstructured#4558 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
extract_text_before/extract_text_after raise UnboundLocalError when the pattern is absent対応中かも @ayam04 が 103 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Unstructured-IO/unstructured#4427 · コメント 3 件 ·
メンテナーはふだん 6 日以内に返信
Unstructured-IO/unstructured の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
easystats/performance#1038 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
NVIDIA/physicsnemo#2354 ·
メンテナーはふだん 2 日以内に返信
-
ai-generated tests
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
data good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 92/100