Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +94 -0
- llama2_tifa_question_generation-Q2_K.gguf +3 -0
- llama2_tifa_question_generation-Q3_K_L.gguf +3 -0
- llama2_tifa_question_generation-Q3_K_M.gguf +3 -0
- llama2_tifa_question_generation-Q3_K_S.gguf +3 -0
- llama2_tifa_question_generation-Q4_0.gguf +3 -0
- llama2_tifa_question_generation-Q4_K_M.gguf +3 -0
- llama2_tifa_question_generation-Q4_K_S.gguf +3 -0
- llama2_tifa_question_generation-Q5_0.gguf +3 -0
- llama2_tifa_question_generation-Q5_K_M.gguf +3 -0
- llama2_tifa_question_generation-Q5_K_S.gguf +3 -0
- llama2_tifa_question_generation-Q6_K.gguf +3 -0
- llama2_tifa_question_generation-Q8_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
llama2_tifa_question_generation-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
llama2_tifa_question_generation-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
llama2_tifa_question_generation-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
llama2_tifa_question_generation-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
llama2_tifa_question_generation-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
llama2_tifa_question_generation-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
llama2_tifa_question_generation-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
llama2_tifa_question_generation-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
llama2_tifa_question_generation-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
llama2_tifa_question_generation-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
llama2_tifa_question_generation-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
llama2_tifa_question_generation-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
inference: true
|
4 |
+
widget:
|
5 |
+
- text: '<s>[INST] <<SYS>>
|
6 |
+
|
7 |
+
Given an image description, generate one or two multiple-choice questions that
|
8 |
+
verifies if the image description is correct.
|
9 |
+
|
10 |
+
Classify each concept into a type (object, human, animal, food, activity, attribute,
|
11 |
+
counting, color, material, spatial, location, shape, other), and then generate
|
12 |
+
a question for each type.
|
13 |
+
|
14 |
+
|
15 |
+
<</SYS>>
|
16 |
+
|
17 |
+
|
18 |
+
Description: a blue rabbit and a red plane [/INST] Entities:'
|
19 |
+
pipeline_tag: text-generation
|
20 |
+
tags:
|
21 |
+
- text-generation-inference
|
22 |
+
- llama2
|
23 |
+
- text-to-image
|
24 |
+
- TensorBlock
|
25 |
+
- GGUF
|
26 |
+
datasets:
|
27 |
+
- TIFA
|
28 |
+
language:
|
29 |
+
- en
|
30 |
+
base_model: tifa-benchmark/llama2_tifa_question_generation
|
31 |
+
---
|
32 |
+
|
33 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
34 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
35 |
+
</div>
|
36 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
37 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
38 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
39 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
40 |
+
</p>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
## tifa-benchmark/llama2_tifa_question_generation - GGUF
|
45 |
+
|
46 |
+
This repo contains GGUF format model files for [tifa-benchmark/llama2_tifa_question_generation](https://huggingface.co/tifa-benchmark/llama2_tifa_question_generation).
|
47 |
+
|
48 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
49 |
+
|
50 |
+
## Prompt template
|
51 |
+
|
52 |
+
```
|
53 |
+
|
54 |
+
```
|
55 |
+
|
56 |
+
## Model file specification
|
57 |
+
|
58 |
+
| Filename | Quant type | File Size | Description |
|
59 |
+
| -------- | ---------- | --------- | ----------- |
|
60 |
+
| [llama2_tifa_question_generation-Q2_K.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q2_K.gguf) | Q2_K | 2.359 GB | smallest, significant quality loss - not recommended for most purposes |
|
61 |
+
| [llama2_tifa_question_generation-Q3_K_S.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q3_K_S.gguf) | Q3_K_S | 2.746 GB | very small, high quality loss |
|
62 |
+
| [llama2_tifa_question_generation-Q3_K_M.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q3_K_M.gguf) | Q3_K_M | 3.072 GB | very small, high quality loss |
|
63 |
+
| [llama2_tifa_question_generation-Q3_K_L.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q3_K_L.gguf) | Q3_K_L | 3.350 GB | small, substantial quality loss |
|
64 |
+
| [llama2_tifa_question_generation-Q4_0.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q4_0.gguf) | Q4_0 | 3.563 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
65 |
+
| [llama2_tifa_question_generation-Q4_K_S.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q4_K_S.gguf) | Q4_K_S | 3.592 GB | small, greater quality loss |
|
66 |
+
| [llama2_tifa_question_generation-Q4_K_M.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q4_K_M.gguf) | Q4_K_M | 3.801 GB | medium, balanced quality - recommended |
|
67 |
+
| [llama2_tifa_question_generation-Q5_0.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q5_0.gguf) | Q5_0 | 4.332 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
68 |
+
| [llama2_tifa_question_generation-Q5_K_S.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q5_K_S.gguf) | Q5_K_S | 4.332 GB | large, low quality loss - recommended |
|
69 |
+
| [llama2_tifa_question_generation-Q5_K_M.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q5_K_M.gguf) | Q5_K_M | 4.455 GB | large, very low quality loss - recommended |
|
70 |
+
| [llama2_tifa_question_generation-Q6_K.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q6_K.gguf) | Q6_K | 5.149 GB | very large, extremely low quality loss |
|
71 |
+
| [llama2_tifa_question_generation-Q8_0.gguf](https://huggingface.co/tensorblock/llama2_tifa_question_generation-GGUF/tree/main/llama2_tifa_question_generation-Q8_0.gguf) | Q8_0 | 6.669 GB | very large, extremely low quality loss - not recommended |
|
72 |
+
|
73 |
+
|
74 |
+
## Downloading instruction
|
75 |
+
|
76 |
+
### Command line
|
77 |
+
|
78 |
+
Firstly, install Huggingface Client
|
79 |
+
|
80 |
+
```shell
|
81 |
+
pip install -U "huggingface_hub[cli]"
|
82 |
+
```
|
83 |
+
|
84 |
+
Then, downoad the individual model file the a local directory
|
85 |
+
|
86 |
+
```shell
|
87 |
+
huggingface-cli download tensorblock/llama2_tifa_question_generation-GGUF --include "llama2_tifa_question_generation-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
88 |
+
```
|
89 |
+
|
90 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
91 |
+
|
92 |
+
```shell
|
93 |
+
huggingface-cli download tensorblock/llama2_tifa_question_generation-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
94 |
+
```
|
llama2_tifa_question_generation-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7979405cbe900b8fb651fd7c64a0580a2e901c97c09220eeb12ec60688ec2a13
|
3 |
+
size 2532864288
|
llama2_tifa_question_generation-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ecb1eeebaeccf8731c25842b5b7a2c6fe35d8c9145c5a37b66850d8fbc73f8ae
|
3 |
+
size 3597111584
|
llama2_tifa_question_generation-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:809772bc2a2c5aa53f7a571e400969f9457809e391560ddd441de3c350d4be1a
|
3 |
+
size 3298005280
|
llama2_tifa_question_generation-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e417a748f0a2716c9c93b462452ef9ce200bd3cc5c836cf49f4e8dcc3239f7d
|
3 |
+
size 2948305184
|
llama2_tifa_question_generation-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee35b6b0502e5101d868f4487a86a62ffc6664d299f91a6adbfddbdf219241e5
|
3 |
+
size 3825807648
|
llama2_tifa_question_generation-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26cff00965be609050bcef0947aab668c88d1aff4147a154b0330ed65fd419e5
|
3 |
+
size 4081004832
|
llama2_tifa_question_generation-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddf4cc3cbbaffe146d3896ed9a10bfd1004ef1f4549876b9c25ef83f94f30256
|
3 |
+
size 3856740640
|
llama2_tifa_question_generation-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7991f39845ccb743b43e5f3d7c68f70e1d05e6b6b5df28405a42fca6a710656e
|
3 |
+
size 4651692320
|
llama2_tifa_question_generation-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f416ec421596fb0fa33a1ae1ba267c0a55ed7d2903145842ce7d1cd238fd1c22
|
3 |
+
size 4783157536
|
llama2_tifa_question_generation-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68c1bce64661a984963a68f70b6fa1922c06839c42e11fa175cf509e76ed9c79
|
3 |
+
size 4651692320
|
llama2_tifa_question_generation-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0959fa88a575ddc1190ad51adacfd775263a9cf607ef097cbfe7c5c95da4b51
|
3 |
+
size 5529194784
|
llama2_tifa_question_generation-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce9394716c7bd121b4a511fd7b625b04ce4a86aff2ec85480037a5c101992359
|
3 |
+
size 7161090336
|