Add Datasent organization card
Browse files12345678910---title: READMEemoji: 🌖colorFrom: pinkcolorTo: greensdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112131415161718192021222324252627282930313233343536373839404142434445464748---title: Datasentemoji: 🟪colorFrom: indigocolorTo: bluesdk: staticpinned: false---<div align="center"># Datasent### Polygen: polynomial tokenization and compression for ML data</div>Datasent builds **Polygen**, an SDK that tokenizes numeric, image, text, audio,and video data by fitting a compact basis to each window, with a lossless`x = f_x + r` decomposition: the fitted prediction `f_x` plus the residual `r`.The representation is small, structured, and decodes exactly.## Polygen for Qwen2-VLOur flagship demo applies Polygen to a vision-language model: it compresses thevisual tokens Qwen2-VL feeds to the LLM, and a small LoRA adapter teaches themodel to read the compressed representation. On ScienceQA the recipe holds orimproves accuracy while shrinking the visual sequence:- **+8.4pp accuracy** over the un-spliced baseline at the accuracy tier (T=3, n=200)- At the compression tier (T=2, +7.4pp accuracy): **~49% fewer visual tokens** and **~3x more requests per GPU** in cached serving- **~5x smaller** stored visual representationThe vision encoder and LLM weights are otherwise untouched; the compression sitsbetween the merger and the LLM.## Try it- **[Polygen for Qwen2-VL](https://huggingface.co/spaces/datas3nt/qwen2vl-polygen)** -- upload an image, compare answers with and without compression, scored per image- **[Polygen RAG demo](https://huggingface.co/spaces/datas3nt/qwen2vl-polygen-rag)** -- retrieval over a compressed visual-token corpus- **[Polygen tokenization demo](https://huggingface.co/spaces/datas3nt/polygen-demo)** -- the core tokenizer## Models- **[qwen2vl-polygen-7b-lora-r16-1000](https://huggingface.co/datas3nt/qwen2vl-polygen-7b-lora-r16-1000)** -- 7B LoRA adapter- **[qwen2vl-polygen-lora-r16-1000](https://huggingface.co/datas3nt/qwen2vl-polygen-lora-r16-1000)** -- 2B LoRA adapterLearn more at [datasent.com](https://www.datasent.com).
README.md+43-5