Skip to content

Commit

Permalink
Merge branch 'main' into feature/llama-factory-llama2-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonqi146 authored Nov 7, 2023
2 parents 847abf4 + d104cf3 commit 083e0f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ cython_debug/

./llm_rl/preprocess/GPT4-4_Redis_Easy_No_Slide

llm_rl/*cache/
llm_rl/*cache/
1 change: 0 additions & 1 deletion llm_rl/src/llmtuner/extras/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ def get_template_and_fix_tokenizer(
sep=[]
)


r"""
Supports: https://huggingface.co/ziqingyang/chinese-alpaca-2-7b
https://huggingface.co/ziqingyang/chinese-alpaca-2-13b
Expand Down
2 changes: 1 addition & 1 deletion llm_rl/src/llmtuner/tuner/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def is_first_node():
world_rank = dist.get_rank()
local_rank = int(os.environ['LOCAL_RANK'])
return world_rank == local_rank == 0

def find_all_linear_modules(
model: "PreTrainedModel",
quantization_bit: Optional[int] = None,
Expand Down

0 comments on commit 083e0f4

Please sign in to comment.