Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
@@ -20,10 +20,6 @@ The project uses the following pipelines from the `transformers` library:
|
|
20 |
|
21 |
1. **Text Generation Pipeline**:
|
22 |
- **Model**: The model adapts based on the selected language. For English, it uses the `microsoft/Phi-3-mini-4k-instruct` model, while for Arabic, it employs the `ALLaM-AI/ALLaM-7B-Instruct-preview` model.
|
23 |
-
- The pipeline is configured for text generation with parameters optimized for creative outputs, including:
|
24 |
-
- `max_new_tokens`: Limits the length of the generated story.
|
25 |
-
- `do_sample`: Enables sampling to enhance creativity.
|
26 |
-
- `top_k` and `top_p`: Control the diversity of generated text.
|
27 |
|
28 |
## Instructions for Using the Interface
|
29 |
1. **Input Fields**:
|
@@ -40,8 +36,7 @@ The project uses the following pipelines from the `transformers` library:
|
|
40 |
- **Pipeline Configuration**: The parameters for the text generation pipeline were chosen to encourage creativity and engagement, essential for children's stories.
|
41 |
|
42 |
## Bilingual Implementation
|
43 |
-
The project supports both English and Arabic languages, allowing users to receive stories in their preferred language.
|
44 |
|
45 |
---
|
46 |
|
47 |
-
Feel free to customize this README file further to meet your project's specific needs or to add any additional information you find relevant!
|
|
|
1 |
---
|
2 |
+
title: Story Generation
|
3 |
emoji: π
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
|
|
20 |
|
21 |
1. **Text Generation Pipeline**:
|
22 |
- **Model**: The model adapts based on the selected language. For English, it uses the `microsoft/Phi-3-mini-4k-instruct` model, while for Arabic, it employs the `ALLaM-AI/ALLaM-7B-Instruct-preview` model.
|
|
|
|
|
|
|
|
|
23 |
|
24 |
## Instructions for Using the Interface
|
25 |
1. **Input Fields**:
|
|
|
36 |
- **Pipeline Configuration**: The parameters for the text generation pipeline were chosen to encourage creativity and engagement, essential for children's stories.
|
37 |
|
38 |
## Bilingual Implementation
|
39 |
+
The project supports both English and Arabic languages, allowing users to receive stories in their preferred language.
|
40 |
|
41 |
---
|
42 |
|
|