Update README.md
Browse files
README.md
CHANGED
@@ -76,9 +76,9 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
76 |
prompt = "//module half adder "
|
77 |
device='cuda'
|
78 |
# Load model and tokenizer
|
79 |
-
model_name = "shailja/
|
80 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
81 |
-
model = AutoModelForCausalLM.from_pretrained(
|
82 |
|
83 |
# Sample
|
84 |
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device)
|
|
|
76 |
prompt = "//module half adder "
|
77 |
device='cuda'
|
78 |
# Load model and tokenizer
|
79 |
+
model_name = "shailja/fine-tuned-codegen-16B-Verilog"
|
80 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
81 |
+
model = AutoModelForCausalLM.from_pretrained(model_name).to(device)
|
82 |
|
83 |
# Sample
|
84 |
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device)
|