Update README.md
Browse files
README.md
CHANGED
@@ -1,9 +1,48 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language: en
|
3 |
+
tags:
|
4 |
+
- atmasiddhi-shastra
|
5 |
+
- spirituality
|
6 |
+
- jainism
|
7 |
+
- philosophy
|
8 |
+
- conversational-ai
|
9 |
+
- religious-text
|
10 |
license: apache-2.0
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
---
|
13 |
+
|
14 |
+
# AtmasiddhiGPT
|
15 |
+
|
16 |
+
AtmasiddhiGPT is a language model trained to reflect and provide insights based on the teachings of the **Atmasiddhi Shastra**, a Jain text written by Shrimad Rajchandra. This model can be used to generate responses that capture themes of self-realization, soul, and philosophical principles in Jainism, making it a valuable tool for those exploring Jain spirituality and philosophy.
|
17 |
+
|
18 |
+
## Model Details
|
19 |
+
|
20 |
+
- **Model Type**: Language Model
|
21 |
+
- **Language**: English
|
22 |
+
- **Training Data**: Selected spiritual texts, with an emphasis on **Atmasiddhi Shastra**
|
23 |
+
- **Intended Use**: Conversational AI, philosophical inquiry, spirituality
|
24 |
+
- **License**: Apache 2.0
|
25 |
+
- **Framework**: PyTorch, Transformers
|
26 |
+
|
27 |
+
## How to Use
|
28 |
+
|
29 |
+
To use AtmasiddhiGPT for generating responses in a conversational style or to interpret spiritual themes, you can load it directly with the Hugging Face `transformers` library. Here’s an example of how to set it up:
|
30 |
+
|
31 |
+
```python
|
32 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
33 |
+
|
34 |
+
# Load the model and tokenizer
|
35 |
+
model_name = "your-username/atmasiddhi-gpt" # replace with actual model path
|
36 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
37 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
38 |
+
|
39 |
+
# Define input text (e.g., a question or a spiritual query)
|
40 |
+
input_text = "What does Atmasiddhi say about self-realization?"
|
41 |
+
|
42 |
+
# Tokenize and generate
|
43 |
+
inputs = tokenizer(input_text, return_tensors="pt")
|
44 |
+
outputs = model.generate(**inputs, max_length=50)
|
45 |
+
|
46 |
+
# Decode and print the generated response
|
47 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
48 |
+
print(response)
|