Text Generation
Transformers
Safetensors
English
qwen2
blueprint
hardware
electronics
maker
text
mechanical
product-engineering
3d
iot
robotics
cad
conversational
text-generation-inference
Instructions to use caid-technologies/parti-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caid-technologies/parti-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="caid-technologies/parti-base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("caid-technologies/parti-base") model = AutoModelForCausalLM.from_pretrained("caid-technologies/parti-base", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use caid-technologies/parti-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "caid-technologies/parti-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caid-technologies/parti-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/caid-technologies/parti-base
- SGLang
How to use caid-technologies/parti-base 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 "caid-technologies/parti-base" \ --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": "caid-technologies/parti-base", "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 "caid-technologies/parti-base" \ --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": "caid-technologies/parti-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use caid-technologies/parti-base with Docker Model Runner:
docker model run hf.co/caid-technologies/parti-base
Commit History
Update README.md 853c305 verified
docs: center Parti-Base model card header 9b90ece verified
Update README.md 8ad7d57 verified
Update README.md d03b142 verified
Update README.md 2169619 verified
Update README.md c1c1ac9 verified
Update README.md 377221f verified
Model card: point whitepaper to dedicated Parti-Base-Whitepaper.pdf 67e02e3 verified
Add dedicated Parti-Base whitepaper (text-only 3B; results/evals, no dataset/schema) 7033316 verified
Remove Parti-Vision whitepaper from parti-base (parti-base now has its own) edb61c9 verified
Model card: whitepaper-aligned rewrite - results/evals/improvements, no dataset/schema, unified structure 6013d02 verified
Add scrubbed whitepaper PDF (results/evals only; no dataset or schema internals) 9927021 verified
Update README.md 375b6bf verified
Update README.md ee37a78 verified
Update README.md da8e2f9 verified
Update README.md a8a0fd0 verified
Update README.md 16502fd verified
Update README.md eb15a5c verified
Update README.md 09f3fff verified
Update README.md 3a5e721 verified
Update README.md 8ae5545 verified
Update README.md fa29a60 verified
Dean Hu commited on
Update README.md e2aad3b verified
Dean Hu commited on
Refresh weights: retrained adapter (Jun 29) merged to fp16 2c48be4 verified
Fix inference defaults: greedy decoding, drop sampling knobs eae07e6 verified
Update README.md 36d541f verified
Dean Hu commited on
Update README.md e5a4307 verified
Dean Hu commited on
Update README.md a68d26e verified
Dean Hu commited on
Update README.md cf2c1d1 verified
Dean Hu commited on
Update model card: measured held-out eval results (July 2026 weights), training details, data description 11d8047 verified
Add parti-base: Qwen2.5-3B QLoRA finetune (16-bit merged) for hobbyist hardware project design 11c9d91 verified
Update README.md e11d9af verified
Dean Hu commited on
Update README.md 9539557 verified
Dean Hu commited on
Update README.md dc0f8cb verified
Dean Hu commited on
Update README.md 219bfca verified
Dean Hu commited on
Update README.md 7b45f45 verified
Dean Hu commited on
Update README.md 0336082 verified
Dean Hu commited on
Update README.md ac583b5 verified
Dean Hu commited on
Update README.md e24bd51 verified
Dean Hu commited on
Update README.md bda0059 verified
Dean Hu commited on