Update README.md
Browse files
README.md
CHANGED
@@ -26,8 +26,8 @@ repo_id = 'yujiepan/falcon-tiny-random'
|
|
26 |
config = transformers.AutoConfig.from_pretrained(
|
27 |
source_model_id, trust_remote_code=True)
|
28 |
config.hidden_size = 8
|
29 |
-
config.
|
30 |
-
config.
|
31 |
config.torch_dtype = torch.float16
|
32 |
|
33 |
model = transformers.AutoModelForCausalLM.from_config(
|
|
|
26 |
config = transformers.AutoConfig.from_pretrained(
|
27 |
source_model_id, trust_remote_code=True)
|
28 |
config.hidden_size = 8
|
29 |
+
config.num_attention_heads = 2
|
30 |
+
config.num_hidden_layers = 2
|
31 |
config.torch_dtype = torch.float16
|
32 |
|
33 |
model = transformers.AutoModelForCausalLM.from_config(
|