Downloads · 30 days
40
3% of all-time downloads
pszemraj/candle-flanUL2-quantized
candle-flanUL2-quantized is a text generation model from pszemraj. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Downloads · 30 days
40
3% of all-time downloads
All-time downloads
1.3K
Public
Repo size
41.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf41.7 GB · 100%
From the Hugging Face model README
Quants of google/flan-ul2 with candle
cargo run --example quantized-t5 --release -- \
--model-id pszemraj/candle-flanUL2-quantized \
--weight-file flan-ul2-q3k.gguf \
--prompt "Answer the following question by reasoning step by step. The cafeteria had 23 apples. If they used 20 for lunch, and bought 6 more, how many apples do they have?" \
--temperature 0
On my laptop (CPU, running in WSL) I get: 45 tokens generated (0.48 token/s)
Below are the weights/file names in this repo:
| Weight File Name | Quant Format | Size (GB) |
|---|---|---|
| flan-ul2-q2k.gguf | q2k | 6.39 |
| flan-ul2-q3k.gguf | q3k | 8.36 |
| flan-ul2-q4k.gguf | q4k | 10.9 |
| flan-ul2-q6k.gguf | q6k | 16 |
From initial testing:
q3k and higher are coherent.[!IMPORTANT] this assumes you already have rust installed
git clone https://github.com/huggingface/candle.git
cd candle
cargo build