- 博客(6)
- 收藏
- 关注
原创 A Few Thoughts On LLM Attack Vectors
摘要:本文探讨了针对大语言模型(LLM)的两种新型对抗攻击方法:"数据投毒攻击"和"注意力攻击"。前者通过输入刻意修改的数据来影响模型输出;后者则利用中文单字作为独立标记的特性,通过特殊结构设计来劫持注意力机制。作者提出"HR攻击"概念,类比企业HR系统筛选简历的局限性,指出当前AI系统在实时同步需求下存在固有漏洞。尽管防御这些攻击需要复杂的专家验证系统,但作者认为随着开源LLM的普及,这类攻击研究已成为活跃领域。文章最后强调维护实时同步AI系统对
2025-10-06 14:52:11
1250
原创 Strong Type Conversion
Java has implicit type conversions in built for most of the convertable types, such as conversion from int to long, and byte to short, int and long, float to double and even char to int. But never from a short to byte, doing so would cause a compilation e
2021-09-02 10:01:44
857
原创 编程中英文单词
中文 英文 指令行 Command Line Java 开发工具包 JDK Java 运行环境 JRE (反)编译 (De)Compile 源代码 Source Code 字节码 ByteCode 类 Class 公共 Public 静态 Static 空 Void 主要 Main 字符串 String 参数 args 方法 method 花括号 {}
2021-09-02 09:24:40
130
原创 Java.lang.Math.random()
double random = Math.random() 默认出来的是一个double类型,范围为 [0,1) (代表零到一不含一) 为了扩大范围和调整范围区域,可以用数学公式来改造范围。 使用 Math.random() * x 可以造成 [0.0x,1.0x) 的效果。 使用 Math.random() + x 可以造成 [0.0 + x, 1.0 + x) 的效果。 混合在一起 (Math.random() * x) + y 能达到 【0.0x + y,1..
2021-09-02 09:22:14
489
原创 Java Types 和 Scanner
Java的变量类分成8个基本类: - byte 8位数 使用2^8 ,限制为-128 到 127 (2^8-1) - short 短数字 (16位数)限制为 -32768到 32767(2^16-1) - int Integer的缩减(32位数)java默认正数字 - long 长数字(64位数)使用时用“数字L”来区分 - float (32位数漂浮符号)使用时用“数字f”格式来...
2021-08-30 17:16:51
121
原创 Java: The Start
Java is a multi platform tool, any machine that can run Java VM (Virtual Machine) can therefore run a Java program. Like other High-level programming languages, Java requires the use of a compiler to transform human readable text into machine ones. Howeve
2021-08-27 13:07:11
120
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅