yujiepan commited on
Commit
757b6f5
1 Parent(s): 03d9024

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +0 -4
  2. config.json +2 -1
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
README.md CHANGED
@@ -45,8 +45,4 @@ pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, do_sample=F
45
  print(pipe('Hello World!'))
46
 
47
  model.save_pretrained(save_path)
48
-
49
- os.system(f'ls -alh {save_path}')
50
- create_repo(repo_id, exist_ok=True)
51
- upload_folder(repo_id=repo_id, folder_path=save_path)
52
  ```
 
45
  print(pipe('Hello World!'))
46
 
47
  model.save_pretrained(save_path)
 
 
 
 
48
  ```
config.json CHANGED
@@ -6,6 +6,7 @@
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 1,
8
  "eos_token_id": 2,
 
9
  "hidden_act": "silu",
10
  "hidden_size": 8,
11
  "initializer_range": 0.02,
@@ -20,7 +21,7 @@
20
  "sliding_window": null,
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "bfloat16",
23
- "transformers_version": "4.42.4",
24
  "use_cache": true,
25
  "vocab_size": 32768
26
  }
 
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 1,
8
  "eos_token_id": 2,
9
+ "head_dim": 128,
10
  "hidden_act": "silu",
11
  "hidden_size": 8,
12
  "initializer_range": 0.02,
 
21
  "sliding_window": null,
22
  "tie_word_embeddings": false,
23
  "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.43.0.dev0",
25
  "use_cache": true,
26
  "vocab_size": 32768
27
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "transformers_version": "4.42.4"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "transformers_version": "4.43.0.dev0"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:889ed1d5d4ad3c6a1a204b49dcf13c9980147a1c31fdff08ebd455171e4b41d1
3
- size 1054672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfd76f04308538fbac8f47145851c2d13cec912f17774524c0bc127ec3bc859a
3
+ size 1103072