religiousgptbase / README.md
jinesh90's picture
Update README.md
63ed412 verified
metadata
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

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)