NVIDIA-NeMo / NVIDIA-NeMo/RL

Use yaml instead of text file for prompt template

Open
#1,277 0 comments 0 reactions 1 assignee Claimed by @gshennvm View on GitHub
data module
Dominant language
Python
Stars
2k
Forks
561
Avg merge
4d 5h
Merged PRs (30d)
145

Description

similar to this https://github.com/NVIDIA/NeMo-Skills/blob/b01671c49d5daafb0bdf4edb97386de23bce3b70/nemo_skills/prompt/config/generic/hle.yaml#L5

usually files have a \n added to the end of the file which gets read into the prompt template without the user knowing. with text files for prompt template, I had to truncate the last character for me to match the template with verl `truncate -s -1 cot.txt`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.