pnevskaiaan commited on
Commit
b7bb330
·
verified ·
1 Parent(s): c783b92

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -2,8 +2,9 @@
2
  license: apache-2.0
3
  ---
4
 
 
5
 
6
- # === Obtained with following code. ===
7
  import os
8
  import torch
9
  torch.set_default_dtype(torch.bfloat16)
@@ -28,4 +29,4 @@ output_dir = "./tiny-random-aya-base/"
28
  os.makedirs(output_dir, exist_ok=True)
29
  model.save_pretrained(output_dir, safe_serialization=True)
30
  tokenizer.save_pretrained(output_dir)
31
-
 
2
  license: apache-2.0
3
  ---
4
 
5
+ Here is a code to create this tiny model:
6
 
7
+ ```python
8
  import os
9
  import torch
10
  torch.set_default_dtype(torch.bfloat16)
 
29
  os.makedirs(output_dir, exist_ok=True)
30
  model.save_pretrained(output_dir, safe_serialization=True)
31
  tokenizer.save_pretrained(output_dir)
32
+ ```