SatouLilly commited on
Commit
784024d
·
verified ·
1 Parent(s): 790c632

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +0 -5
  2. config.json +38 -45
  3. generation_config.json +12 -0
README.md CHANGED
@@ -6,11 +6,6 @@ language:
6
 
7
  EXL2 quants of [Sao10K/L3.1-70B-Hanami-x1](https://huggingface.co/Sao10K/L3.1-70B-Hanami-x1)
8
 
9
- ## Earlier uploaded models had the problem of constantly ending with “.assistant” and repeating the output.
10
- I have replaced “eos_token_id” in config with "128009".
11
- If you still have the problem, please add “.assistant” to Custom Stopping Strings in SillyTavern.
12
- Or use GGUF: https://huggingface.co/mradermacher/L3.1-70B-Hanami-x1-GGUF
13
-
14
  ---
15
  ![hanami](https://huggingface.co/Sao10K/L3.1-70B-Hanami-x1/resolve/main/Cute.png)
16
 
 
6
 
7
  EXL2 quants of [Sao10K/L3.1-70B-Hanami-x1](https://huggingface.co/Sao10K/L3.1-70B-Hanami-x1)
8
 
 
 
 
 
 
9
  ---
10
  ![hanami](https://huggingface.co/Sao10K/L3.1-70B-Hanami-x1/resolve/main/Cute.png)
11
 
config.json CHANGED
@@ -1,46 +1,39 @@
1
  {
2
- "_name_or_path": "/workspace/Meta-Llama-3.1-70B-Instruct",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "bos_token_id": 128000,
9
- "eos_token_id": 128009,
10
- "hidden_act": "silu",
11
- "hidden_size": 8192,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 28672,
14
- "max_position_embeddings": 131072,
15
- "mlp_bias": false,
16
- "model_type": "llama",
17
- "num_attention_heads": 64,
18
- "num_hidden_layers": 80,
19
- "num_key_value_heads": 8,
20
- "pretraining_tp": 1,
21
- "rms_norm_eps": 1e-05,
22
- "rope_scaling": {
23
- "factor": 8.0,
24
- "high_freq_factor": 4.0,
25
- "low_freq_factor": 1.0,
26
- "original_max_position_embeddings": 8192,
27
- "rope_type": "llama3"
28
- },
29
- "rope_theta": 500000.0,
30
- "tie_word_embeddings": false,
31
- "torch_dtype": "bfloat16",
32
- "transformers_version": "4.44.2",
33
- "use_cache": true,
34
- "vocab_size": 128256,
35
- "quantization_config": {
36
- "quant_method": "exl2",
37
- "version": "0.2.1",
38
- "bits": 4.65,
39
- "head_bits": 6,
40
- "calibration": {
41
- "rows": 115,
42
- "length": 2048,
43
- "dataset": "(default)"
44
- }
45
- }
46
- }
 
1
  {
2
+ "_name_or_path": "/workspace/Meta-Llama-3.1-70B-Instruct",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": [
10
+ 128001,
11
+ 128008,
12
+ 128009
13
+ ],
14
+ "hidden_act": "silu",
15
+ "hidden_size": 8192,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 28672,
18
+ "max_position_embeddings": 131072,
19
+ "mlp_bias": false,
20
+ "model_type": "llama",
21
+ "num_attention_heads": 64,
22
+ "num_hidden_layers": 80,
23
+ "num_key_value_heads": 8,
24
+ "pretraining_tp": 1,
25
+ "rms_norm_eps": 1e-05,
26
+ "rope_scaling": {
27
+ "factor": 8.0,
28
+ "high_freq_factor": 4.0,
29
+ "low_freq_factor": 1.0,
30
+ "original_max_position_embeddings": 8192,
31
+ "rope_type": "llama3"
32
+ },
33
+ "rope_theta": 500000.0,
34
+ "tie_word_embeddings": false,
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.44.2",
37
+ "use_cache": true,
38
+ "vocab_size": 128256
39
+ }
 
 
 
 
 
 
 
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 128000,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 128001,
6
+ 128008,
7
+ 128009
8
+ ],
9
+ "temperature": 0.6,
10
+ "top_p": 0.9,
11
+ "transformers_version": "4.42.3"
12
+ }