aaartii commited on
Commit
05b8616
·
verified ·
1 Parent(s): bf62a50

Upload folder using huggingface_hub (#1)

Browse files

- e597aa14ee005e5ce7fd8f5d952cbcc9dae1a699ec8316bdd67c63ca4f2c19e6 (8579d979c882c6dce126d3a5be33d995172dcd12)

Files changed (4) hide show
  1. README.md +1 -0
  2. config.json +28 -0
  3. model.safetensors +3 -0
  4. weights.npz +3 -0
README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ [Google's Flan-T5 medium](https://huggingface.co/google/flan-t5-small) converted to [MLX](https://github.com/ml-explore/mlx-examples) format and quantized up to 4 bits with group size 64.
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "d_ff": 2048,
3
+ "d_kv": 64,
4
+ "d_model": 768,
5
+ "decoder_start_token_id": 0,
6
+ "dropout_rate": 0.1,
7
+ "eos_token_id": 1,
8
+ "feed_forward_proj": "gated-gelu",
9
+ "initializer_factor": 1.0,
10
+ "is_encoder_decoder": true,
11
+ "layer_norm_epsilon": 1e-06,
12
+ "model_type": "t5",
13
+ "n_positions": 512,
14
+ "num_decoder_layers": 12,
15
+ "num_heads": 12,
16
+ "num_layers": 12,
17
+ "output_past": true,
18
+ "pad_token_id": 0,
19
+ "quantization": {
20
+ "bits": 4,
21
+ "group_size": 64
22
+ },
23
+ "relative_attention_max_distance": 128,
24
+ "relative_attention_num_buckets": 32,
25
+ "tie_word_embeddings": false,
26
+ "use_cache": true,
27
+ "vocab_size": 32128
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c75b02a2239442889c89aded9c3e79ed99589fdb1496c3dad5f3bb1cf919dc3a
3
+ size 238255725
weights.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84485e228c1c4f4a0c76b3b219a9a7fd68022797957b3f9e823e21d0fff7843d
3
+ size 238399972