Update README.md
Browse files
README.md
CHANGED
|
@@ -70,7 +70,7 @@ Here is a simple example demonstrating how to load the model and perform code ge
|
|
| 70 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 71 |
import torch
|
| 72 |
|
| 73 |
-
model_id = "ByteDance-Seed/Seed-Coder-8B-Reasoning"
|
| 74 |
|
| 75 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 76 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
|
|
|
|
| 70 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 71 |
import torch
|
| 72 |
|
| 73 |
+
model_id = "ByteDance-Seed/Seed-Coder-8B-Reasoning-bf16"
|
| 74 |
|
| 75 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 76 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
|