nielsr HF Staff commited on
Commit
82cab21
·
verified ·
1 Parent(s): 8e85a3e

Add pipeline tag and library_name to model card

Browse files

This PR enhances the model card by:
- Adding the `pipeline_tag: text-generation` to improve discoverability for code generation tasks on the Hugging Face Hub (e.g., at https://huggingface.co/models?pipeline_tag=text-generation).
- Specifying `library_name: transformers` in the metadata. This enables the automated "how to use" widget on the model page, providing a convenient code snippet for users, as the model's `config.json` indicates compatibility with `transformers` (e.g., `model_type: qwen2`, `architectures: ["Qwen2ForCausalLM"]`).

Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -1,8 +1,11 @@
1
  ---
2
- license: apache-2.0
3
  language:
4
  - en
 
 
 
5
  ---
 
6
  ## Alignment with Fill-In-the-Middle for Enhancing Code Generation
7
 
8
  <p align="center">
 
1
  ---
 
2
  language:
3
  - en
4
+ license: apache-2.0
5
+ pipeline_tag: text-generation
6
+ library_name: transformers
7
  ---
8
+
9
  ## Alignment with Fill-In-the-Middle for Enhancing Code Generation
10
 
11
  <p align="center">