본문으로 건너뛰기

huggingface/trl

Train transformer language models with reinforcement learning.

https://skillcdn.ai/gh/huggingface/trl

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋7d2b4d5
  • 라이선스Apache-2.0
  • 검색단어

커밋 7d2b4d5 기준으로 보여 주고 있습니다

최신 커밋(041c3ea)을 색인하는 중입니다. 준비될 때까지 이 페이지와 모든 에이전트에는 마지막으로 색인된 커밋이 제공됩니다.
GitHub에서 보기

update-paper-index

Add or review a paper entry in TRL's paper index. Use when a PR implements a method, algorithm, or training approach from a research paper, or when reviewing such a PR.

경로
.agents/skills/update-paper-index/SKILL.md
라이선스
Apache-2.0

작성자를 위한 경고

  • Not listed or searched: a skill under a hidden directory is discoverable only when the repository has no visible skill.

Update the paper index

Any PR that implements a method, algorithm, or training approach from a research paper must add a corresponding subsection to docs/source/paper_index.md. When reviewing such a PR, check that the file was updated.

Entry format

The file is organized as one ## section per method family (usually one per trainer), each holding ### subsections, one per paper.

Each entry contains:

  1. The paper title as the ### heading.
  2. A paper link line, using the Hugging Face paper page (same ID as arXiv), never an arxiv.org link:
    **📜 Paper**: https://huggingface.co/papers/<id>
    
  3. A few sentences on what the paper introduces and how it maps to TRL.
  4. A Python snippet showing the TRL config that reproduces the paper's setting, with the paper's hyperparameters quoted in comments:
    from trl import GRPOConfig, GRPOTrainer
    
    training_args = GRPOConfig(
        beta=0.001,  # "the KL coefficient to 0.001"
        num_generations=16,  # "For each question, we sample 16 outputs..."
    )
    
    When the paper doesn't specify hyperparameters, say so in a comment rather than inventing values.

Placement

  • If the paper belongs to an existing method family, add it under that ## section.
  • If it introduces a new trainer or family, add a new ## section with a one-line pointer to the trainer, e.g. Papers relating to the [GRPOTrainer].

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기