mjpsm / Nzinga-xgb-model

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: September 28 2025

Introduction of Nzinga-xgb-model

Model Details of Nzinga-xgb-model

Nzinga-xgb-model
🧾 Model Description

The Nzinga XGBoost Regression Model is part of the Soulprint Archetype Series. It predicts a courage score (0.0 – 1.0) from input text, reflecting levels of hesitation, partial action, steady resolve, and fearless conviction.

This model is named after Queen Nzinga of Ndongo and Matamba, representing courage, resistance, and unshakable determination.

  • Architecture: XGBoost Regressor
  • Input: Text (embedded using all-mpnet-base-v2)
  • Output: Continuous courage score (float, 0–1)
📚 Training Data
  • Source: Custom Nzinga regression dataset (balanced across 4 ranges).

  • Size: 1368 examples

  • Balance: 342 rows per range:

    • Low (0.0–0.3): hesitant, almost-action, retreating moments

    • Mid (0.3–0.6): measured firmness, small everyday acts of courage

    • High (0.6–0.9): strong steady action, visible resolve

    • Peak (0.9–1.0): fearless symbolic acts, full conviction

Sentence lengths were cycled (1, 2–3, 4–5 sentences) to encourage generalization. Contexts include family, healthcare, online spaces, sports, workplaces, and public gatherings.

🧪 Evaluation
  • Test Metrics:

    • MSE: 0.0173
    • R²: 0.8182

This indicates the model explains ~82% of the variance in courage scores and has low error, making it robust for prediction tasks.

🚀 Example Usage
import xgboost as xgb
from sentence_transformers import SentenceTransformer
from huggingface_hub import hf_hub_download

# -----------------------------
# 1. Download model
# -----------------------------
REPO_ID = "mjpsm/Nzinga-xgb-model"
FILENAME = "Nzinga_xgb_model.json"

model_path = hf_hub_download(repo_id=REPO_ID, filename=FILENAME)

# -----------------------------
# 2. Load model + embedder
# -----------------------------
model = xgb.XGBRegressor()
model.load_model(model_path)

embedder = SentenceTransformer("all-mpnet-base-v2")

# -----------------------------
# 3. Example prediction
# -----------------------------
text = "I stood before the crowd and spoke with steady confidence."
embedding = embedder.encode([text])
score = model.predict(embedding)[0]

print("Predicted Nzinga Score:", round(float(score), 3))

Runs of mjpsm Nzinga-xgb-model on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Nzinga-xgb-model huggingface.co Model

More Nzinga-xgb-model license Visit here:

https://choosealicense.com/licenses/mit

Nzinga-xgb-model huggingface.co

Nzinga-xgb-model huggingface.co is an AI model on huggingface.co that provides Nzinga-xgb-model's model effect (), which can be used instantly with this mjpsm Nzinga-xgb-model model. huggingface.co supports a free trial of the Nzinga-xgb-model model, and also provides paid use of the Nzinga-xgb-model. Support call Nzinga-xgb-model model through api, including Node.js, Python, http.

Nzinga-xgb-model huggingface.co Url

https://huggingface.co/mjpsm/Nzinga-xgb-model

mjpsm Nzinga-xgb-model online free

Nzinga-xgb-model huggingface.co is an online trial and call api platform, which integrates Nzinga-xgb-model's modeling effects, including api services, and provides a free online trial of Nzinga-xgb-model, you can try Nzinga-xgb-model online for free by clicking the link below.

mjpsm Nzinga-xgb-model online free url in huggingface.co:

https://huggingface.co/mjpsm/Nzinga-xgb-model

Nzinga-xgb-model install

Nzinga-xgb-model is an open source model from GitHub that offers a free installation service, and any user can find Nzinga-xgb-model on GitHub to install. At the same time, huggingface.co provides the effect of Nzinga-xgb-model install, users can directly use Nzinga-xgb-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Nzinga-xgb-model install url in huggingface.co:

https://huggingface.co/mjpsm/Nzinga-xgb-model

Url of Nzinga-xgb-model

Nzinga-xgb-model huggingface.co Url

Provider of Nzinga-xgb-model huggingface.co

mjpsm
ORGANIZATIONS

Other API from mjpsm

huggingface.co

Total runs: 207
Run Growth: 0
Growth Rate: 0.00%
Updated:January 01 2025
huggingface.co

Total runs: 16
Run Growth: 0
Growth Rate: 0.00%
Updated:December 31 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 30 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2025