Image-Text-to-Text
Transformers
Safetensors
English
dendro_omni
text-generation
phillnet
phillnet-mini
dendro
visual-question-answering
multimodal
adaptive-reasoning
code-generation
long-context
custom-code
text-vision-only
conversational
custom_code
Instructions to use ayjays132/Phillnet-Mini-Max with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayjays132/Phillnet-Mini-Max with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ayjays132/Phillnet-Mini-Max", trust_remote_code=True) 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)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ayjays132/Phillnet-Mini-Max", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ayjays132/Phillnet-Mini-Max with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ayjays132/Phillnet-Mini-Max" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ayjays132/Phillnet-Mini-Max", "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/ayjays132/Phillnet-Mini-Max
- SGLang
How to use ayjays132/Phillnet-Mini-Max 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 "ayjays132/Phillnet-Mini-Max" \ --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": "ayjays132/Phillnet-Mini-Max", "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 "ayjays132/Phillnet-Mini-Max" \ --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": "ayjays132/Phillnet-Mini-Max", "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" } } ] } ] }' - Docker Model Runner
How to use ayjays132/Phillnet-Mini-Max with Docker Model Runner:
docker model run hf.co/ayjays132/Phillnet-Mini-Max
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Solara Grid — Operations Dashboard</title> | |
| <style> | |
| :root{--paper:#f7f4ed;--surface:#fffdf8;--ink:#10253e;--muted:#647183;--line:#e4dfd4;--sun:#f4b942;--sun-dark:#d98d18;--green:#24946d;--shadow:0 18px 40px rgba(16,37,62,.09)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:.25s background,.25s color}body.dark{--paper:#0e1928;--surface:#15243a;--ink:#edf3f8;--muted:#a7b7c8;--line:#2b3d55;--shadow:0 18px 40px rgba(0,0,0,.22)}.shell{max-width:1200px;margin:auto;padding:24px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.03em;font-size:20px}.sunmark{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:var(--sun);color:#543400;font-size:20px}.subtitle{color:var(--muted);font-size:13px;margin-top:2px}.theme{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer;box-shadow:var(--shadow)} | |
| .hero{background:var(--ink);color:#fff;border-radius:24px;padding:30px;display:flex;justify-content:space-between;align-items:end;gap:20px;box-shadow:var(--shadow);margin-bottom:22px}.hero h1{font-size:clamp(26px,4vw,42px);line-height:1.02;margin:0;letter-spacing:-.05em}.hero p{margin:10px 0 0;color:#ced8e2;max-width:520px}.status{background:rgba(244,185,66,.14);border:1px solid rgba(244,185,66,.35);padding:10px 13px;border-radius:999px;color:#ffd77f;font-weight:700;font-size:13px;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.metric,.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.metric{padding:18px}.metric span{color:var(--muted);font-size:13px}.metric strong{display:block;font-size:28px;letter-spacing:-.05em;margin:7px 0}.delta{font-size:12px;font-weight:700;color:var(--green)}.grid{display:grid;grid-template-columns:1.65fr 1fr;gap:18px}.panel{padding:22px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.panel h2{margin:0;font-size:17px;letter-spacing:-.03em}.panel small{color:var(--muted)}.chart{height:235px;display:flex;align-items:end;gap:12px;padding:16px 0 4px;border-bottom:1px solid var(--line)}.bar{flex:1;min-width:24px;position:relative;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,var(--sun),var(--sun-dark));transition:.25s transform}.bar:hover{transform:translateY(-6px)}.bar::after{content:attr(data-day);position:absolute;bottom:-27px;left:50%;transform:translateX(-50%);font-size:11px;color:var(--muted)}.bar b{position:absolute;top:-22px;width:100%;font-size:11px;text-align:center;color:var(--ink)}.alerts{display:grid;gap:11px}.alert{display:flex;gap:12px;padding:12px;border:1px solid var(--line);border-radius:13px}.dot{width:10px;height:10px;border-radius:50%;background:var(--sun);margin-top:5px;flex:0 0 auto}.alert strong{display:block;font-size:13px}.alert span{color:var(--muted);font-size:12px}.footer{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;padding:24px 2px 0}@media(max-width:780px){.shell{padding:16px}.topbar,.hero{align-items:flex-start;flex-direction:column}.metrics{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.hero{padding:24px}.chart{height:180px}}@media(max-width:430px){.metrics{grid-template-columns:1fr}.footer{display:none}} | |
| </style> | |
| </head> | |
| <body> | |
| <main class="shell"> | |
| <header class="topbar"><div class="brand"><div class="sunmark">☀</div><div>Solara Grid<div class="subtitle">West Coast network · 12 sites online</div></div></div><button class="theme" id="theme" type="button">Toggle theme</button></header> | |
| <section class="hero"><div><h1>Today’s generation<br>is ahead of forecast.</h1><p>Live production signals from every Solara Grid array, battery bank, and inverter cluster.</p></div><div class="status">● All critical systems normal</div></section> | |
| <section class="metrics" aria-label="Generation metrics"><article class="metric"><span>Live output</span><strong>4.82 MW</strong><div class="delta">↑ 12.4% vs forecast</div></article><article class="metric"><span>Energy today</span><strong>31.7 MWh</strong><div class="delta">↑ 8.1% vs yesterday</div></article><article class="metric"><span>Battery reserve</span><strong>78%</strong><div class="delta">↑ 4.0% planned charge</div></article><article class="metric"><span>Carbon avoided</span><strong>19.4 t</strong><div class="delta">↑ 1.7 t this hour</div></article></section> | |
| <section class="grid"><article class="panel"><div class="panel-head"><div><h2>Generation this week</h2><small>MWh delivered to the grid</small></div><strong>31.7 MWh</strong></div><div class="chart" aria-label="Seven day generation chart"><div class="bar" data-day="Mon" style="height:55%"><b>21</b></div><div class="bar" data-day="Tue" style="height:72%"><b>27</b></div><div class="bar" data-day="Wed" style="height:64%"><b>24</b></div><div class="bar" data-day="Thu" style="height:88%"><b>33</b></div><div class="bar" data-day="Fri" style="height:82%"><b>31</b></div><div class="bar" data-day="Sat" style="height:94%"><b>35</b></div><div class="bar" data-day="Sun" style="height:85%"><b>32</b></div></div></article><aside class="panel"><div class="panel-head"><div><h2>Network alerts</h2><small>Last 24 hours</small></div><strong>03</strong></div><div class="alerts"><div class="alert"><i class="dot"></i><div><strong>North Ridge · inverter wash</strong><span>Scheduled maintenance starts at 18:00.</span></div></div><div class="alert"><i class="dot"></i><div><strong>Harbor Field · wind variance</strong><span>Production variance is within operating tolerance.</span></div></div><div class="alert"><i class="dot"></i><div><strong>Vale Storage · reserve target</strong><span>Battery target adjusted for tonight’s demand curve.</span></div></div></div></aside></section> | |
| <footer class="footer"><span>Solara Grid Operations</span><span>Last synced just now · UTC−07:00</span></footer> | |
| </main> | |
| <script>document.getElementById('theme').addEventListener('click',()=>document.body.classList.toggle('dark'));</script> | |
| </body> | |
| </html> | |