/give @s diamond_sword[attribute_modifiers={modifiers:[{type:"generic.attack_speed",id:"custom:speed",amount:100,operation:"add_value",slot:"mainhand"},{type:"generic.attack_damage",id:"custom:damage",amount:7,operation:"add_value",slot:"mainhand"}]}] 1