Views
No views yet
{-1, 0, +1} (1.585 bits)pip install "minima-lfm @ git+https://github.com/SSHDotCodes/minima.git"1from minima import MinimaModel
2
3model = MinimaModel.from_pretrained("ProCreations/minima", device="cpu")
4outputs = model(input_ids=input_ids, attention_mask=attention_mask)MINIMA_CPU_BACKEND=i2s for the direct packed 2-bit
AVX2/ARM NEON kernel.| Task | FP32 | Minima | Capped retention |
|---|---|---|---|
| SST2 | 0.79817 | 0.75459 | 94.54% |
| QNLI | 0.60608 | 0.59491 | 98.16% |
| MNLI | 0.40621 | 0.38074 | 93.73% |
| MRPC | 0.81694 | 0.81873 | 100.00% |
| STSB | 0.54812 | 0.40660 | 74.18% |
| COLA | 0.11382 | 0.05927 | 52.07% |
| Mean | 85.45% |