Instructions to use cwaud/augmented-750f5ff85f452175 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cwaud/augmented-750f5ff85f452175 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cwaud/augmented-750f5ff85f452175")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cwaud/augmented-750f5ff85f452175") model = AutoModelForCausalLM.from_pretrained("cwaud/augmented-750f5ff85f452175", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cwaud/augmented-750f5ff85f452175 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cwaud/augmented-750f5ff85f452175" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cwaud/augmented-750f5ff85f452175", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/cwaud/augmented-750f5ff85f452175
- SGLang
How to use cwaud/augmented-750f5ff85f452175 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 "cwaud/augmented-750f5ff85f452175" \ --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": "cwaud/augmented-750f5ff85f452175", "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 "cwaud/augmented-750f5ff85f452175" \ --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": "cwaud/augmented-750f5ff85f452175", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use cwaud/augmented-750f5ff85f452175 with Docker Model Runner:
docker model run hf.co/cwaud/augmented-750f5ff85f452175
Download tokenizer.json from cwaud/augmented-750f5ff85f452175: direct link, hf CLI and curl.
- Browser
- Download file 3.52 MB
-
https://huggingface.co/cwaud/augmented-750f5ff85f452175/resolve/main/tokenizer.json
- Command line
-
hf download hf://cwaud/augmented-750f5ff85f452175/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/cwaud/augmented-750f5ff85f452175/resolve/main/tokenizer.json
3.52 MB
File too large to display, you can check the raw version instead.