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 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
Ctrl+K
- 4 Bytes
- 5.33 kB
- 9.1 kB
- 21.9 kB
- 8.73 kB
- 9.06 kB
- 9.66 kB
- 11.7 kB
- 11.9 kB
- 57.4 kB
- 54 kB
- 49.6 kB
- 25.4 kB
- 3.7 kB
- 26.7 kB
- 37 kB
- 4.24 kB
- 54 kB
- 20.3 kB
- 4.3 kB
- 29 kB
- 14.6 kB
- 12.2 kB
- 76.2 kB
- 16.8 kB
- 3.05 kB
- 5.48 kB
- 24.8 kB
- 45.2 kB
- 112 kB
- 20.4 kB
- 48.2 kB
- 19 kB
- 50 kB
- 4.07 kB
- 2.14 kB
- 19 kB
- 5.83 kB
- 8.79 kB
- 23.9 kB
- 6.07 kB
- 9.79 kB
- 17.1 kB
- 22.1 kB
- 2.07 kB
- 27.8 kB
- 120 kB
- 23.7 kB
- 21.8 kB
- 40 kB