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
- 22.7 kB
- 22.2 kB
- 5.33 kB
- 1.12 kB
- 30.1 kB
- 10.8 kB
- 9.1 kB
- 29.3 kB
- 30.3 kB
- 24.2 kB
- 29.3 kB
- 25.4 kB
- 27.4 kB
- 7.07 kB
- 48.9 kB
- 9.29 kB
- 4.39 kB
- 9.66 kB
- 11.7 kB
- 15.4 kB
- 11.9 kB
- 57.4 kB
- 54 kB
- 49.6 kB
- 28.6 kB
- 25.4 kB
- 3.7 kB
- 26.7 kB
- 37 kB
- 4.24 kB
- 54 kB
- 10.1 kB
- 20.3 kB
- 4.3 kB
- 10.6 kB
- 13.3 kB
- 14.6 kB
- 7.92 kB
- 29 kB
- 21.7 kB
- 13.8 kB
- 11.9 kB
- 13.8 kB
- 14.6 kB
- 12.2 kB
- 76.2 kB
- 23.1 kB
- 24.5 kB
- 11.7 kB