mjpsm / Bisa-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 Bisa-xgb-model

Model Details of Bisa-xgb-model

Bisa Soulprint Regression Model

Model Details
  • Model Name: Bisa Soulprint Regression (XGBoost)
  • Author: Mazamesso “Mazo” Meba / Coding in Color (MyVillage Project)
  • Framework: XGBoost Regressor + SentenceTransformer embeddings
  • Embedding Model: all-mpnet-base-v2
  • Output: Continuous score between 0.01–0.99

Intended Use

This model is part of the Soulprint Archetype system , which generates continuous scores (0.01–0.99) for the Bisa archetype . Bisa relates to endurance, resilience, and the capacity to persist within community and cultural contexts.

The model is trained on 1,308 balanced examples , evenly distributed across low (0.01–0.39), mid (0.40–0.69), and high (0.70–0.99) ratings. Inputs are short text statements (1–5 sentences), and outputs are continuous values representing Bisa intensity.

Example Applications
  • Cultural storytelling: Scoring responses by levels of resilience and persistence.
  • Community dialogue analysis: Identifying strength of endurance themes.
  • Educational tools: Teaching Afrocentric archetype values in AI-powered environments.

Training Data
  • Dataset Size: 1,308 rows
  • Balance:
    • Low: 436
    • Mid: 436
    • High: 436
  • Source: Synthetic, culturally-informed dataset generated using prompt engineering and controlled vocabulary/persona variation.
Labels
  • Low (0.01–0.39): silence, avoidance, withholding
  • Mid (0.40–0.69): mild questioning, observations, suggestions
  • High (0.70–0.99): confrontation, criticism, persistence, challenge

Training Procedure
  • Embeddings: all-mpnet-base-v2 SentenceTransformer
  • Regressor: XGBoost
    • n_estimators=1200
    • learning_rate=0.03
    • max_depth=10
    • subsample=0.9
    • colsample_bytree=0.9
    • reg_alpha=0.5
    • reg_lambda=5

Evaluation
  • Test Size: 20% split (stratified by label bins)
  • Metrics:
    • MSE: 0.0202
    • R²: 0.733

This means the model explains ~73% of the variance in Bisa scores.

Comparative Context
  • Other Soulprint archetype models (Nzinga, Kinara, Ubuntu) achieved R² in the 0.80–0.82 range .
  • Bisa currently performs at R² = 0.73 , making it solid but with room for improvement via hyperparameter tuning or additional training data.

Limitations
  • Synthetic data bias: While diverse, the dataset is synthetic and may not cover the full spectrum of cultural narratives.
  • Moderate performance: R² = 0.73 means ~27% of variance is unexplained. Model works, but may misclassify edge cases.
  • Context dependency: Model is tuned for Soulprint archetype research and may not generalize well to unrelated domains.

Future Work
  • Hyperparameter tuning (Optuna/GridSearch for deeper optimization).
  • Expanded dataset (adding 500+ new examples, including edge anchors at 0.05 and 0.95).
  • Ensemble testing (combining Bisa with other archetype regressors).

Example Usage
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/Bisa-xgb-model"
FILENAME = "Bisa_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 = "Despite noticing errors, I stayed quiet and accepted the outcome."
embedding = embedder.encode([text])
score = model.predict(embedding)[0]

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

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

Bisa-xgb-model huggingface.co

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

Bisa-xgb-model huggingface.co Url

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

mjpsm Bisa-xgb-model online free

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

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

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

Bisa-xgb-model install

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

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

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

Url of Bisa-xgb-model

Bisa-xgb-model huggingface.co Url

Provider of Bisa-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 25 2025