Improve model card: Add pipeline tag, library_name, and sample usage
#1
by
nielsr
HF Staff
- opened
This PR enhances the model card for bebr2/RACE-CoT-Extractor-Llama-8B by:
- Adding the
pipeline_tag: text-generationto improve discoverability for text generation and summarization tasks on the Hugging Face Hub. - Adding
library_name: transformersto correctly identify its compatibility with the Hugging Face Transformers library, enabling the automated "how to use" widget. - Including a sample usage code snippet. Although the original GitHub README details the full RACE framework, it doesn't provide a direct
transformersexample for this specific CoT Extractor model. This snippet demonstrates how to load and use the model with thetransformerslibrary, following best practices forLlama-3.1-Instructmodels and using an example reasoning trace from the paper's context.