Update README.md
Browse files
README.md
CHANGED
@@ -29,9 +29,10 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
29 |
torch_dtype='auto'
|
30 |
).eval()
|
31 |
|
32 |
-
|
33 |
messages = [
|
34 |
-
{"role": "
|
|
|
35 |
]
|
36 |
|
37 |
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
|
|
|
29 |
torch_dtype='auto'
|
30 |
).eval()
|
31 |
|
32 |
+
prompt = "write a silvaco code for cylindical gate junctionless mosfet designing."
|
33 |
messages = [
|
34 |
+
{"role": "system", "content": "You are a Silvaco code generator. When given a task, produce only the Silvaco code snippet that fulfills the requirements. Do not include any explanations, comments, or additional textonly the raw, executable Silvaco code."},
|
35 |
+
{"role": "user", "content": prompt}
|
36 |
]
|
37 |
|
38 |
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
|