Skip to content

Commit

Permalink
don't use remote code for phi anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jan 23, 2024
1 parent 97e06f3 commit 4350b95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/e2e/patched/test_phi_multipack.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def test_ft_packed(self, temp_dir):
cfg = DictDefault(
{
"base_model": "microsoft/phi-1_5",
"trust_remote_code": True,
"model_type": "PhiForCausalLM",
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
Expand Down Expand Up @@ -78,7 +77,6 @@ def test_qlora_packed(self, temp_dir):
cfg = DictDefault(
{
"base_model": "microsoft/phi-1_5",
"trust_remote_code": True,
"model_type": "PhiForCausalLM",
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
Expand Down
2 changes: 0 additions & 2 deletions tests/e2e/test_phi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def test_phi_ft(self, temp_dir):
cfg = DictDefault(
{
"base_model": "microsoft/phi-1_5",
"trust_remote_code": True,
"model_type": "AutoModelForCausalLM",
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
Expand Down Expand Up @@ -76,7 +75,6 @@ def test_phi_qlora(self, temp_dir):
cfg = DictDefault(
{
"base_model": "microsoft/phi-1_5",
"trust_remote_code": True,
"model_type": "AutoModelForCausalLM",
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
Expand Down

0 comments on commit 4350b95

Please sign in to comment.