Add pipeline_tag and library_name for Czech GEC model
Browse filesThis PR updates the model card to:
* Set the `pipeline_tag` to `text-generation`, ensuring the model is correctly categorized and discoverable on the Hugging Face Hub for text generation tasks (e.g., Grammar Error Correction).
* Add `library_name: transformers`, which will enable the automatic display of a runnable code snippet for using the model with the 🤗 Transformers library, based on the existing sample usage provided in the model card.
Per the instructions, the existing arXiv paper links have been kept as there was no requirement to replace them with a Hugging Face paper link.
README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
language: cs
|
| 3 |
license: cc-by-nc-sa-4.0
|
| 4 |
tags:
|
| 5 |
- Czech
|
| 6 |
- GEC
|
| 7 |
- GECCC dataset
|
| 8 |
-
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for byt5-large-geccc-mate
|
|
@@ -69,8 +71,8 @@ print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|
|
| 69 |
|
| 70 |
```
|
| 71 |
@InProceedings{10.1007/978-3-032-02551-7_7,
|
| 72 |
-
author="Pechman, Petr and Straka, Milan and Strakov{\'a}, Jana and
|
| 73 |
-
editor="
|
| 74 |
title="Refining Czech GEC: Insights from a Multi-experiment Approach",
|
| 75 |
booktitle="Text, Speech, and Dialogue",
|
| 76 |
year="2026",
|
|
@@ -80,4 +82,4 @@ print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|
|
| 80 |
isbn="978-3-032-02551-7",
|
| 81 |
doi="10.1007/978-3-032-02551-7_7"
|
| 82 |
}
|
| 83 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: google/byt5-large
|
| 3 |
language: cs
|
| 4 |
license: cc-by-nc-sa-4.0
|
| 5 |
tags:
|
| 6 |
- Czech
|
| 7 |
- GEC
|
| 8 |
- GECCC dataset
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
library_name: transformers
|
| 11 |
---
|
| 12 |
|
| 13 |
# Model Card for byt5-large-geccc-mate
|
|
|
|
| 71 |
|
| 72 |
```
|
| 73 |
@InProceedings{10.1007/978-3-032-02551-7_7,
|
| 74 |
+
author="Pechman, Petr and Straka, Milan and Strakov{\'a}, Jana and Náplava, Jakub",
|
| 75 |
+
editor="Ekštein, Kamil and Konopík, Miloslav and Pražák, Ondřej and Pártl, František",
|
| 76 |
title="Refining Czech GEC: Insights from a Multi-experiment Approach",
|
| 77 |
booktitle="Text, Speech, and Dialogue",
|
| 78 |
year="2026",
|
|
|
|
| 82 |
isbn="978-3-032-02551-7",
|
| 83 |
doi="10.1007/978-3-032-02551-7_7"
|
| 84 |
}
|
| 85 |
+
```
|