Views
No views yet
1{
2 "prompt_input": (
3 "Below is an instruction that describes a task, paired with an input that provides further context. "
4 "Write a response that appropriately completes the request.\n\n"
5 "### Instruction:\n{instruction}\n\n### Input:\n{input}\n\n### Response:\n"
6 ),
7 "prompt_no_input": (
8 "Below is an instruction that describes a task. "
9 "Write a response that appropriately completes the request.\n\n"
10 "### Instruction:\n{instruction}\n\n### Response:\n"
11 ),
12} 1# pip install accelerate peft bitsandbytes
2import torch
3from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
4from peft import PeftModel,PeftConfig
5peft_model_id = 'NebulaSense/ContractAssist'
6
7peft_config = PeftConfig.from_pretrained(peft_model_id)
8
9model = AutoModelForSeq2SeqLM.from_pretrained(peft_config.base_model_name_or_path, device_map="auto",load_in_8bit=True)
10tokenizer = AutoTokenizer.from_pretrained(peft_config.base_model_name_or_path)
11model = PeftModel.from_pretrained(model, peft_model_id)
12model.eval()1### Instruction:
2Create a legal exhibit for the list of confidential information for Non-Disclosure Agreement (NDA) in Employment industry
3
4### Input:
5
6### Response:
7
8Exhibit A: List of Confidential Information
9The following information is considered confidential and proprietary to the Company:
101. Trade secrets, including but not limited to, formulas, patterns, compilations, programs, devices, methods, techniques, and processes, and any other information that is not generally known to the public.
112. Customer lists, including personal information, financial information, and other information related to the customer's business.
123. Marketing and sales strategies, including customer preferences, buying habits, and sales forecasts.
134. Financial information, including budgets, forecasts, and financial statements.
145. Intellectual property, including patents, trademarks, copyrights, trade names, and service marks.
156. Any other information designated as confidential by the Company in writing.
16The Employee agrees to maintain the confidentiality of all such information and not to disclose it to any third party without the prior written consent of the Company.
17The employee further agrees not to use any such information for any purpose other than as necessary to perform their duties for the Company, except as required by law.
18This Exhibited List of Information is incorporated into and made a part of the Non-Disclosure Agreement between the Company and the Employee.