Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AndrewZhe/lawyer-llama
/ functions
Functions
18 in github.com/AndrewZhe/lawyer-llama
⨍
Functions
18
◇
Types & classes
1
↓ 2 callers
Function
permute
(w)
scripts/convert_hf-7b_to_llama-pth.py:23
↓ 2 callers
Function
write_result_chunk
(fp, w_chunk_idx, pending, hasher)
demo/decrypt.py:17
↓ 1 callers
Function
apply_delta
(base_model_path, target_model_path, delta_path)
scripts/model_delta.py:56
↓ 1 callers
Function
check_model_equality
(model1_path, model2_path)
scripts/model_delta.py:93
↓ 1 callers
Function
convert_model
(input_model_path, output_model_path, model_size)
scripts/convert_hf-7b_to_llama-pth.py:10
↓ 1 callers
Function
convert_tokenizer
(input_tokenizer_path, output_tokenizer_path)
scripts/convert_hf-7b_to_llama-pth.py:59
↓ 1 callers
Function
json_send
(url, data=None, method="POST")
demo/demo_web.py:23
↓ 1 callers
Function
json_send
(url, data=None, method="POST")
demo/demo_cmd.py:8
↓ 1 callers
Function
main
(input_file, key_file, output_dir)
demo/decrypt.py:29
↓ 1 callers
Function
make_delta
(base_model_path, target_model_path, delta_path)
scripts/model_delta.py:9
↓ 1 callers
Method
stop
(self)
demo/demo_web.py:17
↓ 1 callers
Function
xor_bytes
(data, key)
demo/decrypt.py:8
Method
__init__
(self, *args, **kwargs)
demo/demo_web.py:13
Function
bot
(chat_history)
demo/demo_web.py:68
Function
stop
(invitation_code)
demo/demo_web.py:118
Method
stopped
(self)
demo/demo_web.py:20
Function
user
(user_message, chat_history)
demo/demo_web.py:62
Function
xor_worker
(task_queue, result_queue)
demo/decrypt.py:11