geeaiml commited on
Commit
2080af8
·
verified ·
1 Parent(s): d28df4e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md CHANGED
@@ -10,3 +10,29 @@ pinned: false
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
13
+ ### **AI Kids' Story Generator – English & Arabic**
14
+
15
+ #### **Project Objectives**
16
+ The AI Kids' Story Generator is designed to create fun and imaginative short stories for children. By inputting a character name and a setting, users can generate engaging stories in either English or Arabic. This project leverages advanced natural language processing techniques to provide a creative and interactive storytelling experience.
17
+
18
+ #### **Implemented Pipelines**
19
+ The project utilizes text generation pipelines from the **Transformers** library:
20
+
21
+ - **Model Selection:**
22
+ - **English:** Utilizes the **microsoft/Phi-3-mini-4k-instruct** model for generating fluent and engaging English stories.
23
+ - **Arabic:** Employs the **ALLaM-AI/ALLaM-7B-Instruct-preview** model, optimized for Arabic language generation.
24
+
25
+ #### **How to Use the Interface**
26
+ 1. **Enter a Character Name:** Input the name of the main character.
27
+ 2. **Specify the Setting:** Choose a setting for the story (e.g., a magical forest).
28
+ 3. **Select Language:** Choose whether the story should be in English or Arabic.
29
+ 4. **Generate Story:** Click the "Submit" button to create a unique children's story. The generated story will be displayed in the "Kids' Story" textbox.
30
+ 5. **Use Examples:** Predefined examples are available to help users see how the generator works. Simply click on an example to populate the fields automatically.
31
+
32
+ #### **Justification for Model and Pipeline Choices**
33
+ - **Model Suitability:** The selected models are optimized for instruction-following tasks, making them ideal for generating structured and engaging narratives.
34
+ - **Pipeline Configuration:** Parameters are fine-tuned to encourage creativity and engagement, essential for crafting captivating children's stories.
35
+
36
+ #### **Bilingual Support**
37
+ The application supports both **English and Arabic**, enabling users to generate stories in their preferred language, making storytelling accessible to a wider audience.
38
+