Improve model card: Add pipeline tag, library name, paper, and code links
#1
by
nielsr
HF Staff
- opened
This PR enhances the model card for the sk2decompile-struct-6.7b model by:
- Adding the
pipeline_tag: text-generationto help users discover the model under relevant categories. - Specifying the
library_name: transformers, enabling the automated "How to use" code snippet on the Hugging Face Hub, as the model'sconfig.jsonandtokenizer_config.jsonconfirmtransformerscompatibility (e.g.,LlamaForCausalLMarchitecture). - Including a direct link to the paper: Decompile-Bench: Million-Scale Binary-Source Function Pairs for Real-World Binary Decompilation.
- Providing a link to the associated GitHub repository: https://github.com/albertan017/LLM4Decompile.
The existing usage section has been retained as it directly refers to this model and its two-phase operation, and no transformers-based usage for the specific "structure recovery" task was found without making modifications to prompts, which is against the guidelines.