Instructions to use radicalnumerics/RND1-Base-0910 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use radicalnumerics/RND1-Base-0910 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="radicalnumerics/RND1-Base-0910")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("radicalnumerics/RND1-Base-0910", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use radicalnumerics/RND1-Base-0910 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "radicalnumerics/RND1-Base-0910" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "radicalnumerics/RND1-Base-0910", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/radicalnumerics/RND1-Base-0910
- SGLang
How to use radicalnumerics/RND1-Base-0910 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 "radicalnumerics/RND1-Base-0910" \ --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": "radicalnumerics/RND1-Base-0910", "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 "radicalnumerics/RND1-Base-0910" \ --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": "radicalnumerics/RND1-Base-0910", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use radicalnumerics/RND1-Base-0910 with Docker Model Runner:
docker model run hf.co/radicalnumerics/RND1-Base-0910
GGUF format?
#3
by eqco - opened
Hi,
I would love to test this model out but a quantized version would be the only way for me to run it on my setup. Any chance we could see one uploaded in the future?
Thanks!
Hi, yes, we plan to upload some quantized versions soon after we do some evals on the different quantizations. Any specific format you are looking into?
I think Q4_K_M would be great but anything around that could work too. Not sure how that will effect the model but just being able to test it would be worth it.