Instructions to use Dans-DiscountModels/Dans-RetroRodeo-13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dans-DiscountModels/Dans-RetroRodeo-13b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Dans-DiscountModels/Dans-RetroRodeo-13b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Dans-DiscountModels/Dans-RetroRodeo-13b") model = AutoModelForCausalLM.from_pretrained("Dans-DiscountModels/Dans-RetroRodeo-13b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dans-DiscountModels/Dans-RetroRodeo-13b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dans-DiscountModels/Dans-RetroRodeo-13b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dans-DiscountModels/Dans-RetroRodeo-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Dans-DiscountModels/Dans-RetroRodeo-13b
- SGLang
How to use Dans-DiscountModels/Dans-RetroRodeo-13b 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 "Dans-DiscountModels/Dans-RetroRodeo-13b" \ --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": "Dans-DiscountModels/Dans-RetroRodeo-13b", "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 "Dans-DiscountModels/Dans-RetroRodeo-13b" \ --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": "Dans-DiscountModels/Dans-RetroRodeo-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Dans-DiscountModels/Dans-RetroRodeo-13b with Docker Model Runner:
docker model run hf.co/Dans-DiscountModels/Dans-RetroRodeo-13b
Commit History
-
Adding Evaluation Results
This is an automated PR created with https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr The purpose of this PR is to add evaluation results from the Open LLM Leaderboard to your model card. If you encounter any issues, please report them to https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr/discussions141a69d
-
Update README.md
c97be9d
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (9b09f5b84a7425210d2ba41c9da1874af9286837) - Adds /home/user/.cache/huggingface/hub/models--PocketDoc--Dans-RetroRodeo-13b/snapshots/8299f331edf6afb3cbcdaffa9cb753842d8c0e6d/model-00001-of-00003.safetensors (9e125f341e16412e603a772d08aacb29cc56d1bc) - Adds /home/user/.cache/huggingface/hub/models--PocketDoc--Dans-RetroRodeo-13b/snapshots/8299f331edf6afb3cbcdaffa9cb753842d8c0e6d/model-00002-of-00003.safetensors (1bff5ef1a89e83faa391ea15984c7757e7709ee9) - Adds /home/user/.cache/huggingface/hub/models--PocketDoc--Dans-RetroRodeo-13b/snapshots/8299f331edf6afb3cbcdaffa9cb753842d8c0e6d/model-00003-of-00003.safetensors (c73cafaf345e29f7902d74be7cba6860725bbf56)102f9fd
-
Update README.md
8299f33 -
Update README.md
0375cd3 -
Update README.md
670bf96 -
Update README.md
16d8bbf -
Update README.md
49c8828 -
Update README.md
0bf2a0f
-
Update README.md
920f460 -
Upload 9 files (#1)
- Upload 9 files (352595b8d8675a45132bde56e4ff0702abf5577d)f1a0b34 -
initial commit
ca27bfb