huggingface/new-model-addition-cwm
https://skillcdn.ai/gh/huggingface/new-model-addition-cwm내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
main - 커밋
5baf598 - 라이선스
Apache-2.0 - 검색단어
저장소가 색인 한도보다 커서 일부 파일이 색인에서 빠졌습니다.
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 원문과 다른 언어로 검색하면 스킬의 번역에서도 찾아요.
폴더
문서
- _toctree.ymldocs/source/ja/_toctree.yml
- 🤗 Accelerate を用いた分散学習モデルが大きくなるにつれて、限られたハードウェアでより大きなモデルを訓練し、訓練速度を大幅に上昇させるための方法として並列処理が浮上してきました。1台のマシンに複数のGPUがあっても、複数のマシンにまたがる複数のGPUがあっても、あらゆるタイプの分散処理セットアップ上でユーザーが簡単に 🤗 Transformers モデルを訓練できるように、 Hugging Face では 🤗 Accele…docs/source/ja/accelerate.md
- How to add a model to 🤗 Transformers?🤗 Transformersライブラリは、コミュニティの貢献者のおかげで新しいモデルを提供できることがよくあります。 しかし、これは難しいプロジェクトであり、🤗 Transformersライブラリと実装するモデルについての深い知識が必要です。 Hugging Faceでは、コミュニティの多くの人々に積極的にモデルを追加する力を与えようと努力しており、 このガイドをまとめて、PyTorchモデ…docs/source/ja/add_new_model.md
- Attention mechanismほとんどのTransformerモデルは、アテンション行列が正方形であるという意味で完全なアテンションを使用します。 これは、長いテキストを扱う場合に計算のボトルネックとなることがあります。LongformerやReformerは、より効率的でトレーニングを高速化するためにアテンション行列のスパースバージョンを使用しようとするモデルです。docs/source/ja/attention.md
- AutoClassを使用して事前学習済みインスタンスをロードするさまざまなTransformerアーキテクチャが存在するため、自分のタスクに合ったモデルを作成するのは難しいことがあります。 🤗 Transformersのコア哲学の一環として、ライブラリを使用しやすく、シンプルで柔軟にするために、 AutoClassは与えられたチェックポイントから正しいアーキテクチャを自動的に推論してロードします。 from_pretrained()メソッドを使用すると、事…docs/source/ja/autoclass_tutorial.md
- BERTology大規模なトランスフォーマー、例えばBERTの内部動作を調査する研究領域が急成長しています(これを「BERTology」とも呼びます)。この分野の良い例は以下です:docs/source/ja/bertology.md
- Instantiating a big model非常に大規模な事前学習済みモデルを使用する場合、RAMの使用量を最小限に抑えることは課題の1つです。通常のPyTorchのワークフローは次のとおりです:docs/source/ja/big_models.md
- Chat TemplatesLLM(Language Model)のますます一般的な使用事例の1つは「チャット」です。 チャットのコンテキストでは、通常の言語モデルのように単一のテキストストリングを継続するのではなく、モデルは1つ以上の「メッセージ」からなる会話を継続します。 各メッセージには「ロール」とメッセージテキストが含まれます。docs/source/ja/chat_templating.md
- Communityこのページは、コミュニティによって開発された🤗 Transformersに関するリソースをまとめたものです。docs/source/ja/community.md
- Create a custom architectureAutoClassは、モデルのアーキテクチャを自動的に推論し、事前学習済みの設定と重みをダウンロードします。一般的には、チェックポイントに依存しないコードを生成するためにAutoClassを使用することをお勧めします。ただし、特定のモデルパラメータに対する制御をより詳細に行いたいユーザーは、いくつかの基本クラスからカスタム🤗 Transformersモデルを作成できます。これは、🤗 Tran…docs/source/ja/create_a_model.md
- Sharing custom models🤗 Transformersライブラリは、簡単に拡張できるように設計されています。すべてのモデルはリポジトリの特定のサブフォルダに完全にコード化されており、抽象化はありません。したがって、モデリングファイルをコピーして調整することが簡単です。docs/source/ja/custom_models.md
- Use tokenizers from 🤗 Tokenizers[PreTrainedTokenizerFast]は🤗 Tokenizersライブラリに依存しています。🤗 Tokenizersライブラリから取得したトークナイザーは、非常に簡単に🤗 Transformersにロードできます。docs/source/ja/fast_tokenizers.md
- Text generation strategiesテキスト生成は、オープンエンドのテキスト生成、要約、翻訳など、多くの自然言語処理タスクに不可欠です。また、テキストを出力とするさまざまな混在モダリティアプリケーションにも影響を与えており、例えば音声からテキストへの変換や画像からテキストへの変換などがあります。テキストを生成できるいくつかのモデルには、GPT2、XLNet、OpenAI GPT、CTRL、TransformerXL、XLM、Bar…docs/source/ja/generation_strategies.md
- Glossaryこの用語集は、一般的な機械学習と 🤗 トランスフォーマーの用語を定義し、ドキュメンテーションをより理解するのに役立ちます。docs/source/ja/glossary.md
- Hyperparameter Search using Trainer API🤗 Transformersは、🤗 Transformersモデルのトレーニングを最適化する[Trainer]クラスを提供し、独自のトレーニングループを手動で記述せずにトレーニングを開始するのが簡単になります。[Trainer]はハイパーパラメーター検索のAPIも提供しています。このドキュメントでは、それを例示します。docs/source/ja/hpo_train.md
- 🤗 TransformersPyTorch, TensorFlow, JAXのための最先端機械学習。docs/source/ja/index.md
- インストール使用しているDeep Learningライブラリに対して、🤗 Transformersをインストールしてキャッシュを設定、そしてオプションでオフラインで実行できるように 🤗 Transformersを設定します。docs/source/ja/installation.md
- Generation with LLMs[[open-in-colab]]docs/source/ja/llm_tutorial.md
- Model training anatomyモデルトレーニングの効率を向上させるために適用できるパフォーマンス最適化テクニックを理解するには、トレーニング中にGPUがどのように利用されるか、および実行される操作に応じて計算強度がどのように変化するかを理解することが役立ちます。docs/source/ja/model_memory_anatomy.md
- Share a Model最後の2つのチュートリアルでは、PyTorch、Keras、および🤗 Accelerateを使用してモデルをファインチューニングする方法を示しました。次のステップは、モデルをコミュニティと共有することです!Hugging Faceでは、知識とリソースを公開的に共有し、人工知能を誰にでも提供することを信じています。他の人々が時間とリソースを節約できるように、モデルをコミュニティと共有することを検…docs/source/ja/model_sharing.md
- The Transformer model family2017年に導入されて以来、元のTransformerモデルは、自然言語処理(NLP)のタスクを超える多くの新しいエキサイティングなモデルをインスパイアしました。タンパク質の折りたたまれた構造を予測するモデル、チーターを走らせるためのトレーニングするモデル、そして時系列予測のためのモデルなどがあります。Transformerのさまざまなバリアントが利用可能ですが、大局を見落とすことがあります。こ…docs/source/ja/model_summary.md
- 推論のための多言語モデル[[open-in-colab]]docs/source/ja/multilingual.md
- Padding and truncationバッチ入力はしばしば異なる長さであり、固定サイズのテンソルに変換できないため、変動する長さのバッチから長方形のテンソルを作成するための戦略として、パディングと切り詰めがあります。パディングは、短いシーケンスがバッチ内の最長シーケンスまたはモデルが受け入れる最大長と同じ長さになるように、特別なパディングトークンを追加します。切り詰めは、長いシーケンスを切り詰めることで逆方向に機能します。docs/source/ja/pad_truncation.md
- Load adapters with 🤗 PEFT[[open-in-colab]]docs/source/ja/peft.md
- Custom hardware for trainingモデルのトレーニングおよび推論に使用するハードウェアは、パフォーマンスに大きな影響を与えることがあります。GPUについて詳しく知りたい場合は、Tim Dettmerの優れたブログ記事をチェックしてみてください。docs/source/ja/perf_hardware.md
- Efficient Inference on CPUこのガイドは、CPU上で大規模なモデルの効率的な推論に焦点を当てています。docs/source/ja/perf_infer_cpu.md
- Efficient Inference on a Multiple GPUsこの文書には、複数のGPUで効率的に推論を行う方法に関する情報が含まれています。docs/source/ja/perf_infer_gpu_many.md
- Efficient Inference on a Single GPUこのガイドに加えて、1つのGPUでのトレーニングガイドとCPUでの推論ガイドに関連する情報があります。docs/source/ja/perf_infer_gpu_one.md
- Inference on Specialized Hardwareこちらのドキュメントは、専用のハードウェアでの推論方法についての情報がまもなく提供されます。その間に、CPUでの推論に関するガイドをご覧いただけます。the guide for inference on CPUs.docs/source/ja/perf_infer_special.md
- Optimize inference using torch.compile()このガイドは、torch.compile() を使用した推論速度の向上に関するベンチマークを提供することを目的としています。これは、🤗 Transformers のコンピュータビジョンモデル向けのものです。docs/source/ja/perf_torch_compile.md
- Efficient Training on CPUこのガイドは、CPU上で大規模なモデルを効率的にトレーニングする方法に焦点を当てています。docs/source/ja/perf_train_cpu.md
- Efficient Training on Multiple CPUs1つのCPUでのトレーニングが遅すぎる場合、複数のCPUを使用できます。このガイドは、PyTorchベースのDDPを使用した分散CPUトレーニングに焦点を当てています。docs/source/ja/perf_train_cpu_many.md
- Efficient Training on Multiple GPUs単一のGPUでのトレーニングが遅すぎる場合や、モデルの重みが単一のGPUのメモリに収まらない場合、複数のGPUを使用したセットアップが必要となります。単一のGPUから複数のGPUへの切り替えには、ワークロードを分散するためのある種の並列処理が必要です。データ、テンソル、またはパイプラインの並列処理など、さまざまな並列処理技術があります。ただし、すべてに適した一つの解決策は存在せず、最適な設定は使…docs/source/ja/perf_train_gpu_many.md
- Methods and tools for efficient training on a single GPUこのガイドでは、メモリの利用効率を最適化し、トレーニングを高速化することで、モデルのトレーニング効率を向上させるために使用できる実用的なテクニックを紹介します。トレーニング中にGPUがどのように利用されるかを理解したい場合は、最初に「モデルトレーニングの解剖学」のコンセプトガイドを参照してください。このガイドは実用的なテクニックに焦点を当てています。docs/source/ja/perf_train_gpu_one.md
- Training on Specialized Hardware注意: 単一GPUセクションで紹介されたほとんどの戦略(混合精度トレーニングや勾配蓄積など)およびマルチGPUセクションは一般的なトレーニングモデルに適用される汎用的なものですので、このセクションに入る前にそれを確認してください。docs/source/ja/perf_train_special.md
- Training on TPUs注意: シングルGPUセクションで紹介されているほとんどの戦略(混合精度トレーニングや勾配蓄積など)およびマルチGPUセクションは一般的なモデルのトレーニングに適用できますので、このセクションに入る前にそれを確認してください。docs/source/ja/perf_train_tpu.md
- Performance and Scalability大規模なトランスフォーマーモデルのトレーニングおよび本番環境への展開はさまざまな課題を提起します。 トレーニング中には、モデルが利用可能なGPUメモリよりも多くを必要としたり、トレーニング速度が遅かったりする可能性があります。 デプロイフェーズでは、モデルが本番環境で必要なスループットを処理するのに苦労することがあります。docs/source/ja/performance.md
- Perplexity of fixed-length models[[open-in-colab]]docs/source/ja/perplexity.md
- Philosophy🤗 Transformersは、次のような目的で構築された意見を持つライブラリです:docs/source/ja/philosophy.md
- Pipelines for inference[pipeline]を使用することで、Hubからの任意のモデルを言語、コンピュータビジョン、音声、およびマルチモーダルタスクの推論に簡単に使用できます。 特定のモダリティに関する経験がない場合や、モデルの背後にあるコードに精通していない場合でも、[pipeline]を使用して推論できます! このチュートリアルでは、次のことを学びます:docs/source/ja/pipeline_tutorial.md
- Webサーバー用のパイプラインの使用重要なことは、Webサーバーはリクエストを待機し、受信したように扱うシステムであるため、データセットのように、イテレータを使用できることです。docs/source/ja/pipeline_webserver.md
- Checks on a Pull Request🤗 Transformersリポジトリでプルリクエストを開くと、追加しているパッチが既存のものを壊していないことを確認するために、かなりの数のチェックが実行されます。これらのチェックには、次の4つのタイプがあります:docs/source/ja/pr_checks.md
- Preprocess[[open-in-colab]]docs/source/ja/preprocessing.md
- Quick tour[[open-in-colab]]docs/source/ja/quicktour.md
- Train with a script🤗 Transformersのnotebooksと一緒に、PyTorch、TensorFlow、またはJAX/Flaxを使用してモデルをトレーニングする方法を示すサンプルスクリプトもあります。docs/source/ja/run_scripts.md
- Export to ONNX🤗 Transformersモデルを本番環境に展開する際には、モデルを特殊なランタイムおよびハードウェアで読み込み、実行できるように、モデルをシリアライズされた形式にエクスポートすることが必要であるか、その恩恵を受けることができることがあります。docs/source/ja/serialization.md
제외됨 (50)
아래 매니페스트는 제공되지 않았습니다. 수정해서 푸시하면 다음 커밋부터 다시 색인됩니다.
docs/source/ar/attention.mdlink_missing2 links name no file of the repository (model_doc/reformer, model_doc/longformer)docs/source/ar/autoclass_tutorial.mdlink_missing2 links name no file of the repository (model_doc/layoutlmv2, model_doc/auto)docs/source/ar/community.mdlink_missinga link names no file of the repository (glossary)docs/source/ar/conversations.mdlink_missing2 links name no file of the repository (./quantization, ./llm_optims)docs/source/ar/create_a_model.mdlink_missing7 links name no file of the repository (model_doc/auto, main_classes/configuration, model_doc/distilbert, ...)docs/source/ar/custom_models.mdlink_missinga link names no file of the repository (model_sharing)docs/source/ar/fast_tokenizers.mdlink_missinga link names no file of the repository (main_classes/tokenizer)docs/source/ar/glossary.mdlink_missing7 links name no file of the repository (model_doc/dpt, perf_train_gpu_many#dataparallel-vs-distributeddataparallel, perf_train_gpu_many#from-naive-model-parallelism-to-pipeline-parallelism, ...)docs/source/ar/index.mdreference_limitMarkdown reference extraction exceeded its input or reference limit; some links were not inspecteddocs/source/ar/index.mdlink_missing200 links name no file of the repository (model_doc/albert, model_doc/align, model_doc/altclip, ...)docs/source/ar/llm_tutorial.mdlink_missing9 links name no file of the repository (tasks/language_modeling, pipeline_tutorial, main_classes/quantization, ...)docs/source/ar/llm_tutorial_optimization.mdlink_missinga link names no file of the repository (/main_classes/quantization)docs/source/ar/llm_tutorial_optimization.mdimage_missing2 images name no file of the repository (/blog/assets/163_optimize_llm/self_attn_tokens.png, /blog/assets/163_optimize_llm/alibi.png)docs/source/ar/model_memory_anatomy.mdlink_missinga link names no file of the repository (perf_train_gpu_one)docs/source/ar/model_sharing.mdlink_missing2 links name no file of the repository (installation, training)docs/source/ar/model_summary.mdlink_missing34 links name no file of the repository (model_doc/convnext, model_doc/vit, model_doc/swin, ...)docs/source/ar/modular_transformers.mdlink_missinga link names no file of the repository (./philosophy)docs/source/ar/peft.mdlink_missing2 links name no file of the repository (./quantization#bitsandbytes-integration, training)docs/source/ar/perplexity.mdlink_missing2 links name no file of the repository (model_summary, model_doc/gpt2)docs/source/ar/philosophy.mdlink_missing6 links name no file of the repository (main_classes/configuration, main_classes/model, main_classes/tokenizer, ...)docs/source/ar/pipeline_tutorial.mdlink_missing3 links name no file of the repository (training, ./pipeline_webserver, ./main_classes/pipelines#pipeline-chunk-batching)docs/source/ar/pipeline_webserver.mdlink_missing2 links name no file of the repository (pipeline_tutorial#using-pipelines-on-a-dataset, ./main_classes/pipelines#pipeline-batching)docs/source/ar/preprocessing.mdlink_missing15 links name no file of the repository (./main_classes/tokenizer, ./main_classes/feature_extractor, ./main_classes/image_processor, ...)docs/source/ar/quicktour.mdlink_missing11 links name no file of the repository (./model_doc/auto, ./main_classes/pipelines, ./training, ...)docs/source/ar/run_scripts.mdlink_missinga link names no file of the repository (./notebooks)docs/source/ar/serialization.mdlink_missinga link names no file of the repository (tflite)docs/source/ar/task_summary.mdlink_missing2 links name no file of the repository (glossary#convolution, glossary#token)docs/source/ar/tasks/language_modeling.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../generation_strategies)docs/source/ar/tasks/masked_language_modeling.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/multiple_choice.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/question_answering.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/sequence_classification.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/summarization.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../main_classes/text_generation)docs/source/ar/tasks/translation.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../main_classes/text_generation)docs/source/ar/tasks_explained.mdlink_missing30 links name no file of the repository (task_summary, model_doc/wav2vec2, model_doc/vit, ...)docs/source/ar/tokenizer_summary.mdlink_missing15 links name no file of the repository (preprocessing, model_doc/transfo-xl, model_doc/gpt2, ...)docs/source/ar/torchscript.mdlink_missinga link names no file of the repository (torchscript#using-torchscript-in-python)docs/source/ar/trainer.mdlink_missing4 links name no file of the repository (./main_classes/trainer, callbacks, ./main_classes/logging, ...)docs/source/ar/training.mdlink_missinga link names no file of the repository (notebooks)docs/source/ar/troubleshooting.mdlink_missing5 links name no file of the repository (migration, installation#offline-mode, main_classes/trainer#transformers.TrainingArguments.per_device_train_batch_size, ...)docs/source/de/add_new_model.mdlink_missing5 links name no file of the repository (Philosophie, pr_checks#check-copies, model_summary, ...)docs/source/de/autoclass_tutorial.mdlink_missing2 links name no file of the repository (model_doc/layoutlmv2, model_doc/auto)docs/source/de/contributing.mdlink_missinga link names no file of the repository (src/transformers/testing_utils.py)docs/source/de/index.mdlink_missing141 links name no file of the repository (model_doc/albert, model_doc/align, model_doc/bart, ...)docs/source/de/llm_tutorial.mdlink_missing6 links name no file of the repository (tasks/language_modeling, pipeline_tutorial, main_classes/quantization, ...)docs/source/de/model_sharing.mdlink_missing2 links name no file of the repository (installation, training)docs/source/de/peft.mdlink_missing2 links name no file of the repository (./quantization#bitsandbytes-integration, Training)docs/source/de/preprocessing.mdlink_missing7 links name no file of the repository (main_classes/tokenizer, glossary#input-ids, glossary#attention-mask, ...)docs/source/de/quicktour.mdlink_missing10 links name no file of the repository (./model_doc/auto, ./main_classes/pipelines, ./training, ...)docs/source/de/run_scripts.mdlink_missinga link names no file of the repository (./notebooks)