| # shorif-textgen-basic | |
| ## Overview | |
| shorif-textgen-basic is a small-scale text generation model intended for learning, experimentation, and low-resource environments. | |
| ## Model Architecture | |
| The model is based on a reduced GPT-2 style transformer with 4 decoder layers and smaller embedding dimensions. | |
| ## Intended Use | |
| - Text generation demos | |
| - Educational projects | |
| - Prototyping conversational systems | |
| ## Limitations | |
| - Generates short and simple text | |
| - Not aligned for safety-critical applications | |
| - Limited factual accuracy | |
| ## Example Code | |
| ```python | |
| from transformers import pipeline | |
| generator = pipeline("text-generation", model="shorif-textgen-basic") | |
| generator("Once upon a time", max_length=50) | |