xiaohongshu
xiaohongshu
sap-rpt1-oss-predictor
Use SAP-RPT-1-OSS open source tabular foundation model for predictive analytics on SAP business data. Handles classification and regression tasks including customer churn prediction, delivery delay forecasting, payment default risk, demand planning, and financial anomaly detection. Use when asked...
Full skill instructions
SAP-RPT-1-OSS is SAP's open source tabular foundation model (Apache 2.0) for predictions on structured business data. Unlike LLMs that predict text, RPT-1 predicts field values in table rows using in-context learning—no model training required.
Repository: https://github.com/SAP-samples/sap-rpt-1-oss Model: https://huggingface.co/SAP/sap-rpt-1-oss
pip install git+https://github.com/SAP-samples/sap-rpt-1-oss
Model weights require HF login and license acceptance:
# Install HF CLI
pip install huggingface_hub
# Login (creates ~/.huggingface/token)
huggingface-cli login
Then accept model terms at: https://huggingface.co/SAP/sap-rpt-1-oss
| Config | GPU Memory | Context Size | Bagging | Use Case |
|---|---|---|---|---|
| Optimal | 80GB (A100) | 8192 | 8 | Production, best accuracy |
| Standard | 40GB (A6000) | 4096 | 4 | Good balance |
| Minimal | 24GB (RTX 4090) | 2048 | 2 | Development |
| CPU | N/A | 1024 | 1 | Testing only (slow) |
import pandas as pd
from sap_rpt_oss import SAP_RPT_OSS_Classifier
# Load SAP data export
df = pd.read_csv("sap_customers.csv")
X = df.drop(columns=["CHURN_STATUS"])
y = df["CHURN_STATUS"]
# Split data
X_train, X_test = X[:400], X[400:]
y_train, y_test = y[:400], y[400:]
# Initialize and predict
clf = SAP_RPT_OSS_Classifier(max_context_size=4096, bagging=4)
clf.fit(X_train, y_train)
predictions = clf.predict(X_test)
probabilities = clf.predict_proba(X_test)
from sap_rpt_oss import SAP_RPT_OSS_Regressor
reg = SAP_RPT_OSS_Regressor(max_context_size=4096, bagging=4)
reg.fit(X_train, y_train)
predictions = reg.predict(X_test)
See references/sap-use-cases.md for detailed extraction queries:
RPT-1-OSS uses an LLM to embed column names and values. Descriptive names improve accuracy:
# Good: Model understands business context
CUSTOMER_CREDIT_LIMIT, DAYS_SINCE_LAST_ORDER, PAYMENT_DELAY_DAYS
# Bad: Generic names lose semantic value
COL1, VALUE, FIELD_A
Use scripts/prepare_sap_data.py to rename SAP technical fields:
from scripts.prepare_sap_data import SAPDataPrep
prep = SAPDataPrep()
df = prep.rename_sap_fields(df) # BUKRS → COMPANY_CODE, etc.
scripts/rpt1_oss_predict.py - Local model prediction wrapperscripts/prepare_sap_data.py - SAP field renaming and SQL templatesscripts/batch_predict.py - Chunked processing for large datasetsFor users with SAP access, the closed-source RPT-1 is available via API:
from scripts.rpt1_api import RPT1Client
client = RPT1Client(token="YOUR_RPT_TOKEN") # Get from rpt-playground.sap.com
result = client.predict(data="data.csv", target_column="TARGET", task_type="classification")
See references/api-reference.md for RPT Playground API documentation.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience