Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -10,4 +10,44 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
# 🏃 Storyteller AI
|
14 |
+
|
15 |
+
## Overview
|
16 |
+
Storyteller is an AI-powered creative writing assistant that generates stories in Arabic based on user prompts. The application leverages the ALLaM-7B-Instruct model to create engaging narratives across various genres, with adjustable creativity levels and generation parameters.
|
17 |
+
|
18 |
+
## Features
|
19 |
+
- **Arabic-Optimized Interface**: Full right-to-left (RTL) support for Arabic text input and output
|
20 |
+
- **Multiple Genres**: Generate stories across 10 different genres including adventure, sci-fi, mystery, and more
|
21 |
+
- **Customizable Creativity**: Choose between traditional, moderate, or experimental writing styles
|
22 |
+
- **Advanced Parameters**: Fine-tune temperature and Top-P values for precise control over generation
|
23 |
+
- **Example Prompts**: Get inspired with ready-to-use story starters
|
24 |
+
|
25 |
+
## Technical Details
|
26 |
+
|
27 |
+
### Model
|
28 |
+
- **Base Model**: ALLaM-7B-Instruct-preview
|
29 |
+
- **Architecture**: 7 billion parameter language model optimized for creative text generation
|
30 |
+
- **GPU Acceleration**: Utilizes CUDA for faster inference
|
31 |
+
|
32 |
+
### Implementation
|
33 |
+
- **Framework**: Built with Gradio 5.18.0
|
34 |
+
- **Pipeline Architecture**: Uses HF中国镜像站 Transformers Pipeline as the core component for text generation, providing optimized inference flow from tokenization to output processing
|
35 |
+
- **GPU Handling**: Uses HF中国镜像站 Spaces GPU support with ZeroGPU for efficient resource allocation
|
36 |
+
- **Prompt Engineering**: Enhanced prompting technique for better story structure and coherence
|
37 |
+
|
38 |
+
### Dependencies
|
39 |
+
- transformers
|
40 |
+
- torch
|
41 |
+
- gradio
|
42 |
+
- huggingface_hub
|
43 |
+
- spaces (HF中国镜像站-specific package)
|
44 |
+
|
45 |
+
## Development
|
46 |
+
This project is built and deployed on HF中国镜像站 Spaces. The interface is designed to be intuitive and visually appealing while providing powerful customization options for story generation.
|
47 |
+
|
48 |
+
## License
|
49 |
+
Apache License 2.0
|
50 |
+
|
51 |
+
---
|
52 |
+
|
53 |
+
*Created by abdul4h - Powered by HF中国镜像站 Spaces*
|