Update README.md
Browse files
README.md
CHANGED
|
@@ -5,4 +5,36 @@ datasets:
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
library_name: transformers
|
| 8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
library_name: transformers
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# T5-nl2cmd
|
| 11 |
+
|
| 12 |
+
This repository contains the trained model, fine-tuned from the [Flan-T5 base](https://huggingface.co/google/flan-t5-base) model, to generate command line instructions from natural language descriptions.
|
| 13 |
+
|
| 14 |
+
# Training data
|
| 15 |
+
|
| 16 |
+
- Tldr.sh pages - [tldr-dataset](https://huggingface.co/datasets/Edoigtrd/tldr-pages)
|
| 17 |
+
|
| 18 |
+
- nl2bash - [nl2bash](https://github.com/TellinaTool/nl2bash)
|
| 19 |
+
|
| 20 |
+
# Model
|
| 21 |
+
|
| 22 |
+
The model is fine-tuned from the [Flan-T5 base](https://huggingface.co/google/flan-t5-base) model.
|
| 23 |
+
|
| 24 |
+
It has been trained on a single Nvidia L4 from Scaleway, for 4 hours and 4 epochs.
|
| 25 |
+
|
| 26 |
+
The model aims to generate command line instructions from natural language descriptions.
|
| 27 |
+
|
| 28 |
+
# Results
|
| 29 |
+
|
| 30 |
+
| Metric | Flan-T5 - Nl2cmd |
|
| 31 |
+
|--------------------|------------|
|
| 32 |
+
| exact | 0.064 |
|
| 33 |
+
| rouge | 0.530054 |
|
| 34 |
+
| bleu | 0.177511 |
|
| 35 |
+
| levenstein average | 0.612479 |
|
| 36 |
+
| levenstein median | 0.608696 |
|
| 37 |
+
|
| 38 |
+
# License :
|
| 39 |
+
|
| 40 |
+
[Creative Commons cc-by-nc-sa 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
|