Upload config.json
Browse files- config.json +173 -0
config.json
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llmware/bling-phi-3",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "llmware/bling-phi-3--configuration_phi3.Phi3Config",
|
9 |
+
"AutoModelForCausalLM": "llmware/bling-phi-3--modeling_phi3.Phi3ForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"embd_pdrop": 0.0,
|
13 |
+
"eos_token_id": 32000,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 3072,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 8192,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"model_type": "phi3",
|
20 |
+
"num_attention_heads": 32,
|
21 |
+
"num_hidden_layers": 32,
|
22 |
+
"num_key_value_heads": 32,
|
23 |
+
"original_max_position_embeddings": 4096,
|
24 |
+
"pad_token_id": 32000,
|
25 |
+
"resid_pdrop": 0.0,
|
26 |
+
"rms_norm_eps": 1e-05,
|
27 |
+
"rope_scaling": null,
|
28 |
+
"rope_theta": 10000.0,
|
29 |
+
"sliding_window": 2048,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"transformers_version": "4.41.2",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 32064,
|
34 |
+
"prompt_wrapper": "human_bot",
|
35 |
+
"prompt_format": "<human> {context_passage} \n {question} \n<bot>:",
|
36 |
+
"prompt_format_dict": {"main_start": "<human>: ", "main_stop": "\n", "start_llm_response": "<bot>:"},
|
37 |
+
"tokenizer_local": "tokenizer_phi3.json",
|
38 |
+
"tokenizer_config": {"bos_id": [1], "bos_token": ["<s>"], "eos_id": [32000,32001,32007], "eos_token": ["<|endoftext|>","<|assistant|>","<|end|>"]},
|
39 |
+
"model_parent": "llmware/bling-phi-3",
|
40 |
+
"description": "Fact-based question-answering model from llmware - finetuned on phi-3 - 3.8b parameter base",
|
41 |
+
"quantization": "int4",
|
42 |
+
"model_family": "OVGenModel",
|
43 |
+
"parameters": 3.8,
|
44 |
+
"test_set": [
|
45 |
+
{
|
46 |
+
"query": "What is the total amount of the invoice?",
|
47 |
+
"answer": "$22,500.00",
|
48 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
49 |
+
"sample_number": 0,
|
50 |
+
"tokens": 138,
|
51 |
+
"category": "core"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"query": "What is the invoice number?",
|
55 |
+
"answer": "#0001",
|
56 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
57 |
+
"sample_number": 1,
|
58 |
+
"tokens": 138,
|
59 |
+
"category": "core"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"query": "What is a list of the items being purchased?",
|
63 |
+
"answer": "•Front End Engineering Service;\n•Back End Engineering Service;\n•Quality Assurance Manager",
|
64 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
65 |
+
"sample_number": 2,
|
66 |
+
"tokens": 138,
|
67 |
+
"category": "core"
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"query": "What is the name of the contact for question?",
|
71 |
+
"answer": "Bia Hermes",
|
72 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
73 |
+
"sample_number": 3,
|
74 |
+
"tokens": 138,
|
75 |
+
"category": "core"
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"query": "What is the PO number?",
|
79 |
+
"answer": "#1000",
|
80 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
81 |
+
"sample_number": 4,
|
82 |
+
"tokens": 138,
|
83 |
+
"category": "core"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"query": "When is payment due?",
|
87 |
+
"answer": "within 30 days of 01/01/2022",
|
88 |
+
"context": "Services Vendor Inc. \n100 Elm Street Pleasantville, NY \nTO Alpha Inc. 5900 1st Street Los Angeles, CA \nDescription Front End Engineering Service $5000.00 \n Back End Engineering Service $7500.00 \n Quality Assurance Manager $10,000.00 \n Total Amount $22,500.00 \nMake all checks payable to Services Vendor Inc. Payment is due within 30 days.If you have any questions concerning this invoice, contact Bia Hermes. THANK YOU FOR YOUR BUSINESS! INVOICE INVOICE # 0001 DATE 01/01/2022 FOR Alpha Project P.O. # 1000",
|
89 |
+
"sample_number": 5,
|
90 |
+
"tokens": 138,
|
91 |
+
"category": "core"
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"query": "When is payment due?",
|
95 |
+
"answer": "May 3, 2022",
|
96 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
97 |
+
"sample_number": 6,
|
98 |
+
"tokens": 139,
|
99 |
+
"category": "core"
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"query": "What is the subtotal amount?",
|
103 |
+
"answer": "4150.00",
|
104 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
105 |
+
"sample_number": 7,
|
106 |
+
"tokens": 139,
|
107 |
+
"category": "core"
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"query": "What is the total amount?",
|
111 |
+
"answer": "4565.00",
|
112 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
113 |
+
"sample_number": 8,
|
114 |
+
"tokens": 139,
|
115 |
+
"category": "core"
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"query": "What is a list of the purchased items?",
|
119 |
+
"answer": "•30 Boxes of Printer Paper;\n•10 Printer Cartridges;\n•5 Laser Printers.",
|
120 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
121 |
+
"sample_number": 9,
|
122 |
+
"tokens": 139,
|
123 |
+
"category": "core"
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"query": "What is the invoice number?",
|
127 |
+
"answer": "234",
|
128 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
129 |
+
"sample_number": 10,
|
130 |
+
"tokens": 139,
|
131 |
+
"category": "core"
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"query": "What is the name of the two companies?",
|
135 |
+
"answer": "ABC Company and Delta Inc.",
|
136 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
137 |
+
"sample_number": 11,
|
138 |
+
"tokens": 139,
|
139 |
+
"category": "core"
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"query": "How many boxes of paper are being purchased?",
|
143 |
+
"answer": "30",
|
144 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
145 |
+
"sample_number": 12,
|
146 |
+
"tokens": 139,
|
147 |
+
"category": "core"
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"query": "What are the payment terms?",
|
151 |
+
"answer": "Due on Receipt",
|
152 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
153 |
+
"sample_number": 13,
|
154 |
+
"tokens": 139,
|
155 |
+
"category": "core"
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"query": "What is the address of ABC Company?",
|
159 |
+
"answer": "8675 River Run Road, Marlington, CT 09392",
|
160 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
161 |
+
"sample_number": 14,
|
162 |
+
"tokens": 139,
|
163 |
+
"category": "core"
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"query": "What is the date of the invoice?",
|
167 |
+
"answer": "March 3, 2022",
|
168 |
+
"context": "Invoice DATE March 3, 2022\tINVOICE NO 234\tABC Company 8675 River Run Road Marlington, CT 09392 INVOICE TO Delta Inc. 8723 Wilton Boulevard Los Angeles, CA HEBE HERACLES\tLASER PRINTER\tPAYMENT TERMS DUE DATE Due on Receipt May 3, 2022 QUANTITY DESCRIPTION UNIT PRICE LINE TOTAL 30 \tBoxes of Printer Paper\t$30\t$900 10\tPrinter Cartridges\t$75 $750 5\tLaser printers\t$500.00 $2500.00 Subtotal 4150.00 Sales Tax 10% Total 4565.00",
|
169 |
+
"sample_number": 15,
|
170 |
+
"tokens": 139,
|
171 |
+
"category": "core"
|
172 |
+
}]
|
173 |
+
}
|