Instructions to use Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown") model = AutoModelForCausalLM.from_pretrained("Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown
- SGLang
How to use Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown 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 "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown" \ --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": "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown", "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 "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown" \ --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": "Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown with Docker Model Runner:
docker model run hf.co/Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown
Download model.safetensors from Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown: direct link, hf CLI and curl.
- Browser
- Download file 2.07 GB
-
https://huggingface.co/Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown/resolve/main/model.safetensors
- Command line
-
hf download hf://Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/Gemstone-Models-Cooldown/Gemstone-1792x7_cooldown/resolve/main/model.safetensors
2.07 GB
- Xet hash:
- 905fc383d4d5b33e83c30f6bab71a5ee7d63922ece5f2f3f4193443a3aa9b311
- Size of remote file:
- 2.07 GB
- SHA256:
- 9289e39883f22fc6923aeb7e8d55b330198acc39197f99ee0d639874b877c3e0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.