File size: 715 Bytes
804d1e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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)