Run this model with HF Jobs
Run tensorblock/Genstruct-7B-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tensorblock/Genstruct-7B-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tensorblock/Genstruct-7B-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tensorblock/Genstruct-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Genstruct-7B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Genstruct-7B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Genstruct-7B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Genstruct-7B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Genstruct-7B-GGUF:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tensorblock/Genstruct-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/Genstruct-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use tensorblock/Genstruct-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/Genstruct-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Genstruct-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Genstruct-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Genstruct-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Genstruct-7B-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse filesFiles changed (14)
- .gitattributes+12
- Genstruct-7B-Q2_K.ggufAdded+3
- Genstruct-7B-Q3_K_L.ggufAdded+3
- Genstruct-7B-Q3_K_M.ggufAdded+3
- Genstruct-7B-Q3_K_S.ggufAdded+3
- Genstruct-7B-Q4_0.ggufAdded+3
- Genstruct-7B-Q4_K_M.ggufAdded+3
- Genstruct-7B-Q4_K_S.ggufAdded+3
- Genstruct-7B-Q5_0.ggufAdded+3
- Genstruct-7B-Q5_K_M.ggufAdded+3
- Genstruct-7B-Q5_K_S.ggufAdded+3
- Genstruct-7B-Q6_K.ggufAdded+3
- Genstruct-7B-Q8_0.ggufAdded+3
- README.mdAdded+83
32 unmodified lines33343536373839404142434445464732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -textGenstruct-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text123version https://git-lfs.github.com/spec/v1oid sha256:4340a623b72cbc1655c0ecd37a4373b766858e991875757467e78a40128f8c37size 2719247744123version https://git-lfs.github.com/spec/v1oid sha256:f8d1add068d4d1bd088b2794dc01cf2f640d261a9cdb74f4cc80a0f8a2d9b865size 3822030624123version https://git-lfs.github.com/spec/v1oid sha256:22171ae79069aef69c436a7cf8ce5b116f70ef239d903521251e620bff227053size 3518992160123version https://git-lfs.github.com/spec/v1oid sha256:b9f064b3e97eaa538d25ca96ec793a38f1c1dfaec4b7e3d8e0580567731b8790size 3164573472123version https://git-lfs.github.com/spec/v1oid sha256:d5997294dc7bb16decb2b7d56c2fc8d02aa032841d2aa5f764fea3c2da557e57size 4108923200123version https://git-lfs.github.com/spec/v1oid sha256:20dd80c204ccb770e6d22dd1c7e05b1abe8fea3086293c91bb033ab4af18b29fsize 4368445760123version https://git-lfs.github.com/spec/v1oid sha256:c3e63c3a5bf5b900b4293edd8d0cf79b67a92e113c32160037c06ab56a38505esize 4140380480123version https://git-lfs.github.com/spec/v1oid sha256:80b7973e487beacfa111a2f898e0a50f6adb8e40af9d116f0721ae0c31fd4e5fsize 4997722944123version https://git-lfs.github.com/spec/v1oid sha256:5a2193d56da8742d3afdca5629e61242db55ed0daf3cf9a5a139296504145ab7size 5131416384123version https://git-lfs.github.com/spec/v1oid sha256:a087963808eae5b8c415f1ac83d8a8988f17172565ebb83cbab3b52e125c9baesize 4997722944123version https://git-lfs.github.com/spec/v1oid sha256:4918521f2e9ac10f18c9345a64fb4c1c4b92020cc115e09e0665b4abfb6b874dsize 5942072672123version https://git-lfs.github.com/spec/v1oid sha256:9af43f84bda4d25ed042faaeaabb951fdfaff96888d293db4b629ac69eba7f0dsize 76958671681234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283---base_model: NousResearch/Genstruct-7Btags:- Mistral- instruct- finetune- synthetic- TensorBlock- GGUFlicense: apache-2.0language:- enlibrary_name: transformers---
<div style="width: auto; margin-left: auto; margin-right: auto"><img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;"></div><div style="display: flex; justify-content: space-between; width: 100%;"> <div style="display: flex; flex-direction: column; align-items: flex-start;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"> 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> </p> </div></div>
## NousResearch/Genstruct-7B - GGUF
This repo contains GGUF format model files for [NousResearch/Genstruct-7B](https://huggingface.co/NousResearch/Genstruct-7B).
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
<div style="text-align: left; margin: 20px 0;"> <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;"> Run them on the TensorBlock client using your local machine ↗ </a></div>
## Prompt template
```
```
## Model file specification
| Filename | Quant type | File Size | Description || -------- | ---------- | --------- | ----------- || [Genstruct-7B-Q2_K.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q2_K.gguf) | Q2_K | 2.719 GB | smallest, significant quality loss - not recommended for most purposes || [Genstruct-7B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q3_K_S.gguf) | Q3_K_S | 3.165 GB | very small, high quality loss || [Genstruct-7B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q3_K_M.gguf) | Q3_K_M | 3.519 GB | very small, high quality loss || [Genstruct-7B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q3_K_L.gguf) | Q3_K_L | 3.822 GB | small, substantial quality loss || [Genstruct-7B-Q4_0.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q4_0.gguf) | Q4_0 | 4.109 GB | legacy; small, very high quality loss - prefer using Q3_K_M || [Genstruct-7B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q4_K_S.gguf) | Q4_K_S | 4.140 GB | small, greater quality loss || [Genstruct-7B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q4_K_M.gguf) | Q4_K_M | 4.368 GB | medium, balanced quality - recommended || [Genstruct-7B-Q5_0.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q5_0.gguf) | Q5_0 | 4.998 GB | legacy; medium, balanced quality - prefer using Q4_K_M || [Genstruct-7B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q5_K_S.gguf) | Q5_K_S | 4.998 GB | large, low quality loss - recommended || [Genstruct-7B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q5_K_M.gguf) | Q5_K_M | 5.131 GB | large, very low quality loss - recommended || [Genstruct-7B-Q6_K.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q6_K.gguf) | Q6_K | 5.942 GB | very large, extremely low quality loss || [Genstruct-7B-Q8_0.gguf](https://huggingface.co/tensorblock/Genstruct-7B-GGUF/blob/main/Genstruct-7B-Q8_0.gguf) | Q8_0 | 7.696 GB | very large, extremely low quality loss - not recommended |
## Downloading instruction
### Command line
Firstly, install Huggingface Client
```shellpip install -U "huggingface_hub[cli]"```
Then, downoad the individual model file the a local directory
```shellhuggingface-cli download tensorblock/Genstruct-7B-GGUF --include "Genstruct-7B-Q2_K.gguf" --local-dir MY_LOCAL_DIR```
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
```shellhuggingface-cli download tensorblock/Genstruct-7B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'```.gitattributes+12
Genstruct-7B-Q2_K.ggufAdded+3
Genstruct-7B-Q3_K_L.ggufAdded+3
Genstruct-7B-Q3_K_M.ggufAdded+3
Genstruct-7B-Q3_K_S.ggufAdded+3
Genstruct-7B-Q4_0.ggufAdded+3
Genstruct-7B-Q4_K_M.ggufAdded+3
Genstruct-7B-Q4_K_S.ggufAdded+3
Genstruct-7B-Q5_0.ggufAdded+3
Genstruct-7B-Q5_K_M.ggufAdded+3
Genstruct-7B-Q5_K_S.ggufAdded+3
Genstruct-7B-Q6_K.ggufAdded+3
Genstruct-7B-Q8_0.ggufAdded+3
README.mdAdded+83