Update README.md
Browse files
README.md
CHANGED
@@ -101,7 +101,8 @@ model_id = "aisingapore/llama3-8b-cpt-SEA-Lionv2.1-instruct"
|
|
101 |
pipeline = transformers.pipeline(
|
102 |
"text-generation",
|
103 |
model=model_id,
|
104 |
-
model_kwargs={"torch_dtype": torch.bfloat16
|
|
|
105 |
device_map="auto",
|
106 |
)
|
107 |
messages = [
|
|
|
101 |
pipeline = transformers.pipeline(
|
102 |
"text-generation",
|
103 |
model=model_id,
|
104 |
+
model_kwargs={"torch_dtype": torch.bfloat16},
|
105 |
+
revision="v2.0.0",
|
106 |
device_map="auto",
|
107 |
)
|
108 |
messages = [
|