Text Generation
Transformers
GGUF
English
phi
knowledge-system
reasoning
expert-verification
multi-domain
zero-hallucination
spatial-memory
knowledge-tiles
phi-4
microsoft
knowledge-tiles-iath
conversational
Eval Results (legacy)
Instructions to use kofdai/nullai-knowledge-system with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kofdai/nullai-knowledge-system with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kofdai/nullai-knowledge-system") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kofdai/nullai-knowledge-system") model = AutoModelForCausalLM.from_pretrained("kofdai/nullai-knowledge-system", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kofdai/nullai-knowledge-system with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf kofdai/nullai-knowledge-system:Q4_K_M # Run inference directly in the terminal: llama cli -hf kofdai/nullai-knowledge-system:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kofdai/nullai-knowledge-system:Q4_K_M # Run inference directly in the terminal: llama cli -hf kofdai/nullai-knowledge-system:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf kofdai/nullai-knowledge-system:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf kofdai/nullai-knowledge-system:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf kofdai/nullai-knowledge-system:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf kofdai/nullai-knowledge-system:Q4_K_M
Use Docker
docker model run hf.co/kofdai/nullai-knowledge-system:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use kofdai/nullai-knowledge-system with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kofdai/nullai-knowledge-system" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kofdai/nullai-knowledge-system", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kofdai/nullai-knowledge-system:Q4_K_M
- SGLang
How to use kofdai/nullai-knowledge-system 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 "kofdai/nullai-knowledge-system" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kofdai/nullai-knowledge-system", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "kofdai/nullai-knowledge-system" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kofdai/nullai-knowledge-system", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use kofdai/nullai-knowledge-system with Ollama:
ollama run hf.co/kofdai/nullai-knowledge-system:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use kofdai/nullai-knowledge-system with Docker Model Runner:
docker model run hf.co/kofdai/nullai-knowledge-system:Q4_K_M
- Lemonade
How to use kofdai/nullai-knowledge-system with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kofdai/nullai-knowledge-system:Q4_K_M
Run and chat with the model
lemonade run user.nullai-knowledge-system-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload README.md with huggingface_hub
Verified signature8bd1386
-
Upload phi-4-q4_K_M.gguf with huggingface_hub
Verified signaturef893727 -
Upload MODEL_CARD.md with huggingface_hub
Verified signaturefe4b6d4 -
Upload README.md with huggingface_hub
Verified signature435b5ff -
Upload tokenizer_config.json with huggingface_hub
Verified signature1719fbc -
Upload config.json with huggingface_hub
Verified signature1d2f8a6 -
Upload MODEL_CARD.md with huggingface_hub
Verified signature936c934 -
Upload README.md with huggingface_hub
Verified signature9f98e69 -
Upload MODEL_CARD.md with huggingface_hub
Verified signature79254c6 -
Upload README.md with huggingface_hub
Verified signature94c2905 -
Upload MODEL_CARD.md with huggingface_hub
Verified signature383324e -
Upload README.md with huggingface_hub
Verified signature4bf288b -
Upload MODEL_CARD.md with huggingface_hub
Verified signature73044cf -
Upload start_null_ai.sh with huggingface_hub
Verified signatureb4d91f0 -
Upload requirements-huggingface.txt with huggingface_hub
Verified signaturefdcb8e2 -
Upload requirements.production.txt with huggingface_hub
Verified signature696d255 -
Upload requirements.txt with huggingface_hub
Verified signature28f47f9 -
Upload concept_coordinate_mapping.csv with huggingface_hub
Verified signature6a49db9 -
Upload test_integration_results.json with huggingface_hub
Verified signature20be3c4 -
Upload models_config.json with huggingface_hub
Verified signatureec131aa -
Upload medical_space_axes_definition.json with huggingface_hub
Verified signature5222d59 -
Upload legal_space_axes_definition.json with huggingface_hub
Verified signature8708f3a -
Upload legal_ontology.json with huggingface_hub
Verified signaturede927d3 -
Upload knowledge_base.iath with huggingface_hub
Verified signatureced3672 -
Upload ilm_athens_medical_db.iath with huggingface_hub
Verified signature2fc6711 -
Upload domain_schemas.json with huggingface_hub
Verified signature0550c56 -
Upload model-00003-of-00003.safetensors with huggingface_hub
Verified signature39c29c6 -
Upload cardiology_ontology.json with huggingface_hub
Verified signature3f02dc7 -
Upload folder using huggingface_hub
Verified signature9febfad -
Upload model-00002-of-00003.safetensors with huggingface_hub
Verified signaturebfa56c5 -
Upload folder using huggingface_hub
Verified signature487b26a -
Upload folder using huggingface_hub
Verified signatureaea1b39 -
Upload model-00001-of-00003.safetensors with huggingface_hub
Verified signature01c202c -
Upload folder using huggingface_hub
Verified signature594ed40 -
Upload folder using huggingface_hub
Verified signature5af8123 -
Upload space_app.py with huggingface_hub
Verified signature49146ed -
Upload deepseek_prompt_templates.py with huggingface_hub
Verified signature3350c9d -
Upload compression_verifier.py with huggingface_hub
Verified signatureac81430 -
Upload hot_cache.py with huggingface_hub
Verified signature55c030e -
Upload web_search_autonomy.py with huggingface_hub
Verified signatureea2fff6 -
Upload visualization.py with huggingface_hub
Verified signature5c2d62b -
Upload reasoning_chain_extractor.py with huggingface_hub
Verified signature5746029 -
Upload create_tile_from_topic.py with huggingface_hub
Verified signature7cd89b8 -
Upload create_sample_dataset.py with huggingface_hub
Verified signatured1dbbb6 -
Upload create_finetune_dataset.py with huggingface_hub
Verified signature055d6cc -
Upload coordinate_mapper.py with huggingface_hub
Verified signature03f9b2f -
Upload init_db.py with huggingface_hub
Verified signature07034af -
Upload inference_cli.py with huggingface_hub
Verified signature41d5499 -
Upload inference_engine_unified.py with huggingface_hub
Verified signatureddf28c1 -
Upload iath_decoder.py with huggingface_hub
Verified signaturecd705ac