sujitvasanth
commited on
Upload README.md
Browse files
README.md
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: sujitvasanth/TheBloke-openchat-3.5-0106-GPTQ
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Finetuned version of openchat for extracting information from a database json object. -->
|
9 |
+
|
10 |
+
|
11 |
+
## Model Details
|
12 |
+
|
13 |
+
### Model Description
|
14 |
+
|
15 |
+
<!-- Finetuned version of openchat for extracting information from a database json object. It is train -->
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
- **Developed by:** Dr Sujit Vasanth
|
20 |
+
- **Model type:** QLoRA PEFT
|
21 |
+
- **Language(s) (NLP):** Json, English
|
22 |
+
- **License:** [More Information Needed]
|
23 |
+
- **Finetuned from model [optional]:** TheBloke/openchat-3.5-0106-GPTQ
|
24 |
+
|
25 |
+
### Model Sources [optional]
|
26 |
+
|
27 |
+
- **Repository:** https://github.com/sujitvasanth/GPTQ-finetune
|
28 |
+
- **Demo [optional]:** https://github.com/sujitvasanth/GPTQ-finetune/blob/main/GPTQ-finetune.py
|
29 |
+
|
30 |
+
|
31 |
+
## How to Get Started with the Model
|
32 |
+
|
33 |
+
model = AutoModelForCausalLM.from_pretrained(model_id,
|
34 |
+
quantization_config= GPTQConfig(bits=4, disable_exllama=False),device_map="auto") # is_trainable=True
|
35 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
36 |
+
tokenizer.pad_token = tokenizer.eos_token
|
37 |
+
model.load_adapter(adapter_id)
|
38 |
+
|
39 |
+
|
40 |
+
## Training Details
|
41 |
+
|
42 |
+
### Training Data
|
43 |
+
|
44 |
+
<!-- https://huggingface.co/datasets/sujitvasanth/jsonsearch2 -->
|
45 |
+
https://huggingface.co/datasets/sujitvasanth/jsonsearch2
|
46 |
+
User: Assistant examples of Json search Query
|
47 |
+
|
48 |
+
### Training Procedure
|
49 |
+
|
50 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
51 |
+
QLora PEFT training on custom dataset
|
52 |
+
|
53 |
+
#### Preprocessing [optional]
|
54 |
+
|
55 |
+
[More Information Needed]
|
56 |
+
|
57 |
+
|
58 |
+
#### Training Hyperparameters
|
59 |
+
|
60 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
61 |
+
|
62 |
+
#### Speeds, Sizes, Times [optional]
|
63 |
+
|
64 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
65 |
+
|
66 |
+
[More Information Needed]
|
67 |
+
|
68 |
+
## Evaluation
|
69 |
+
|
70 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
71 |
+
|
72 |
+
### Testing Data, Factors & Metrics
|
73 |
+
|
74 |
+
#### Testing Data
|
75 |
+
|
76 |
+
<!-- This should link to a Dataset Card if possible. -->
|
77 |
+
|
78 |
+
[More Information Needed]
|
79 |
+
|
80 |
+
#### Factors
|
81 |
+
|
82 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
83 |
+
|
84 |
+
[More Information Needed]
|
85 |
+
|
86 |
+
#### Metrics
|
87 |
+
|
88 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
### Results
|
93 |
+
|
94 |
+
[More Information Needed]
|
95 |
+
|
96 |
+
#### Summary
|
97 |
+
|
98 |
+
|
99 |
+
#### Hardware
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
#### Software
|
104 |
+
|
105 |
+
[More Information Needed]
|
106 |
+
|
107 |
+
## Citation [optional]
|
108 |
+
|
109 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
110 |
+
|
111 |
+
**BibTeX:**
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
**APA:**
|
116 |
+
|
117 |
+
[More Information Needed]
|
118 |
+
|
119 |
+
## Glossary [optional]
|
120 |
+
|
121 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
122 |
+
|
123 |
+
[More Information Needed]
|
124 |
+
|
125 |
+
## More Information [optional]
|
126 |
+
|
127 |
+
[More Information Needed]
|
128 |
+
|
129 |
+
## Model Card Authors [optional]
|
130 |
+
|
131 |
+
[More Information Needed]
|
132 |
+
|
133 |
+
## Model Card Contact
|
134 |
+
|
135 |
+
[More Information Needed]
|
136 |
+
|
137 |
+
|
138 |
+
### Framework versions
|
139 |
+
|
140 |
+
- PEFT 0.8.2
|