Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q3_K_L.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q3_K_M.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q3_K_S.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q4_0.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q4_K_M.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q4_K_S.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q5_0.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q5_K_M.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q5_K_S.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q6_K.gguf +3 -0
- Llama-3-8B-Instruct-Finance-RAG-Q8_0.gguf +3 -0
- README.md +87 -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 |
+
Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Llama-3-8B-Instruct-Finance-RAG-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Llama-3-8B-Instruct-Finance-RAG-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Llama-3-8B-Instruct-Finance-RAG-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Llama-3-8B-Instruct-Finance-RAG-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Llama-3-8B-Instruct-Finance-RAG-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Llama-3-8B-Instruct-Finance-RAG-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Llama-3-8B-Instruct-Finance-RAG-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Llama-3-8B-Instruct-Finance-RAG-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Llama-3-8B-Instruct-Finance-RAG-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Llama-3-8B-Instruct-Finance-RAG-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Llama-3-8B-Instruct-Finance-RAG-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1013db1ba2df70abac020cd83c032e8f66cee08913ea5d77ee976e9e0488b9a
|
| 3 |
+
size 3179169760
|
Llama-3-8B-Instruct-Finance-RAG-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbcf1a314a2c01934a15526e32572a937d9f7520023f63eec4fe0dfe58b0fe7d
|
| 3 |
+
size 4321998048
|
Llama-3-8B-Instruct-Finance-RAG-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0848b8eeea48edee51c0ac737165533c6d9d0e86ad7f7859ac12fdd2cc2e1fb0
|
| 3 |
+
size 4018959584
|
Llama-3-8B-Instruct-Finance-RAG-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcd2595ee925fa920211cba9649308f892bbf51f61bda37e6798409dc953340b
|
| 3 |
+
size 3664540896
|
Llama-3-8B-Instruct-Finance-RAG-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d32a338031109ab81565b511b680baa018d40f33da48636256d633f3f6be8025
|
| 3 |
+
size 4661257696
|
Llama-3-8B-Instruct-Finance-RAG-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c977844933a8774d2f33aa0b6c0240caf8c530b911937bd737415526c2cc0cc4
|
| 3 |
+
size 4920780256
|
Llama-3-8B-Instruct-Finance-RAG-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:947123d0572d8884739c05687c2cecc9a5fe94d840a05cef3c3a0164d6b0f704
|
| 3 |
+
size 4692714976
|
Llama-3-8B-Instruct-Finance-RAG-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad3a05b8ae96e3028114a7cd8f1b1b93704c5cc4846cc7dc3482c1fc2191daa8
|
| 3 |
+
size 5599344096
|
Llama-3-8B-Instruct-Finance-RAG-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edfd14ea10abb86f80f4bce3e3339debc2cd21492a8c1190b1d0d024e9279e4a
|
| 3 |
+
size 5733037536
|
Llama-3-8B-Instruct-Finance-RAG-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a682723c56d513f3a69396bc04be36aab230c1d7d5b5f94bba0ff72a8f0a29fc
|
| 3 |
+
size 5599344096
|
Llama-3-8B-Instruct-Finance-RAG-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96c1fe292f0aedf653457c20d3f89f5cbbfb9071d03962039e5e4ad9a6dcfb87
|
| 3 |
+
size 6596060896
|
Llama-3-8B-Instruct-Finance-RAG-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6f31fa1614deac9b2831faaad24b01715ccd542352902de62462bbca8c7a623
|
| 3 |
+
size 8540841184
|
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- finance
|
| 5 |
+
- TensorBlock
|
| 6 |
+
- GGUF
|
| 7 |
+
license: llama3
|
| 8 |
+
base_model: curiousily/Llama-3-8B-Instruct-Finance-RAG
|
| 9 |
+
datasets:
|
| 10 |
+
- virattt/financial-qa-10K
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 17 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 18 |
+
</div>
|
| 19 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 20 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 21 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 22 |
+
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>
|
| 23 |
+
</p>
|
| 24 |
+
</div>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
## curiousily/Llama-3-8B-Instruct-Finance-RAG - GGUF
|
| 28 |
+
|
| 29 |
+
This repo contains GGUF format model files for [curiousily/Llama-3-8B-Instruct-Finance-RAG](https://huggingface.co/curiousily/Llama-3-8B-Instruct-Finance-RAG).
|
| 30 |
+
|
| 31 |
+
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).
|
| 32 |
+
|
| 33 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 34 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 35 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 36 |
+
</a>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
## Prompt template
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 43 |
+
|
| 44 |
+
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 45 |
+
|
| 46 |
+
{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Model file specification
|
| 50 |
+
|
| 51 |
+
| Filename | Quant type | File Size | Description |
|
| 52 |
+
| -------- | ---------- | --------- | ----------- |
|
| 53 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf) | Q2_K | 3.179 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 54 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q3_K_S.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q3_K_S.gguf) | Q3_K_S | 3.665 GB | very small, high quality loss |
|
| 55 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q3_K_M.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q3_K_M.gguf) | Q3_K_M | 4.019 GB | very small, high quality loss |
|
| 56 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q3_K_L.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q3_K_L.gguf) | Q3_K_L | 4.322 GB | small, substantial quality loss |
|
| 57 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q4_0.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q4_0.gguf) | Q4_0 | 4.661 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 58 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q4_K_S.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q4_K_S.gguf) | Q4_K_S | 4.693 GB | small, greater quality loss |
|
| 59 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q4_K_M.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q4_K_M.gguf) | Q4_K_M | 4.921 GB | medium, balanced quality - recommended |
|
| 60 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q5_0.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q5_0.gguf) | Q5_0 | 5.599 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 61 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q5_K_S.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q5_K_S.gguf) | Q5_K_S | 5.599 GB | large, low quality loss - recommended |
|
| 62 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q5_K_M.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q5_K_M.gguf) | Q5_K_M | 5.733 GB | large, very low quality loss - recommended |
|
| 63 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q6_K.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q6_K.gguf) | Q6_K | 6.596 GB | very large, extremely low quality loss |
|
| 64 |
+
| [Llama-3-8B-Instruct-Finance-RAG-Q8_0.gguf](https://huggingface.co/tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF/blob/main/Llama-3-8B-Instruct-Finance-RAG-Q8_0.gguf) | Q8_0 | 8.541 GB | very large, extremely low quality loss - not recommended |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Downloading instruction
|
| 68 |
+
|
| 69 |
+
### Command line
|
| 70 |
+
|
| 71 |
+
Firstly, install Huggingface Client
|
| 72 |
+
|
| 73 |
+
```shell
|
| 74 |
+
pip install -U "huggingface_hub[cli]"
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Then, downoad the individual model file the a local directory
|
| 78 |
+
|
| 79 |
+
```shell
|
| 80 |
+
huggingface-cli download tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF --include "Llama-3-8B-Instruct-Finance-RAG-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 84 |
+
|
| 85 |
+
```shell
|
| 86 |
+
huggingface-cli download tensorblock/Llama-3-8B-Instruct-Finance-RAG-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 87 |
+
```
|