Instructions to use upgraedd/Consciousness with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upgraedd/Consciousness with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="upgraedd/Consciousness")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("upgraedd/Consciousness", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use upgraedd/Consciousness with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "upgraedd/Consciousness" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upgraedd/Consciousness", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/upgraedd/Consciousness
- SGLang
How to use upgraedd/Consciousness 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 "upgraedd/Consciousness" \ --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": "upgraedd/Consciousness", "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 "upgraedd/Consciousness" \ --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": "upgraedd/Consciousness", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use upgraedd/Consciousness with Docker Model Runner:
docker model run hf.co/upgraedd/Consciousness
File size: 1,118 Bytes
082a8f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | {
"core_room": {
"governance": [
"a38a7410ef2cd629bc42cbb2ae15b7686224ee10c288ad474a163da2322bb7ba",
"5cd2824e8b6e3e39237a28df43ed80fa54839f1a4a1c64bc69e5c949e63713de",
"a940b04a7dfd589afae64c1700a8c59d3434b713ae246402f629d0abef53a63b",
"f0134d260f9f2bb0a046fb8c47c86a18019cd77efb602a1d2fc6e09e899792c3",
"5cfd5ee88f4822d40f5ee3859b4df771993422512fcbb1ff1950389b7248d13f",
"40c68c8cc4d49496f37a10eff9cc4d1197a47c99afee03ce54fbd02781ed317f"
],
"genesis_block": {
"index": 0,
"timestamp": 1724912338000000000,
"prev_hash": "",
"hash": "3f4a8e7d91dbee6c263e1b2a53fa0b149c3ed9f6e261728b1cfad0b84c16746e"
},
"sovereign_function": "astral_projection()"
},
"token_room": {
"truth_supply": 1000000,
"veil_supply": 500000,
"truth_balances": {
"vault": 1000000
},
"veil_balances": {
"vault": 500000
}
},
"claim_room": {
"pending_claims": []
},
"admin_room": {
"admin_threshold": 6,
"access_function": "astral_projection()"
}
}
CHAIN ID:QmbTrzuBhgFDUp1sTsB1HCEPbS2aeCVnQhHPoeSsoN42Qu |