Add files using upload-large-folder tool
Browse files- README.md +149 -224
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,282 +1,207 @@
|
|
| 1 |
-
---
|
| 2 |
-
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 3 |
-
library_name: peft
|
| 4 |
-
pipeline_tag: text-generation
|
| 5 |
-
license_name: proprietary
|
| 6 |
-
license_link: LICENSE
|
| 7 |
-
tags:
|
| 8 |
-
- base_model:adapter:Qwen/Qwen2.5-7B-Instruct
|
| 9 |
-
- lora
|
| 10 |
-
- transformers
|
| 11 |
-
- compliance
|
| 12 |
-
- nist
|
| 13 |
-
- control-extraction
|
| 14 |
-
- regulatory
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# NIST Control Extraction LoRA Adapter
|
| 18 |
-
|
| 19 |
-
A fine-tuned LoRA adapter for **Qwen2.5-7B-Instruct** specifically designed for accurate extraction of security controls from NIST framework documents. This model eliminates hallucination issues present in the base model, ensuring precise identification of controls without mistaking control enhancements or related text as valid controls.
|
| 20 |
-
|
| 21 |
-
## Key Features
|
| 22 |
-
|
| 23 |
-
- **Accurate Control Extraction**: Precisely identifies control IDs, titles, and descriptions from framework documents
|
| 24 |
-
- **Reduced Hallucination**: Trained to distinguish between actual controls and control enhancements/related content
|
| 25 |
-
- **Fast Inference**: Processes 492-page NIST documents in ~15 minutes (vs. 27 minutes with base model)
|
| 26 |
-
- **Structured Output**: Returns controls in clean JSON format with `<END>` token for reliable parsing
|
| 27 |
-
|
| 28 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
## Model Details
|
| 31 |
|
| 32 |
### Model Description
|
| 33 |
|
| 34 |
-
|
| 35 |
|
| 36 |
-
| Property | Value |
|
| 37 |
-
|----------|-------|
|
| 38 |
-
| **Developed by** | Rishit Sharma |
|
| 39 |
-
| **Model Type** | LoRA Adapter (PEFT) |
|
| 40 |
-
| **Base Model** | [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) |
|
| 41 |
-
| **Language** | English |
|
| 42 |
-
| **Domain** | Compliance & Regulatory Frameworks |
|
| 43 |
-
| **License** | Proprietary - No use allowed without prior permission |
|
| 44 |
|
| 45 |
-
---
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
###
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|-----------|-------|
|
| 53 |
-
| **Rank (r)** | 16 |
|
| 54 |
-
| **Alpha** | 32 |
|
| 55 |
-
| **Dropout** | 0.05 |
|
| 56 |
-
| **Target Modules** | `q_proj`, `k_proj`, `v_proj`, `o_proj` |
|
| 57 |
-
| **Bias** | None |
|
| 58 |
-
| **Task Type** | CAUSAL_LM |
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|-----------|-------|
|
| 64 |
-
| **Quantization** | 4-bit (QLoRA) |
|
| 65 |
-
| **Quant Type** | NF4 |
|
| 66 |
-
| **Double Quantization** | Enabled |
|
| 67 |
-
| **Compute Dtype** | bfloat16 |
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
###
|
| 78 |
|
| 79 |
-
|
| 80 |
-
- Parse and analyze framework documents (PDF/text)
|
| 81 |
-
- Extract structured control information automatically
|
| 82 |
-
- Verify deployment status of controls within an organization
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
-
-
|
| 87 |
-
- GRC (Governance, Risk, Compliance) Teams
|
| 88 |
-
- Security Analysts
|
| 89 |
-
- Organizations undergoing NIST compliance assessments
|
| 90 |
|
| 91 |
-
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
### Installation
|
| 96 |
-
|
| 97 |
-
```bash
|
| 98 |
-
pip install transformers peft torch accelerate bitsandbytes
|
| 99 |
-
```
|
| 100 |
-
|
| 101 |
-
### Loading the Model
|
| 102 |
-
|
| 103 |
-
```python
|
| 104 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
| 105 |
-
from peft import PeftModel
|
| 106 |
-
import torch
|
| 107 |
-
|
| 108 |
-
# Quantization config (optional, for memory efficiency)
|
| 109 |
-
bnb_config = BitsAndBytesConfig(
|
| 110 |
-
load_in_4bit=True,
|
| 111 |
-
bnb_4bit_use_double_quant=True,
|
| 112 |
-
bnb_4bit_quant_type="nf4",
|
| 113 |
-
bnb_4bit_compute_dtype=torch.bfloat16
|
| 114 |
-
)
|
| 115 |
-
|
| 116 |
-
# Load base model
|
| 117 |
-
base_model = AutoModelForCausalLM.from_pretrained(
|
| 118 |
-
"Qwen/Qwen2.5-7B-Instruct",
|
| 119 |
-
quantization_config=bnb_config,
|
| 120 |
-
device_map="auto",
|
| 121 |
-
trust_remote_code=True
|
| 122 |
-
)
|
| 123 |
-
|
| 124 |
-
# Load tokenizer
|
| 125 |
-
tokenizer = AutoTokenizer.from_pretrained("path/to/final_adapter")
|
| 126 |
-
|
| 127 |
-
# Load LoRA adapter
|
| 128 |
-
model = PeftModel.from_pretrained(base_model, "path/to/final_adapter")
|
| 129 |
-
```
|
| 130 |
-
|
| 131 |
-
### Inference Example
|
| 132 |
-
|
| 133 |
-
```python
|
| 134 |
-
system_prompt = """You are a senior Compliance Auditor and Regulatory Analyst specialized in ISO, NIST, and statutory frameworks."""
|
| 135 |
-
|
| 136 |
-
messages = [
|
| 137 |
-
{"role": "system", "content": system_prompt},
|
| 138 |
-
{"role": "user", "content": f"Analyze this text:\n\n{page_text}"}
|
| 139 |
-
]
|
| 140 |
-
|
| 141 |
-
input_ids = tokenizer.apply_chat_template(
|
| 142 |
-
messages,
|
| 143 |
-
add_generation_prompt=True,
|
| 144 |
-
return_tensors="pt"
|
| 145 |
-
).to(model.device)
|
| 146 |
-
|
| 147 |
-
outputs = model.generate(
|
| 148 |
-
input_ids,
|
| 149 |
-
max_new_tokens=512,
|
| 150 |
-
temperature=0.1,
|
| 151 |
-
do_sample=False
|
| 152 |
-
)
|
| 153 |
-
|
| 154 |
-
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 155 |
-
```
|
| 156 |
-
|
| 157 |
-
### Expected Output Format
|
| 158 |
-
|
| 159 |
-
```json
|
| 160 |
-
[
|
| 161 |
-
{
|
| 162 |
-
"control_id": "AC-1",
|
| 163 |
-
"control_title": "Access Control Policy and Procedures",
|
| 164 |
-
"control_desc": "Description of the control..."
|
| 165 |
-
}
|
| 166 |
-
]
|
| 167 |
-
<END>
|
| 168 |
-
```
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
| **Optimizer** | Paged AdamW 8-bit |
|
| 184 |
-
| **LR Scheduler** | Cosine |
|
| 185 |
-
| **Warmup Ratio** | 0.05 |
|
| 186 |
-
| **Max Gradient Norm** | 0.3 |
|
| 187 |
-
| **Precision** | FP16 |
|
| 188 |
|
| 189 |
### Training Data
|
| 190 |
|
| 191 |
-
|
| 192 |
-
- **Dataset Creation**: Custom pipeline using Gemini Pro for initial extraction, followed by manual verification
|
| 193 |
-
- **Data Balance**: ~60% positive samples (pages with controls), ~40% negative samples (pages without controls)
|
| 194 |
-
- **Format**: JSONL with chat template structure
|
| 195 |
|
| 196 |
-
|
| 197 |
|
| 198 |
-
|
| 199 |
|
| 200 |
-
|
| 201 |
-
- **Rationale**: In compliance auditing, falsely identifying a control (hallucination) is more problematic than missing one, as it can lead to incorrect compliance assessments
|
| 202 |
|
| 203 |
-
|
| 204 |
-
# Samples with controls are weighted 2x during loss computation
|
| 205 |
-
weights = torch.where(has_control, 2.0, 1.0)
|
| 206 |
-
weighted_loss = (sample_loss * weights).mean()
|
| 207 |
-
```
|
| 208 |
|
| 209 |
-
|
| 210 |
|
| 211 |
-
## 📈 Evaluation & Performance
|
| 212 |
|
| 213 |
-
|
| 214 |
-
|--------|-----------------|--------------|
|
| 215 |
-
| **Processing Time (492 pages)** | ~27 minutes | ~15 minutes |
|
| 216 |
-
| **Hallucination Rate** | High | Minimal |
|
| 217 |
-
| **Control Enhancement Confusion** | Frequent | Resolved |
|
| 218 |
|
| 219 |
-
|
| 220 |
|
| 221 |
-
|
| 222 |
|
| 223 |
-
|
| 224 |
|
| 225 |
-
|
| 226 |
-
- **Language**: Trained on English documents only
|
| 227 |
-
- **Document Format**: Best performance on well-structured PDF documents
|
| 228 |
|
| 229 |
-
|
| 230 |
|
| 231 |
-
|
| 232 |
-
- Performance depends on input text quality and preprocessing
|
| 233 |
-
- Should be validated by human auditors for critical compliance decisions
|
| 234 |
|
| 235 |
-
###
|
| 236 |
|
| 237 |
-
|
| 238 |
-
- [ ] Multi-framework support (SOC 2, HIPAA, PCI-DSS)
|
| 239 |
-
- [ ] Improved handling of complex document layouts
|
| 240 |
-
- [ ] Longer training with expanded dataset
|
| 241 |
|
| 242 |
-
|
| 243 |
|
| 244 |
-
|
| 245 |
|
| 246 |
-
|
| 247 |
|
| 248 |
-
|
| 249 |
|
| 250 |
-
|
| 251 |
|
| 252 |
-
|
| 253 |
|
| 254 |
-
|
| 255 |
-
|---------|------|
|
| 256 |
-
| **Email** | [rishitshar36@gmail.com](mailto:rishitshar36@gmail.com) |
|
| 257 |
-
| **GitHub** | [github.com/rishit836](https://github.com/rishit836) |
|
| 258 |
-
| **Project Repository** | [control-extraction-using-llm-finetuned](https://github.com/rishit836/control-extraction-using-llm-finetuned) |
|
| 259 |
|
| 260 |
-
|
| 261 |
|
| 262 |
-
|
| 263 |
|
| 264 |
-
|
| 265 |
-
- [Hugging Face](https://huggingface.co/) for the Transformers and PEFT libraries
|
| 266 |
-
- NIST for the publicly available SP 800-53 framework documentation
|
| 267 |
|
| 268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
|
| 270 |
-
##
|
| 271 |
|
| 272 |
-
|
|
|
|
| 273 |
|
| 274 |
-
|
| 275 |
-
@misc{sharma2026nist-control-extraction,
|
| 276 |
-
title={NIST Control Extraction LoRA Adapter for Qwen2.5-7B},
|
| 277 |
-
author={Sharma, Rishit},
|
| 278 |
-
year={2026},
|
| 279 |
-
publisher={GitHub},
|
| 280 |
-
howpublished={\url{https://github.com/rishit836/control-extraction-using-llm-finetuned}}
|
| 281 |
-
}
|
| 282 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-7B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model Card for Model ID
|
| 12 |
+
|
| 13 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
+
|
| 15 |
+
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
### Model Description
|
| 20 |
|
| 21 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
|
|
|
| 24 |
|
| 25 |
+
- **Developed by:** [More Information Needed]
|
| 26 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
+
- **Model type:** [More Information Needed]
|
| 29 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
+
- **License:** [More Information Needed]
|
| 31 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
|
| 33 |
+
### Model Sources [optional]
|
| 34 |
|
| 35 |
+
<!-- Provide the basic links for the model. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
- **Repository:** [More Information Needed]
|
| 38 |
+
- **Paper [optional]:** [More Information Needed]
|
| 39 |
+
- **Demo [optional]:** [More Information Needed]
|
| 40 |
|
| 41 |
+
## Uses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
|
| 45 |
+
### Direct Use
|
| 46 |
|
| 47 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 48 |
|
| 49 |
+
[More Information Needed]
|
| 50 |
|
| 51 |
+
### Downstream Use [optional]
|
| 52 |
|
| 53 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
+
[More Information Needed]
|
| 56 |
|
| 57 |
+
### Out-of-Scope Use
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 60 |
|
| 61 |
+
[More Information Needed]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
## Bias, Risks, and Limitations
|
| 64 |
|
| 65 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 66 |
+
|
| 67 |
+
[More Information Needed]
|
| 68 |
+
|
| 69 |
+
### Recommendations
|
| 70 |
+
|
| 71 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
|
| 73 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
+
|
| 75 |
+
## How to Get Started with the Model
|
| 76 |
+
|
| 77 |
+
Use the code below to get started with the model.
|
| 78 |
+
|
| 79 |
+
[More Information Needed]
|
| 80 |
+
|
| 81 |
+
## Training Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
### Training Data
|
| 84 |
|
| 85 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
[More Information Needed]
|
| 88 |
|
| 89 |
+
### Training Procedure
|
| 90 |
|
| 91 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
|
|
|
| 92 |
|
| 93 |
+
#### Preprocessing [optional]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
+
[More Information Needed]
|
| 96 |
|
|
|
|
| 97 |
|
| 98 |
+
#### Training Hyperparameters
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
|
| 102 |
+
#### Speeds, Sizes, Times [optional]
|
| 103 |
|
| 104 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 105 |
|
| 106 |
+
[More Information Needed]
|
|
|
|
|
|
|
| 107 |
|
| 108 |
+
## Evaluation
|
| 109 |
|
| 110 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
|
|
|
|
|
|
| 111 |
|
| 112 |
+
### Testing Data, Factors & Metrics
|
| 113 |
|
| 114 |
+
#### Testing Data
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
|
| 118 |
+
[More Information Needed]
|
| 119 |
|
| 120 |
+
#### Factors
|
| 121 |
|
| 122 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
|
| 124 |
+
[More Information Needed]
|
| 125 |
|
| 126 |
+
#### Metrics
|
| 127 |
|
| 128 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
+
[More Information Needed]
|
| 131 |
|
| 132 |
+
### Results
|
| 133 |
|
| 134 |
+
[More Information Needed]
|
|
|
|
|
|
|
| 135 |
|
| 136 |
+
#### Summary
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
## Model Examination [optional]
|
| 141 |
+
|
| 142 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Environmental Impact
|
| 147 |
+
|
| 148 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
+
|
| 150 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 151 |
+
|
| 152 |
+
- **Hardware Type:** [More Information Needed]
|
| 153 |
+
- **Hours used:** [More Information Needed]
|
| 154 |
+
- **Cloud Provider:** [More Information Needed]
|
| 155 |
+
- **Compute Region:** [More Information Needed]
|
| 156 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
+
|
| 158 |
+
## Technical Specifications [optional]
|
| 159 |
+
|
| 160 |
+
### Model Architecture and Objective
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
### Compute Infrastructure
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Hardware
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
#### Software
|
| 173 |
+
|
| 174 |
+
[More Information Needed]
|
| 175 |
+
|
| 176 |
+
## Citation [optional]
|
| 177 |
+
|
| 178 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
+
|
| 180 |
+
**BibTeX:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
**APA:**
|
| 185 |
+
|
| 186 |
+
[More Information Needed]
|
| 187 |
+
|
| 188 |
+
## Glossary [optional]
|
| 189 |
+
|
| 190 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## More Information [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Authors [optional]
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
| 201 |
|
| 202 |
+
## Model Card Contact
|
| 203 |
|
| 204 |
+
[More Information Needed]
|
| 205 |
+
### Framework versions
|
| 206 |
|
| 207 |
+
- PEFT 0.18.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adapter_config.json
CHANGED
|
@@ -29,10 +29,10 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
| 32 |
"o_proj",
|
| 33 |
-
"v_proj",
|
| 34 |
"k_proj",
|
| 35 |
-
"
|
| 36 |
],
|
| 37 |
"target_parameters": null,
|
| 38 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
+
"q_proj",
|
| 33 |
"o_proj",
|
|
|
|
| 34 |
"k_proj",
|
| 35 |
+
"v_proj"
|
| 36 |
],
|
| 37 |
"target_parameters": null,
|
| 38 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4388968992
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9803765be6d616295888f647bc8e84bd35cf9ff13646ca65df09f550256d3b72
|
| 3 |
size 4388968992
|