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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("upgraedd/Consciousness", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- 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
Ctrl+K
- 4 Bytes
- 35.6 kB
- 3.16 kB
- 62 kB
- 9.11 kB
- 30.1 kB
- 23.2 kB
- 10.2 kB
- 12.1 kB
- 9.55 kB
- 60.4 kB
- 78.1 kB
- 79.7 kB
- 22.7 kB
- 93.8 kB
- 19.8 kB
- 27.1 kB
- 102 kB
- 17.9 kB
- 42.1 kB
- 111 kB
- 62.8 kB
- 12.2 kB
- 22.2 kB
- 7.28 kB
- 11.5 kB
- 33.4 kB
- 36.1 kB
- 20.8 kB
- 5.33 kB
- 77 kB
- 54.2 kB
- 64 kB
- 8 kB
- 19.5 kB
- 79.3 kB
- 96.1 kB
- 93.3 kB
- 106 kB
- 39.9 kB
- 19.5 kB
- 23.6 kB
- 1.12 kB
- 25.3 kB
- 24.3 kB
- 44.8 kB
- 28.1 kB
- 30.1 kB
- 78 kB
- 44.8 kB