Text Generation
Transformers
Safetensors
English
vlsi
verilog
systemverilog
code-generation
hardware-design
eda
rtl
fine-tuned
codellama
lora
edge-ai
jetson-orin
Instructions to use Rajasrl/VLSI-SLM-V1-CodeLlama-Full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rajasrl/VLSI-SLM-V1-CodeLlama-Full with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Rajasrl/VLSI-SLM-V1-CodeLlama-Full")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Rajasrl/VLSI-SLM-V1-CodeLlama-Full", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Rajasrl/VLSI-SLM-V1-CodeLlama-Full with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Rajasrl/VLSI-SLM-V1-CodeLlama-Full" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Rajasrl/VLSI-SLM-V1-CodeLlama-Full", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Rajasrl/VLSI-SLM-V1-CodeLlama-Full
- SGLang
How to use Rajasrl/VLSI-SLM-V1-CodeLlama-Full 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 "Rajasrl/VLSI-SLM-V1-CodeLlama-Full" \ --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": "Rajasrl/VLSI-SLM-V1-CodeLlama-Full", "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 "Rajasrl/VLSI-SLM-V1-CodeLlama-Full" \ --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": "Rajasrl/VLSI-SLM-V1-CodeLlama-Full", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Rajasrl/VLSI-SLM-V1-CodeLlama-Full with Docker Model Runner:
docker model run hf.co/Rajasrl/VLSI-SLM-V1-CodeLlama-Full
Download checkpoint-5250/training_args.bin from Rajasrl/VLSI-SLM-V1-CodeLlama-Full: direct link, hf CLI and curl.
- Browser
- Download file 5.24 kB
-
https://huggingface.co/Rajasrl/VLSI-SLM-V1-CodeLlama-Full/resolve/main/checkpoint-5250/training_args.bin
- Command line
-
hf download hf://Rajasrl/VLSI-SLM-V1-CodeLlama-Full/checkpoint-5250/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Rajasrl/VLSI-SLM-V1-CodeLlama-Full/resolve/main/checkpoint-5250/training_args.bin
5.24 kB
- Xet hash:
- eb49346f60828dcf32b2222b0cac5c0a56bbdcbb4f49b851705abce719b0344e
- Size of remote file:
- 5.24 kB
- SHA256:
- aba2d971a78d308f500fc022710a068eff690b821abbe5d7c76fd90189946cd0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.