Skip to content

Commit

Permalink
rm model_type
Browse files Browse the repository at this point in the history
  • Loading branch information
DesmonDay committed Oct 30, 2023
1 parent 51b6375 commit bab9e8e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion llm/run_pretrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ class ModelArguments:
Arguments pertaining to which model/config/tokenizer we are going to pre-train from.
"""

model_type: Optional[str] = field(default="llama", metadata={"help": "Use for CI test."})
model_name_or_path: str = field(
default="__internal_testing__/tiny-random-llama",
metadata={
Expand Down
3 changes: 2 additions & 1 deletion scripts/regression/requirements_ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ onnxruntime
sacremoses
soundfile
librosa
gradio
gradio
tiktoken
3 changes: 0 additions & 3 deletions tests/fixtures/llm/pretrain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ pretrain:
continue_training: 1
default:
llama:
model_type: llama
model_name_or_path: __internal_testing__/tiny-random-llama
chatglm:
model_type: chatglm
model_name_or_path: __internal_testing__/tiny-fused-chatglm
qwen:
model_type: qwen
model_name_or_path: __internal_testing__/tiny-fused-qwen

inference-predict:
Expand Down
1 change: 0 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ tool_helpers
fast_tokenizer_python
sacremoses
pydantic==1.10.9
tiktoken

0 comments on commit bab9e8e

Please sign in to comment.