thes41d commited on
Commit
d8dddac
·
1 Parent(s): dac6670

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Cedille/fr-boris",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPTJForCausalLM"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gptj",
15
+ "n_ctx": 2048,
16
+ "n_embd": 4096,
17
+ "n_head": 16,
18
+ "n_inner": null,
19
+ "n_layer": 28,
20
+ "n_positions": 2048,
21
+ "quantization_config": {
22
+ "llm_int8_enable_fp32_cpu_offload": false,
23
+ "llm_int8_skip_modules": null,
24
+ "llm_int8_threshold": 6.0,
25
+ "load_in_8bit": true
26
+ },
27
+ "resid_pdrop": 0.0,
28
+ "rotary_dim": 64,
29
+ "scale_attn_weights": true,
30
+ "summary_activation": null,
31
+ "summary_first_dropout": 0.1,
32
+ "summary_proj_to_labels": true,
33
+ "summary_type": "cls_index",
34
+ "summary_use_proj": true,
35
+ "task_specific_params": {
36
+ "text-generation": {
37
+ "do_sample": true,
38
+ "max_length": 50,
39
+ "temperature": 1.0
40
+ }
41
+ },
42
+ "tie_word_embeddings": false,
43
+ "tokenizer_class": "GPT2Tokenizer",
44
+ "torch_dtype": "float16",
45
+ "transformers_version": "4.28.0.dev0",
46
+ "use_cache": true,
47
+ "vocab_size": 50400
48
+ }