File size: 579 Bytes
0f689a7
 
 
 
 
 
63ed412
0f689a7
 
63ed412
 
0f689a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
license: apache-2.0
---

# Model Name

regligiousgptbase - basemodel architecture inspired from GPT2,  developed from scratch on religious books data from major three religions in the world. this model is trained on religious books like 
1) The bible 2) The Quran 3)The Bhagavad Gita



## Usage

```python
from transformers import GPT2Model, GPT2Config

# Load configuration
config = GPT2Config.from_json_file('config.json')

# Initialize model
model = GPT2Model(config)
model.load_state_dict(torch.load("model.pth"))

# Example usage
inputs = ...
outputs = model(**inputs)