Downloads · 30 days
22
7% of all-time downloads
KAkston/Catholic-Phi3-Mini
Catholic-Phi3-Mini is a text generation model from KAkston. Use it when you need the model to write or continue text. The card lists the license as cc0-1.0.
Catholic-Phi3 is a fully fine-tuned version of Microsoft's Phi-3 Mini model, retrained to answer questions about Catholic teachings, Bible verses, prayers, and general knowledge. It delivers concise, factual responses…
Downloads · 30 days
22
7% of all-time downloads
All-time downloads
313
Public
Parameters
3.8B
7.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors7.6 GB · 100%
From the Hugging Face model README
Catholic-Phi3 is a fully fine-tuned version of Microsoft's Phi-3 Mini model, retrained to answer questions about Catholic teachings, Bible verses, prayers, and general knowledge. It delivers concise, factual responses optimized for educational use in Catholic contexts.
Install the required dependencies:
pip install transformers torch safetensors
Load the model and tokenizer using the Hugging Face Transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "KAkston/Catholic-Phi3-Mini"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="bfloat16", device_map="cuda")
prompt = "<|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> What is the Holy Trinity? <|end|> <|assistant|>"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Refer to prompts.md for examples of how to format prompts for different question types (e.g., "why", "what", "who"). Prompts use <|system|>, <|user|>, and <|assistant|> tags to structure inputs. This model is hosted at KAkston/Catholic-Phi3-Mini.
bfloat16 precision)The model was fully fine-tuned on public domain Catholic texts, including the Douay-Rheims Bible and Catechism texts. No sensitive or proprietary data was included.
Catholic-Phi3 reflects Catholic perspectives and may not provide neutral answers on religious topics. It is designed for educational use within Catholic contexts.
Catholic-Phi3 is released under the CC0 1.0 Universal (CC0) public domain dedication. You are free to use, modify, distribute, and build upon the model for any purpose, including commercial use, without any attribution or restrictions. No accreditation to the author or original Phi-3 model is required. Note that the training data includes public domain Catholic texts; please ensure your use complies with applicable laws. The base Phi-3 model is licensed under MIT by Microsoft.
For custom AI training or inquiries, contact Hershel Kysar at [[email protected]]