Instructions to use QuantFactory/Vapor_7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/Vapor_7B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/Vapor_7B-GGUF", dtype="auto") - llama-cpp-python
How to use QuantFactory/Vapor_7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/Vapor_7B-GGUF", filename="Vapor_7B.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/Vapor_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 QuantFactory/Vapor_7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/Vapor_7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/Vapor_7B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/Vapor_7B-GGUF with Ollama:
ollama run hf.co/QuantFactory/Vapor_7B-GGUF:Q4_K_M
- Unsloth Studio
How to use QuantFactory/Vapor_7B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/Vapor_7B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/Vapor_7B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/Vapor_7B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use QuantFactory/Vapor_7B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/Vapor_7B-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/Vapor_7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/Vapor_7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Vapor_7B-GGUF-Q4_K_M
List all available models
lemonade list
Improve language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,117 +1,128 @@
|
|
| 1 |
-
|
| 2 |
-
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- Qwen/Qwen2.5-7B
|
| 5 |
+
library_name: transformers
|
| 6 |
+
language:
|
| 7 |
+
- zho
|
| 8 |
+
- eng
|
| 9 |
+
- fra
|
| 10 |
+
- spa
|
| 11 |
+
- por
|
| 12 |
+
- deu
|
| 13 |
+
- ita
|
| 14 |
+
- rus
|
| 15 |
+
- jpn
|
| 16 |
+
- kor
|
| 17 |
+
- vie
|
| 18 |
+
- tha
|
| 19 |
+
- ara
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
[](https://hf.co/QuantFactory)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
# QuantFactory/Vapor_7B-GGUF
|
| 26 |
+
This is quantized version of [FourOhFour/Vapor_7B](https://huggingface.co/FourOhFour/Vapor_7B) created using llama.cpp
|
| 27 |
+
|
| 28 |
+
# Original Model Card
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
```
|
| 32 |
+
base_model: Qwen/Qwen2.5-7B
|
| 33 |
+
model_type: AutoModelForCausalLM
|
| 34 |
+
tokenizer_type: AutoTokenizer
|
| 35 |
+
|
| 36 |
+
load_in_8bit: false
|
| 37 |
+
load_in_4bit: false
|
| 38 |
+
strict: false
|
| 39 |
+
|
| 40 |
+
datasets:
|
| 41 |
+
- path: PocketDoc/Dans-MemoryCore-CoreCurriculum-Small
|
| 42 |
+
type: sharegpt
|
| 43 |
+
conversation: chatml
|
| 44 |
+
- path: NewEden/Kalo-Opus-Instruct-22k-Refusal-Murdered
|
| 45 |
+
type: sharegpt
|
| 46 |
+
conversation: chatml
|
| 47 |
+
- path: Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
|
| 48 |
+
type: sharegpt
|
| 49 |
+
conversation: chatml
|
| 50 |
+
- path: NewEden/Gryphe-Sonnet-3.5-35k-Subset
|
| 51 |
+
type: sharegpt
|
| 52 |
+
conversation: chatml
|
| 53 |
+
- path: Nitral-AI/Reasoning-1shot_ShareGPT
|
| 54 |
+
type: sharegpt
|
| 55 |
+
conversation: chatml
|
| 56 |
+
- path: Nitral-AI/GU_Instruct-ShareGPT
|
| 57 |
+
type: sharegpt
|
| 58 |
+
conversation: chatml
|
| 59 |
+
- path: Nitral-AI/Medical_Instruct-ShareGPT
|
| 60 |
+
type: sharegpt
|
| 61 |
+
conversation: chatml
|
| 62 |
+
|
| 63 |
+
chat_template: chatml
|
| 64 |
+
|
| 65 |
+
val_set_size: 0.01
|
| 66 |
+
output_dir: ./outputs/out
|
| 67 |
+
|
| 68 |
+
adapter:
|
| 69 |
+
lora_r:
|
| 70 |
+
lora_alpha:
|
| 71 |
+
lora_dropout:
|
| 72 |
+
lora_target_linear:
|
| 73 |
+
|
| 74 |
+
sequence_len: 8192
|
| 75 |
+
# sequence_len: 32768
|
| 76 |
+
sample_packing: true
|
| 77 |
+
eval_sample_packing: false
|
| 78 |
+
pad_to_sequence_len: true
|
| 79 |
+
|
| 80 |
+
plugins:
|
| 81 |
+
- axolotl.integrations.liger.LigerPlugin
|
| 82 |
+
liger_rope: true
|
| 83 |
+
liger_rms_norm: true
|
| 84 |
+
liger_swiglu: true
|
| 85 |
+
liger_fused_linear_cross_entropy: true
|
| 86 |
+
|
| 87 |
+
wandb_project: qwen7B
|
| 88 |
+
wandb_entity:
|
| 89 |
+
wandb_watch:
|
| 90 |
+
wandb_name: qwen7B
|
| 91 |
+
wandb_log_model:
|
| 92 |
+
|
| 93 |
+
gradient_accumulation_steps: 32
|
| 94 |
+
micro_batch_size: 1
|
| 95 |
+
num_epochs: 2
|
| 96 |
+
optimizer: adamw_bnb_8bit
|
| 97 |
+
lr_scheduler: cosine
|
| 98 |
+
learning_rate: 0.00001
|
| 99 |
+
weight_decay: 0.05
|
| 100 |
+
|
| 101 |
+
train_on_inputs: false
|
| 102 |
+
group_by_length: false
|
| 103 |
+
bf16: auto
|
| 104 |
+
fp16:
|
| 105 |
+
tf32: true
|
| 106 |
+
|
| 107 |
+
gradient_checkpointing: true
|
| 108 |
+
early_stopping_patience:
|
| 109 |
+
resume_from_checkpoint:
|
| 110 |
+
local_rank:
|
| 111 |
+
logging_steps: 1
|
| 112 |
+
xformers_attention:
|
| 113 |
+
flash_attention: true
|
| 114 |
+
|
| 115 |
+
warmup_ratio: 0.1
|
| 116 |
+
evals_per_epoch: 4
|
| 117 |
+
eval_table_size:
|
| 118 |
+
eval_max_new_tokens: 128
|
| 119 |
+
saves_per_epoch: 2
|
| 120 |
+
|
| 121 |
+
debug:
|
| 122 |
+
deepspeed:
|
| 123 |
+
fsdp:
|
| 124 |
+
fsdp_config:
|
| 125 |
+
|
| 126 |
+
special_tokens:
|
| 127 |
+
pad_token: <pad>
|
| 128 |
+
```
|