Downloads · 30 days
0
mjpsm/Kinara-xgb-model
Kinara-xgb-model is a machine learning model from mjpsm. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
The Kinara Regression Model is part of the Soulprint Archetypes framework developed under the MyVillage Project / Coding in Color initiative. It predicts a Kinara score (0–1) for any input text, where Kinara reflects…
Downloads · 30 days
0
Access
Public
Updated Sep 25, 2025
Repo size
1 MB
Likes
0
Public
Click a slice to open those files.
.json1.4 MB · 58%
From the Hugging Face model README
The Kinara Regression Model is part of the Soulprint Archetypes framework developed under the MyVillage Project / Coding in Color initiative.
It predicts a Kinara score (0–1) for any input text, where Kinara reflects purpose, spirit, and vision — inspired by the Kwanzaa candleholder and symbolic elders such as Fannie Lou Hamer.
According to the Soulprint Archetypes Document, Kinara is:
0.00860.09270.8856These metrics indicate a strong fit with low error and high explanatory power.
First, install dependencies:
pip install xgboost sentence-transformers joblib
Then load and use the model:
import joblib
from sentence_transformers import SentenceTransformer
# Load model from Hugging Face
model = joblib.load("mjpsm/Kinara_xgb_model/Kinara_xgb_model.pkl")
embedder = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
# Example input
text = "During a heated family argument, I stayed calm and reminded everyone of our values."
X = embedder.encode([text])
pred = model.predict(X)
print(f"Predicted Kinara Score: {pred[0]:.2f}")
Input: “During a heated family argument, I stayed calm and reminded everyone of our values.” Output: 0.75
Input: “I hesitated when a classmate asked for advice, and they left still confused.” Output: 0.24
Input: “At a neighborhood gathering, I shared a story about unity that brought people closer.” Output: 0.75