|
--- |
|
license: llama3 |
|
pipeline_tag: text-generation |
|
--- |
|
# Meta-Llama-3-70B-Instruct-bf16-GGUF |
|
|
|
This is [meta-llama/Meta-Llama-3-70B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct), converted to GGUF without changing tensor data type. Moreover, the new correct pre-tokenizer `llama-bpe` is used ([ref](https://github.com/ggerganov/llama.cpp/pull/6745#issuecomment-2094991999)), and the EOS token is correctly set to `<|eot_id|>` ([ref](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct/commit/a8977699a3d0820e80129fb3c93c20fbd9972c41)). |
|
|
|
The `llama.cpp` output for this model is shown below for reference. |
|
|
|
``` |
|
Log start |
|
main: build = 2842 (18e43766) |
|
main: built with cc (Debian 12.2.0-14) 12.2.0 for x86_64-linux-gnu |
|
main: seed = 1715361717 |
|
llama_model_loader: loaded meta data with 22 key-value pairs and 723 tensors from /media/dylan/SanDisk/LLMs/Meta-Llama-3-70B-Instruct-bf16.gguf (version GGUF V3 (latest)) |
|
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output. |
|
llama_model_loader: - kv 0: general.architecture str = llama |
|
llama_model_loader: - kv 1: general.name str = Meta-Llama-3-70B-Instruct |
|
llama_model_loader: - kv 2: llama.block_count u32 = 80 |
|
llama_model_loader: - kv 3: llama.context_length u32 = 8192 |
|
llama_model_loader: - kv 4: llama.embedding_length u32 = 8192 |
|
llama_model_loader: - kv 5: llama.feed_forward_length u32 = 28672 |
|
llama_model_loader: - kv 6: llama.attention.head_count u32 = 64 |
|
llama_model_loader: - kv 7: llama.attention.head_count_kv u32 = 8 |
|
llama_model_loader: - kv 8: llama.rope.freq_base f32 = 500000.000000 |
|
llama_model_loader: - kv 9: llama.attention.layer_norm_rms_epsilon f32 = 0.000010 |
|
llama_model_loader: - kv 10: general.file_type u32 = 32 |
|
llama_model_loader: - kv 11: llama.vocab_size u32 = 128256 |
|
llama_model_loader: - kv 12: llama.rope.dimension_count u32 = 128 |
|
llama_model_loader: - kv 13: tokenizer.ggml.model str = gpt2 |
|
llama_model_loader: - kv 14: tokenizer.ggml.pre str = llama-bpe |
|
llama_model_loader: - kv 15: tokenizer.ggml.tokens arr[str,128256] = ["!", "\"", "#", "$", "%", "&", "'", ... |
|
llama_model_loader: - kv 16: tokenizer.ggml.token_type arr[i32,128256] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... |
|
llama_model_loader: - kv 17: tokenizer.ggml.merges arr[str,280147] = ["Ġ Ġ", "Ġ ĠĠĠ", "ĠĠ ĠĠ", "... |
|
llama_model_loader: - kv 18: tokenizer.ggml.bos_token_id u32 = 128000 |
|
llama_model_loader: - kv 19: tokenizer.ggml.eos_token_id u32 = 128009 |
|
llama_model_loader: - kv 20: tokenizer.chat_template str = {% set loop_messages = messages %}{% ... |
|
llama_model_loader: - kv 21: general.quantization_version u32 = 2 |
|
llama_model_loader: - type f32: 161 tensors |
|
llama_model_loader: - type bf16: 562 tensors |
|
llm_load_vocab: special tokens definition check successful ( 256/128256 ). |
|
llm_load_print_meta: format = GGUF V3 (latest) |
|
llm_load_print_meta: arch = llama |
|
llm_load_print_meta: vocab type = BPE |
|
llm_load_print_meta: n_vocab = 128256 |
|
llm_load_print_meta: n_merges = 280147 |
|
llm_load_print_meta: n_ctx_train = 8192 |
|
llm_load_print_meta: n_embd = 8192 |
|
llm_load_print_meta: n_head = 64 |
|
llm_load_print_meta: n_head_kv = 8 |
|
llm_load_print_meta: n_layer = 80 |
|
llm_load_print_meta: n_rot = 128 |
|
llm_load_print_meta: n_embd_head_k = 128 |
|
llm_load_print_meta: n_embd_head_v = 128 |
|
llm_load_print_meta: n_gqa = 8 |
|
llm_load_print_meta: n_embd_k_gqa = 1024 |
|
llm_load_print_meta: n_embd_v_gqa = 1024 |
|
llm_load_print_meta: f_norm_eps = 0.0e+00 |
|
llm_load_print_meta: f_norm_rms_eps = 1.0e-05 |
|
llm_load_print_meta: f_clamp_kqv = 0.0e+00 |
|
llm_load_print_meta: f_max_alibi_bias = 0.0e+00 |
|
llm_load_print_meta: f_logit_scale = 0.0e+00 |
|
llm_load_print_meta: n_ff = 28672 |
|
llm_load_print_meta: n_expert = 0 |
|
llm_load_print_meta: n_expert_used = 0 |
|
llm_load_print_meta: causal attn = 1 |
|
llm_load_print_meta: pooling type = 0 |
|
llm_load_print_meta: rope type = 0 |
|
llm_load_print_meta: rope scaling = linear |
|
llm_load_print_meta: freq_base_train = 500000.0 |
|
llm_load_print_meta: freq_scale_train = 1 |
|
llm_load_print_meta: n_yarn_orig_ctx = 8192 |
|
llm_load_print_meta: rope_finetuned = unknown |
|
llm_load_print_meta: ssm_d_conv = 0 |
|
llm_load_print_meta: ssm_d_inner = 0 |
|
llm_load_print_meta: ssm_d_state = 0 |
|
llm_load_print_meta: ssm_dt_rank = 0 |
|
llm_load_print_meta: model type = 70B |
|
llm_load_print_meta: model ftype = BF16 |
|
llm_load_print_meta: model params = 70.55 B |
|
llm_load_print_meta: model size = 131.42 GiB (16.00 BPW) |
|
llm_load_print_meta: general.name = Meta-Llama-3-70B-Instruct |
|
llm_load_print_meta: BOS token = 128000 '<|begin_of_text|>' |
|
llm_load_print_meta: EOS token = 128009 '<|eot_id|>' |
|
llm_load_print_meta: LF token = 128 'Ä' |
|
llm_load_print_meta: EOT token = 128009 '<|eot_id|>' |
|
``` |