Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Nov 16, 2023
1 parent 3c973cb commit 6b75e34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_hf_conversion_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,12 @@ def test_huggingface_conversion_callback_interval(
'attn_impl': 'torch',
},
'loss_fn': 'torch_crossentropy',
'tie_word_embeddings': tie_word_embeddings,
'tie_word_embeddings': True,
}
tokenizer_name = 'EleutherAI/gpt-neox-20b'
model_cfg = om.create(model_cfg)

tokenizer = transformers.AutoTokenizer.from_pretrained(
tokenizer_name, use_auth_token=model == 'llama2')
tokenizer = transformers.AutoTokenizer.from_pretrained(tokenizer_name)

tiny_dataset_folder_path = os.path.join(os.getcwd(), 'test-ift-data-small')
tiny_dataset_path = os.path.join(tiny_dataset_folder_path, 'train.jsonl')
Expand Down

0 comments on commit 6b75e34

Please sign in to comment.