Update README.md
Browse files
README.md
CHANGED
|
@@ -30,4 +30,16 @@ Known Limitations: Cannot provide information in other languages and may h
|
|
| 30 |
|
| 31 |
8. License and Conditions of Use
|
| 32 |
License: [cc-by-nc-sa4.0]
|
| 33 |
-
Conditions of Use: The model is available for non-commercial and educational use. It is recommended to review the license terms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
8. License and Conditions of Use
|
| 32 |
License: [cc-by-nc-sa4.0]
|
| 33 |
+
Conditions of Use: The model is available for non-commercial and educational use. It is recommended to review the license terms.
|
| 34 |
+
|
| 35 |
+
## Ejemplo de Uso
|
| 36 |
+
|
| 37 |
+
Puedes interactuar con el modelo AdemGPT utilizando la biblioteca Transformers de Hugging Face. Aquí tienes un ejemplo simple de cómo generar texto:
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from transformers import pipeline
|
| 41 |
+
|
| 42 |
+
generator = pipeline('text-generation', model='tu_usuario/AdemGPT')
|
| 43 |
+
generated_text = generator("Una vez en un lugar lejano, ", max_length=100, num_return_sequences=1)
|
| 44 |
+
|
| 45 |
+
print(generated_text)
|