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