yujiepan commited on
Commit
96808cb
1 Parent(s): 92a8fe4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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.n_head = 2
30
- config.n_layer = 2
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(