bcsp commited on
Commit
346ffb7
·
verified ·
1 Parent(s): 8e921e7

Upload PhiForCausalLM

Browse files
config.json CHANGED
@@ -6,7 +6,7 @@
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 50256,
8
  "embd_pdrop": 0.0,
9
- "eos_token_id": 50297,
10
  "hidden_act": "gelu_new",
11
  "hidden_size": 2560,
12
  "initializer_range": 0.02,
@@ -24,7 +24,7 @@
24
  "rope_theta": 10000.0,
25
  "tie_word_embeddings": false,
26
  "torch_dtype": "bfloat16",
27
- "transformers_version": "4.37.2",
28
  "use_cache": true,
29
  "vocab_size": 51200
30
  }
 
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 50256,
8
  "embd_pdrop": 0.0,
9
+ "eos_token_id": 50256,
10
  "hidden_act": "gelu_new",
11
  "hidden_size": 2560,
12
  "initializer_range": 0.02,
 
24
  "rope_theta": 10000.0,
25
  "tie_word_embeddings": false,
26
  "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.46.2",
28
  "use_cache": true,
29
  "vocab_size": 51200
30
  }
generation_config.json CHANGED
@@ -1,6 +1,10 @@
1
  {
2
- "_from_model_config": true,
3
- "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
- "transformers_version": "4.37.2"
 
 
 
 
 
6
  }
 
1
  {
2
+ "do_sample": true,
 
3
  "eos_token_id": 50256,
4
+ "max_new_tokens": 100,
5
+ "repetition_penalty": 1.18,
6
+ "temperature": 0.7,
7
+ "top_k": 40,
8
+ "top_p": 0.1,
9
+ "transformers_version": "4.46.2"
10
  }
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:590ccc6b64a370c3bfd1c0be5037bfb6b10ba1c30caf6ccb82aafd155cb5cd0a
3
  size 4995584848
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5efefa8b1d876c2bad3509a784ad38f7e0a4e1debc8b566d1a316cd1e796a06f
3
  size 4995584848
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b740a4195ef84ae2d5177dcfcc058a2e2d3afca43f246720362d978467c020be
3
  size 563833008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b69d5a863c74b1a5dd243120046fcbf91be28eaa43b38dac0edb8c5277b5b89e
3
  size 563833008