brorjt commited on
Commit
ae70af9
·
verified ·
1 Parent(s): 9406e3f

Upload no-base

Browse files

Josep's Megatron-Bridge 0.4.2 export of the BigFamTLLM experiment (weights, tokenizer.json, generation_config.json unchanged); config.json and tokenizer_config.json patched for transformers 4.x; model card.

Files changed (2) hide show
  1. README.md +1 -1
  2. tokenizer_config.json +5 -1
README.md CHANGED
@@ -55,7 +55,7 @@ One of 50 models of the BigFamTLLM experiment (course IN5640 *Developing Large L
55
  - Learning rate: base models and CPT 5e-4 after 2,000 warm-up iterations, then constant (warmup-stable); embeddings-only stage 1e-4 after 100 warm-up iterations; annealing warm-up of 100 iterations to 5e-4, then linear decay to 0 over the 916 iterations.
56
  - Data: HPLT 4.0 web data, tokenized by the team. Annealing data: the high-quality Norwegian HPLT shards (Bokmål 10_1, Nynorsk 9_1 and 10_1).
57
  - Compute (GPU hours): base models 286.30 (Norwegian), 288.19 (Danish), 295.56 (multilingual); CPT 280.01 (Danish), 281.16 (multilingual); multilingual embeddings-only stage 4.69; one annealing 5.5–5.8.
58
- - Converted from the Megatron checkpoint to Hugging Face format with Megatron-Bridge 0.4.2. `config.json` and `tokenizer_config.json` were adjusted afterwards so the model also loads in transformers 4.x (top-level `rope_theta`, `PreTrainedTokenizerFast`, `model_max_length` 4,096); the weights are unchanged.
59
 
60
  ## Evaluation
61
 
 
55
  - Learning rate: base models and CPT 5e-4 after 2,000 warm-up iterations, then constant (warmup-stable); embeddings-only stage 1e-4 after 100 warm-up iterations; annealing warm-up of 100 iterations to 5e-4, then linear decay to 0 over the 916 iterations.
56
  - Data: HPLT 4.0 web data, tokenized by the team. Annealing data: the high-quality Norwegian HPLT shards (Bokmål 10_1, Nynorsk 9_1 and 10_1).
57
  - Compute (GPU hours): base models 286.30 (Norwegian), 288.19 (Danish), 295.56 (multilingual); CPT 280.01 (Danish), 281.16 (multilingual); multilingual embeddings-only stage 4.69; one annealing 5.5–5.8.
58
+ - Converted from the Megatron checkpoint to Hugging Face format with Megatron-Bridge 0.4.2. `config.json` and `tokenizer_config.json` were adjusted afterwards so the model also loads in transformers 4.x (top-level `rope_theta`, `PreTrainedTokenizerFast`, `model_max_length` 4,096, no `token_type_ids`); the weights are unchanged.
59
 
60
  ## Evaluation
61
 
tokenizer_config.json CHANGED
@@ -3,5 +3,9 @@
3
  "eos_token": "<|endoftext|>",
4
  "model_max_length": 4096,
5
  "pad_token": "<|pad|>",
6
- "tokenizer_class": "PreTrainedTokenizerFast"
 
 
 
 
7
  }
 
3
  "eos_token": "<|endoftext|>",
4
  "model_max_length": 4096,
5
  "pad_token": "<|pad|>",
6
+ "tokenizer_class": "PreTrainedTokenizerFast",
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ]
11
  }