Commit
路
996d6f4
1
Parent(s):
9df5ec3
Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ datasets:
|
|
5 |
language:
|
6 |
- es
|
7 |
library_name: adapter-transformers
|
8 |
-
pipeline_tag:
|
9 |
tags:
|
10 |
- code
|
11 |
---
|
@@ -16,6 +16,43 @@ tags:
|
|
16 |
<img width="460" height="300" src="https://dev2bit.com/wp-content/themes/lovecraft_child/assets/icons/dev2bit_monitor2.svg">
|
17 |
</p>
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
Desarrollado por dev2bit, `es2bash-mt5` es un modelo transformador de lenguaje que tiene la capacidad de predecir el comando Bash 贸ptimo dada una solicitud en lenguaje natural en espa帽ol. Este modelo representa un gran avance en la interacci贸n humano-computadora, proporcionando una interfaz de lenguaje natural para los comandos del sistema operativo Unix.
|
20 |
|
21 |
## Sobre el modelo
|
@@ -49,4 +86,6 @@ Agradecemos sus contribuciones! Puede ayudar a mejorar es2bash-mt5 de varias for
|
|
49 |
|
50 |
* Probar el modelo y reportar cualquier problema o sugerencia en la secci贸n de Issues.
|
51 |
* Mejorando la documentaci贸n.
|
52 |
-
* Proporcionando ejemplos de uso.
|
|
|
|
|
|
5 |
language:
|
6 |
- es
|
7 |
library_name: adapter-transformers
|
8 |
+
pipeline_tag: translation
|
9 |
tags:
|
10 |
- code
|
11 |
---
|
|
|
16 |
<img width="460" height="300" src="https://dev2bit.com/wp-content/themes/lovecraft_child/assets/icons/dev2bit_monitor2.svg">
|
17 |
</p>
|
18 |
|
19 |
+
Developed by dev2bit, es2bash-mt5 is a language transformer model that is capable of predicting the optimal Bash command given a natural language request in Spanish. This model represents a major advancement in human-computer interaction, providing a natural language interface for Unix operating system commands.
|
20 |
+
|
21 |
+
## About the Model
|
22 |
+
|
23 |
+
es2bash-mt5 is a fine-tuning model based on mt5-small. It has been trained on the dev2bit/es2bash dataset, which specializes in translating natural language in Spanish into Bash commands.
|
24 |
+
|
25 |
+
This model is optimized for processing requests related to the commands:
|
26 |
+
|
27 |
+
* `cat`
|
28 |
+
* `ls`
|
29 |
+
* `cd`
|
30 |
+
|
31 |
+
## Usage
|
32 |
+
|
33 |
+
Below is an example of how to use es2bash-mt5 with the Hugging Face Transformers library:
|
34 |
+
|
35 |
+
```python
|
36 |
+
from transformers import pipeline
|
37 |
+
|
38 |
+
translator = pipeline('translation', model='dev2bit/es2bash-mt5')
|
39 |
+
|
40 |
+
request = "listar los archivos en el directorio actual"
|
41 |
+
translated = translator(request, max_length=512)
|
42 |
+
print(translated[0]['translation_text'])
|
43 |
+
```
|
44 |
+
This will print the Bash command corresponding to the given Spanish request.
|
45 |
+
|
46 |
+
## Contributions
|
47 |
+
We appreciate your contributions! You can help improve es2bash-mt5 in various ways, including:
|
48 |
+
|
49 |
+
* Testing the model and reporting any issues or suggestions in the Issues section.
|
50 |
+
* Improving the documentation.
|
51 |
+
* Providing usage examples.
|
52 |
+
|
53 |
+
---
|
54 |
+
|
55 |
+
|
56 |
Desarrollado por dev2bit, `es2bash-mt5` es un modelo transformador de lenguaje que tiene la capacidad de predecir el comando Bash 贸ptimo dada una solicitud en lenguaje natural en espa帽ol. Este modelo representa un gran avance en la interacci贸n humano-computadora, proporcionando una interfaz de lenguaje natural para los comandos del sistema operativo Unix.
|
57 |
|
58 |
## Sobre el modelo
|
|
|
86 |
|
87 |
* Probar el modelo y reportar cualquier problema o sugerencia en la secci贸n de Issues.
|
88 |
* Mejorando la documentaci贸n.
|
89 |
+
* Proporcionando ejemplos de uso.
|
90 |
+
|
91 |
+
|