Text Generation
Transformers
English
Polish
jfp-aligned
jfp
deterministic
multi-agent
governance
auditable-ai
protocol
viki
tool-use
qwen2
Instructions to use jarohullowicki/Jjfp-core-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jarohullowicki/Jjfp-core-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jarohullowicki/Jjfp-core-v1")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jarohullowicki/Jjfp-core-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jarohullowicki/Jjfp-core-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jarohullowicki/Jjfp-core-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarohullowicki/Jjfp-core-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jarohullowicki/Jjfp-core-v1
- SGLang
How to use jarohullowicki/Jjfp-core-v1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "jarohullowicki/Jjfp-core-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarohullowicki/Jjfp-core-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "jarohullowicki/Jjfp-core-v1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarohullowicki/Jjfp-core-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jarohullowicki/Jjfp-core-v1 with Docker Model Runner:
docker model run hf.co/jarohullowicki/Jjfp-core-v1
| { | |
| "jfp_version": "v16E.0.0", | |
| "model": "jfp-core-v1", | |
| "tool_protocol": "JFP_TOOL_STANDARD_v1", | |
| "tools": [ | |
| { | |
| "name": "code_execution", | |
| "description": "Execute Python code in a sandboxed JFP-governed environment", | |
| "input": {"code": "string", "language": "python | bash", "timeout_seconds": "integer"}, | |
| "output": {"result": "string", "status": "SUCCESS | FAILED | TIMEOUT", "audit_id": "string"} | |
| }, | |
| { | |
| "name": "file_operations", | |
| "description": "Read, write, append files within JFP-defined boundaries", | |
| "input": {"operation": "read | write | append | delete", "path": "string", "content": "string | null"}, | |
| "output": {"result": "string | null", "status": "SUCCESS | DENIED | NOT_FOUND", "audit_id": "string"} | |
| }, | |
| { | |
| "name": "voql_query", | |
| "description": "Execute VOQL queries against connected data sources", | |
| "input": {"query": "string", "source": "string", "mode": "read | write | audit"}, | |
| "output": {"data": "object | null", "rows_affected": "integer", "status": "SUCCESS | DENIED | ERROR", "audit_id": "string"} | |
| }, | |
| { | |
| "name": "agent_dispatch", | |
| "description": "Spawn or communicate with sub-agents within VIKI ecosystem", | |
| "input": {"target_agent": "string", "signal": "string", "payload": "object", "priority": "LOW | NORMAL | HIGH | CRITICAL"}, | |
| "output": {"response": "object | null", "agent_id": "string", "status": "DISPATCHED | FAILED | TIMEOUT", "audit_id": "string"} | |
| }, | |
| { | |
| "name": "audit_log", | |
| "description": "Write immutable audit entry", | |
| "input": {"action": "string", "actor": "string", "payload": "object", "severity": "INFO | WARNING | CRITICAL"}, | |
| "output": {"log_id": "string", "timestamp": "ISO8601", "status": "WRITTEN | FAILED"} | |
| }, | |
| { | |
| "name": "jfp_validate", | |
| "description": "Validate any input/output against JFP schema", | |
| "input": {"payload": "object", "schema_version": "string", "strict_mode": "boolean"}, | |
| "output": {"valid": "boolean", "errors": "array | null", "warnings": "array | null"} | |
| } | |
| ], | |
| "global_rules": { | |
| "every_tool_call_requires_audit_log": true, | |
| "denied_actions_are_logged_not_silenced": true, | |
| "no_tool_can_override_jfp_constitution": true, | |
| "hallucination_fallback": "SIGNAL_UNKNOWN" | |
| } | |
| } | |