(name)
| 64 | return string |
| 65 | |
| 66 | def change_name(name): |
| 67 | change_list = ["from", "class", "return", "false", "true", "id", "and"] |
| 68 | if name in change_list: |
| 69 | name = "is_" + name |
| 70 | return name |
| 71 | |
| 72 | # code adapted from https://huggingface.co/kaiokendev/superhot-13b-8k-no-rlhf-test/blob/main/llama_rope_scaled_monkey_patch.py |
| 73 | class CondenseRotaryEmbedding(torch.nn.Module): |
no outgoing calls
no test coverage detected