Image-Text-to-Text
Transformers
Safetensors
English
gemma3
text-generation-inference
unsloth
conversational
Instructions to use Xenons/gemma-3-circuit-analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xenons/gemma-3-circuit-analyzer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Xenons/gemma-3-circuit-analyzer") 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("Xenons/gemma-3-circuit-analyzer") model = AutoModelForMultimodalLM.from_pretrained("Xenons/gemma-3-circuit-analyzer", 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 Xenons/gemma-3-circuit-analyzer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xenons/gemma-3-circuit-analyzer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xenons/gemma-3-circuit-analyzer", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Xenons/gemma-3-circuit-analyzer
- SGLang
How to use Xenons/gemma-3-circuit-analyzer 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 "Xenons/gemma-3-circuit-analyzer" \ --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": "Xenons/gemma-3-circuit-analyzer", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Xenons/gemma-3-circuit-analyzer" \ --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": "Xenons/gemma-3-circuit-analyzer", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Xenons/gemma-3-circuit-analyzer with Docker Model Runner:
docker model run hf.co/Xenons/gemma-3-circuit-analyzer
Model Description
CircuitExpert-GPT is a language model finetuned for electronic circuit analysis, explanation, and simulation question answering.
It is especially skilled at parsing and interpreting LTspice netlists, analyzing schematic structures, and providing structured, step-by-step responses about circuit function, key components, calculations, and improvement suggestions.
Intended Use
- Analyze, explain, and review analog/digital circuits from text-based descriptions or netlists (esp. LTspice).
- Summarize circuit function, identify key components and their roles.
- Perform basic engineering calculations (frequency, current, voltage, duty cycle, etc.).
- Suggest possible improvements, safety or reliability upgrades.
- Assist in design review, troubleshooting, and educational contexts.
Model Inputs
- Circuit netlists (LTspice or similar)
- Natural language questions about circuits, modifications, or troubleshooting
Model Outputs
- Well-structured, industry-relevant answers in this format:
- Circuit function
- Key components & role
- Basic calculations
- Possible improvements
Training Data
- Example and real LTspice netlists
- Electronics engineering textbooks, public domain Q&A, expert annotations
- Manually curated Q&A pairs on circuit design, modification, and analysis
Limitations
- Not for high-voltage, medical, or safety-critical design without human review
- Answers only as good as netlist/text input; no schematic image understanding
- May not generalize to extremely novel or unconventional circuits
Uploaded finetuned model
- Developed by: Xenons
- License: apache-2.0
- Finetuned from model : unsloth/gemma-3-4b-it
- Downloads last month
- 12