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-generation to improve discoverability for text generation and summarization tasks on the Hugging Face Hub.
  • Adding library_name: transformers to 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 transformers example for this specific CoT Extractor model. This snippet demonstrates how to load and use the model with the transformers library, following best practices for Llama-3.1-Instruct models and using an example reasoning trace from the paper's context.
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment