TensorVizion commited on
Commit
c160972
·
verified ·
1 Parent(s): c6f2b03

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +128 -1
README.md CHANGED
@@ -1,3 +1,130 @@
1
  ---
2
- license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: llama3.2
3
  ---
4
+ Vector AI
5
+
6
+ **A fine-tuned general-purpose chat model built on Meta's Llama 3.2 3B Instruct.**Developed by [LiquidVizion](https://liquidvizion.me) · Based on `meta-llama/Llama-3.2-3B-Instruct`
7
+
8
+ * * *
9
+
10
+ ## Model Overview
11
+
12
+ Vector AI is a conversational language model fine-tuned from Llama 3.2 3B Instruct using QLoRA (4-bit quantized low-rank adaptation). It is designed for general chat and assistant tasks, with training focused on improving conversational coherence, instruction following, and response quality at the 3B parameter scale.
13
+
14
+ | Property | Value |
15
+ | --- | --- |
16
+ | Base Model | meta-llama/Llama-3.2-3B-Instruct |
17
+ | Fine-tune Method | QLoRA (PEFT) |
18
+ | Parameters | ~3B |
19
+ | Context Length | 4096 tokens |
20
+ | Language | English |
21
+ | License | Llama 3.2 Community License |
22
+
23
+ * * *
24
+
25
+ ## Repository Contents
26
+
27
+ This repository includes four files for different use cases:
28
+
29
+ | File | Description | Use case |
30
+ | --- | --- | --- |
31
+ | `model.safetensors` | Full fp16 merged model | Production inference, further fine-tuning |
32
+ | `vector-ai-q6.gguf` | Q6_K GGUF quantization | High-quality local inference (llama.cpp, LM Studio) |
33
+ | `vector-ai-q4.gguf` | Q4_K_M GGUF quantization | Faster/lighter local inference, lower VRAM |
34
+ | `adapter_model.safetensors` | PEFT LoRA adapter weights | Apply on top of the base Llama 3.2 3B Instruct |
35
+
36
+ * * *
37
+
38
+ ## Quickstart
39
+
40
+ ### PEFT adapter (load on top of base model)
41
+
42
+ from transformers import AutoModelForCausalLM, AutoTokenizer
43
+ from peft import PeftModel
44
+ import torch
45
+
46
+ base_model_id = "meta-llama/Llama-3.2-3B-Instruct"
47
+ adapter_id = "liquidvizion/vector-ai" # update with your HF repo path
48
+
49
+ tokenizer = AutoTokenizer.from_pretrained(base_model_id)
50
+ base_model = AutoModelForCausalLM.from_pretrained(
51
+ base_model_id,
52
+ torch_dtype=torch.float16,
53
+ device_map="auto",
54
+ )
55
+
56
+ model = PeftModel.from_pretrained(base_model, adapter_id)
57
+ model = model.merge_and_unload() # optional: merge for faster inference
58
+
59
+ ### llama.cpp / LM Studio (GGUF)
60
+
61
+ Download either GGUF file and load directly in LM Studio, Ollama, or llama.cpp:
62
+
63
+ # Q6 — recommended for quality (requires ~3.5 GB RAM)
64
+ llama-cli -m vector-ai-q6.gguf -p "You are Vector AI." --chat-template llama3
65
+
66
+ # Q4 — recommended for speed / lower memory (~2.5 GB RAM)
67
+ llama-cli -m vector-ai-q4.gguf -p "You are Vector AI." --chat-template llama3
68
+
69
+ * * *
70
+
71
+ ## Chat Template
72
+
73
+ Vector AI uses the standard Llama 3.2 Instruct chat template:
74
+
75
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
76
+ You are Vector AI, a helpful assistant.<|eot_id|>
77
+ <|start_header_id|>user<|end_header_id|>
78
+ {your message here}<|eot_id|>
79
+ <|start_header_id|>assistant<|end_header_id|>
80
+
81
+ * * *
82
+
83
+ ## Training Details
84
+
85
+ | Setting | Value |
86
+ | --- | --- |
87
+ | Base model | meta-llama/Llama-3.2-3B-Instruct |
88
+ | Fine-tune method | QLoRA |
89
+ | Quantization (training) | 4-bit NF4 (bitsandbytes) |
90
+ | Training framework | Unsloth + HuggingFace PEFT |
91
+ | Training data | General conversation / chat |
92
+ | Hardware | NVIDIA RTX 4060 8GB |
93
+
94
+ * * *
95
+
96
+ ## Recommended Inference Settings
97
+
98
+ These settings work well for general chat use:
99
+
100
+ temperature = 0.7 # balanced creativity vs coherence
101
+ top_p = 0.9 # nucleus sampling
102
+ top_k = 50 # vocabulary diversity
103
+ repetition_penalty = 1.1 # reduces looping
104
+ max_new_tokens = 512
105
+
106
+ For more deterministic / factual responses, lower temperature to `0.3–0.5`.
107
+
108
+ * * *
109
+
110
+ ## Limitations
111
+
112
+ * English only. Performance on other languages is untested.
113
+ * 3B parameter scale — will be outperformed on complex reasoning tasks by larger models.
114
+ * Not trained for code generation, mathematics, or domain-specific professional tasks.
115
+ * Like all language models, Vector AI can produce inaccurate or hallucinated responses. Always verify important information.
116
+ * Not aligned for safety-critical or high-stakes applications.
117
+
118
+ * * *
119
+
120
+ ## License
121
+
122
+ This model is released under the **[Llama 3.2 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE)**.Use is subject to Meta's acceptable use policy. Commercial use is permitted under the terms of that license.
123
+
124
+ Base model: © Meta Platforms, Inc.Fine-tune and adapter weights: © LiquidVizion
125
+
126
+ * * *
127
+
128
+ ## About TensorVizion
129
+
130
+ [LiquidVizion](https://liquidvizion.me) is a creative AI and design studio publishing open models, LoRA adapters, and generative AI tools.Find more models and resources on [HuggingFace](https://huggingface.co/liquidvizion) and [CivitAI](https://civitai.com).