mjpsm / Ubuntu-xgb-model

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

Introduction of Ubuntu-xgb-model

Model Details of Ubuntu-xgb-model

Ubuntu Regression Model (Soulprint Archetype)

🧩 Overview

The Ubuntu_xgb_model is part of the Soulprint archetype family of models.
It predicts an Ubuntu alignment score (0.0–1.0) for text inputs, where Ubuntu represents "I am because we are" : harmony, inclusion, and community bridge-building.

  • 0.0–0.3 → Low Ubuntu (exclusion, selfishness, division)
  • 0.4–0.7 → Medium Ubuntu (partial inclusion, effort but incomplete)
  • 0.8–1.0 → High Ubuntu (harmony, belonging, collective well-being)

This model is trained with XGBoost regression on a custom dataset of 918 rows , balanced across Low, Medium, and High Ubuntu examples. Data was generated using culturally diverse contexts (family, school, workplace, community, cultural rituals).


📊 Training Details
  • Framework: Python 3, scikit-learn, XGBoost
  • Embeddings: SentenceTransformer "all-mpnet-base-v2"
  • Algorithm: XGBRegressor
  • Training Size: 918 rows
  • Train/Test Split: 80/20
⚙️ Hyperparameters
  • n_estimators=300
  • learning_rate=0.05
  • max_depth=6
  • subsample=0.8
  • colsample_bytree=0.8
  • random_state=42

📈 Evaluation Results

On the held-out test set (20% of data):

  • MSE: 0.0121
  • RMSE: 0.1101
  • R² Score: 0.882

🚀 Usage
Load Model
import joblib
import xgboost as xgb
from sentence_transformers import SentenceTransformer
from huggingface_hub import hf_hub_download

# -----------------------------
# 1. Download model from Hugging Face Hub
# -----------------------------
REPO_ID = "mjpsm/Ubuntu_xgb_model"  # change if you used a different repo name
FILENAME = "Ubuntu_xgb_model.pkl"

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

# -----------------------------
# 2. Load model + embedder
# -----------------------------
model = joblib.load(model_path)
embedder = SentenceTransformer("all-mpnet-base-v2")

# -----------------------------
# 3. Example prediction
# -----------------------------
text = "During our class project, I made sure everyone’s ideas were included."
embedding = embedder.encode([text])
score = model.predict(embedding)[0]

print("Predicted Ubuntu Score:", round(float(score), 3))
🌍 Applications
  • Community storytelling evaluation

  • Character alignment in cultural narratives

  • AI assistants tuned to Afrocentric archetypes

  • Training downstream models in the Soulprint system

⚠️ Limitations
  • Dataset is synthetic (generated + curated). Real-world generalization should be validated.

  • The model is context-specific to Ubuntu values and may not generalize beyond Afrocentric cultural framing.

  • Scores are approximate indicators — interpretation depends on narrative context.

Runs of mjpsm Ubuntu-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 Ubuntu-xgb-model huggingface.co Model

More Ubuntu-xgb-model license Visit here:

https://choosealicense.com/licenses/mit

Ubuntu-xgb-model huggingface.co

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

Ubuntu-xgb-model huggingface.co Url

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

mjpsm Ubuntu-xgb-model online free

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

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

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

Ubuntu-xgb-model install

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

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

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

Url of Ubuntu-xgb-model

Ubuntu-xgb-model huggingface.co Url

Provider of Ubuntu-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