Spaces:
Running
Running
File size: 693 Bytes
caba5f3 77d9d41 f3dd871 caba5f3 0a89ae4 43df791 caba5f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
#!/bin/bash
# update model cache
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
pushd $SCRIPT_DIR > /dev/null
cat << MARKDOWN
---
$(cat manual-metadata.yaml)
$(cat ../model-cache.json \
| jq '[to_entries[] | select(.key | test("32b|70b|72b|8x22b|405b") | not) | .value[]] | sort | { models: . }' \
| node -e "
const fs = require('fs');
const YAML = require('yaml');
const input = fs.readFileSync(0, 'utf-8'); // Read from stdin
const json = JSON.parse(input);
const yamlStr = YAML.stringify(json);
console.log(yamlStr);"
)
- Qwen/Qwen2.5-72B
- mattshumer/Reflection-Llama-3.1-70B
---
$(cat body.md)
MARKDOWN
popd > /dev/null
|