Image-Text-to-Text
Transformers
Safetensors
English
gemma3
text-generation-inference
unsloth
conversational
Run this model with HF Jobs
Run Xenons/gemma-3-circuit-analyzer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Xenons/gemma-3-circuit-analyzer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Xenons/gemma-3-circuit-analyzer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Xenons/gemma-3-circuit-analyzer. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Xenons/gemma-3-circuit-analyzer. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Update README.md
Browse files8 unmodified lines910111213141 unmodified line1617181920218 unmodified lineslanguage:- en---# Uploaded finetuned model1 unmodified line- **License:** apache-2.0- **Finetuned from model :** unsloth/gemma-3-4b-itThis gemma3 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)8 unmodified lines910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758591 unmodified line616263648 unmodified lineslanguage:- en---## 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 model1 unmodified line- **License:** apache-2.0- **Finetuned from model :** unsloth/gemma-3-4b-it
README.md+45-2