Add `library_name` to model card metadata
Browse filesThis PR improves the model card by adding the `library_name: transformers` metadata tag. This ensures that the model's compatibility with the Hugging Face Transformers library is explicitly stated, enabling the "how to use" widget on the model page with an automated code snippet.
README.md
CHANGED
|
@@ -1,17 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
base_model: fredzzp/open-dcoder-0.5B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- code-generation
|
| 6 |
- diffusion-model
|
| 7 |
- masked-diffusion
|
| 8 |
- code-correction
|
| 9 |
- python
|
| 10 |
-
|
| 11 |
-
- code
|
| 12 |
-
language:
|
| 13 |
-
- code
|
| 14 |
-
pipeline_tag: text-generation
|
| 15 |
---
|
| 16 |
|
| 17 |
# CDLM-0.5B
|
|
@@ -112,5 +113,4 @@ This model is licensed under the MIT License. See the [LICENSE](LICENSE) file fo
|
|
| 112 |
|
| 113 |
For questions and issues, please contact:
|
| 114 |
|
| 115 |
-
**Shuibai Zhang** <[email protected]>
|
| 116 |
-
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model: fredzzp/open-dcoder-0.5B
|
| 3 |
+
datasets:
|
| 4 |
+
- code
|
| 5 |
+
language:
|
| 6 |
+
- code
|
| 7 |
+
license: mit
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
tags:
|
| 10 |
- code-generation
|
| 11 |
- diffusion-model
|
| 12 |
- masked-diffusion
|
| 13 |
- code-correction
|
| 14 |
- python
|
| 15 |
+
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# CDLM-0.5B
|
|
|
|
| 113 |
|
| 114 |
For questions and issues, please contact:
|
| 115 |
|
| 116 |
+
**Shuibai Zhang** <[email protected]>
|
|
|