mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 13:54:31 +00:00
Model weight decompilation:
- GGUF v2/v3 parser (self-contained, no ruvllm dep)
- Safetensors JSON header parser
- Architecture inference from tensor shapes (GQA, FFN, vocab)
- Tokenizer extraction, quantization detection
- Witness chain for model provenance
- 6 integration tests, behind `model` feature flag
API probing (live tested):
- Probes Claude, OpenAI, Gemini APIs without weight access
- Detects: streaming, tools, system_prompt, vision capabilities
- Measures: latency, tokens/sec, tokenizer type
- Model fingerprinting via self-identification + math tests
- Verified: Gemini 2.0 Flash (556ms, 46 tok/s, all caps detected)
CLI: npx ruvector decompile --model file.gguf
npx ruvector decompile --api gemini-2.0-flash
78 Rust tests passing.
Co-Authored-By: claude-flow <ruv@ruv.net>
|
||
|---|---|---|
| .. | ||
| beautifier.rs | ||
| error.rs | ||
| graph.rs | ||
| inferrer.rs | ||
| lib.rs | ||
| model_decompiler.rs | ||
| model_gguf.rs | ||
| model_safetensors.rs | ||
| model_types.rs | ||
| neural.rs | ||
| parser.rs | ||
| partitioner.rs | ||
| sourcemap.rs | ||
| training.rs | ||
| transformer.rs | ||
| tree.rs | ||
| types.rs | ||
| witness.rs | ||