Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ instruction = <Your code instruction here>
|
|
30 |
prompt = PROMPT.format(instruction=instruction)
|
31 |
tokenizer = AutoTokenizer.from_pretrained("TechxGenus/starcoder2-3b-instruct")
|
32 |
model = AutoModelForCausalLM.from_pretrained(
|
33 |
-
"
|
34 |
torch_dtype=torch.bfloat16,
|
35 |
device_map="auto",
|
36 |
)
|
@@ -52,7 +52,7 @@ PROMPT = """### Instruction
|
|
52 |
instruction = <Your code instruction here>
|
53 |
prompt = PROMPT.format(instruction=instruction)
|
54 |
generator = pipeline(
|
55 |
-
model="
|
56 |
task="text-generation",
|
57 |
torch_dtype=torch.bfloat16,
|
58 |
device_map="auto",
|
|
|
30 |
prompt = PROMPT.format(instruction=instruction)
|
31 |
tokenizer = AutoTokenizer.from_pretrained("TechxGenus/starcoder2-3b-instruct")
|
32 |
model = AutoModelForCausalLM.from_pretrained(
|
33 |
+
"zzzmahesh/starcoder2-3b-instruct",
|
34 |
torch_dtype=torch.bfloat16,
|
35 |
device_map="auto",
|
36 |
)
|
|
|
52 |
instruction = <Your code instruction here>
|
53 |
prompt = PROMPT.format(instruction=instruction)
|
54 |
generator = pipeline(
|
55 |
+
model="zzzmahesh/starcoder2-3b-instruct",
|
56 |
task="text-generation",
|
57 |
torch_dtype=torch.bfloat16,
|
58 |
device_map="auto",
|