Update README.md
Browse files
README.md
CHANGED
@@ -109,10 +109,10 @@ Training Checkpoints are available as branches in the repository. Checkpoints w
|
|
109 |
The transformers library allows you to load a checkpoint from a branch as follows:
|
110 |
|
111 |
```python
|
112 |
-
branch = "
|
113 |
model = transformers.AutoModelForCausalLM.from_pretrained(
|
114 |
"LumiOpen/Viking-7B",
|
115 |
-
torch_dtype=torch.bfloat16,
|
116 |
revision=branch,
|
117 |
)
|
118 |
```
|
|
|
109 |
The transformers library allows you to load a checkpoint from a branch as follows:
|
110 |
|
111 |
```python
|
112 |
+
branch = "2000B"
|
113 |
model = transformers.AutoModelForCausalLM.from_pretrained(
|
114 |
"LumiOpen/Viking-7B",
|
115 |
+
torch_dtype=torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float16,
|
116 |
revision=branch,
|
117 |
)
|
118 |
```
|