Text Generation
Transformers
Safetensors
qwen3_5
image-text-to-text
verilog
systemverilog
design-verification
testbench-generation
trl
sft
rlvr
grpo
conversational
Instructions to use AI-Institute-BSC/CheckmateRTL-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI-Institute-BSC/CheckmateRTL-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AI-Institute-BSC/CheckmateRTL-27B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("AI-Institute-BSC/CheckmateRTL-27B") model = AutoModelForMultimodalLM.from_pretrained("AI-Institute-BSC/CheckmateRTL-27B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AI-Institute-BSC/CheckmateRTL-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AI-Institute-BSC/CheckmateRTL-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AI-Institute-BSC/CheckmateRTL-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AI-Institute-BSC/CheckmateRTL-27B
- SGLang
How to use AI-Institute-BSC/CheckmateRTL-27B 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 "AI-Institute-BSC/CheckmateRTL-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AI-Institute-BSC/CheckmateRTL-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "AI-Institute-BSC/CheckmateRTL-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AI-Institute-BSC/CheckmateRTL-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AI-Institute-BSC/CheckmateRTL-27B with Docker Model Runner:
docker model run hf.co/AI-Institute-BSC/CheckmateRTL-27B
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,8 +26,8 @@ Results on the [NVIDIA CVDP benchmark](https://github.com/NVlabs/cvdp_benchmark)
|
|
| 26 |
| `cid004` Code Modification | 50.91% | 50.55% | 37.45% | **54.55%** | 35.27% | 41.45% |
|
| 27 |
| `cid007` Code Improvement | 51.50% | 59.50% | 39.50% | **64.50%** | 50.00% | 40.50% |
|
| 28 |
| **CVDP Code Comprehension** | | | | | | |
|
| 29 |
-
| `cid006` RTL ↔
|
| 30 |
-
| `cid008`
|
| 31 |
|
| 32 |
Note that those categories with asterisks in the title were converted from Commercial tools (XCelium) to OSS tools (Verilator)
|
| 33 |
|
|
|
|
| 26 |
| `cid004` Code Modification | 50.91% | 50.55% | 37.45% | **54.55%** | 35.27% | 41.45% |
|
| 27 |
| `cid007` Code Improvement | 51.50% | 59.50% | 39.50% | **64.50%** | 50.00% | 40.50% |
|
| 28 |
| **CVDP Code Comprehension** | | | | | | |
|
| 29 |
+
| `cid006` RTL ↔ Spec | | 70.53% | | 67.66% | 68.25% | **72.69%** |
|
| 30 |
+
| `cid008` Test ↔ Plan | | **66.69%** | | 63.10% | 62.06% | 58.08% |
|
| 31 |
|
| 32 |
Note that those categories with asterisks in the title were converted from Commercial tools (XCelium) to OSS tools (Verilator)
|
| 33 |
|