Add files via upload
smaller adjustments and adds
This commit is contained in:
parent
8fde5834ba
commit
65ad74a452
1 changed files with 10 additions and 2 deletions
|
|
@ -67,7 +67,15 @@
|
|||
<div class="table-container">
|
||||
<h2>Running Models (PS)</h2>
|
||||
<table id="ps-table">
|
||||
<thead><tr><th>Model</th><th>Digest</th></tr></thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Model</th>
|
||||
<th>Params</th>
|
||||
<th>Quant</th>
|
||||
<th>Ctx</th>
|
||||
<th>Digest</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ps-body">
|
||||
<tr><td colspan="2" class="loading">Loading…</td></tr>
|
||||
</tbody>
|
||||
|
|
@ -130,7 +138,7 @@ async function loadPS(){
|
|||
try{
|
||||
const data = await fetchJSON('/api/ps');
|
||||
const body = document.getElementById('ps-body');
|
||||
body.innerHTML = data.models.map(m=>`<tr><td class="model">${m.name}</td><td>${m.digest}</td></tr>`).join('');
|
||||
body.innerHTML = data.models.map(m=>`<tr><td class="model">${m.name}</td><td>${m.details.parameter_size}</td><td>${m.details.quantization_level}</td><td>${m.context_length}</td><td>${m.digest}</td></tr>`).join('');
|
||||
}catch(e){ console.error(e); }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue