自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 Hate Speech Detection Review(2):Method and comparation

这类方法的优点是可以自动学习复杂的特征,无需手工设计,而且可以捕捉到一定的语义和语境信息。:这类方法主要基于统计和机器学习技术,如朴素贝叶斯、支持向量机、决策树等。这些方法通常需要手工设计特征,如词频、词性、情感极性等,然后使用这些特征训练分类模型。这类方法的优点是简单、直观、计算效率高,但是缺点是特征设计需要大量的领域知识和人工努力,而且可能无法捕捉到复杂的语义和语境信息。这类方法的优点是可以从大规模的预训练中获得丰富的语义和语境信息,提高检测性能。在这三个数据集上进行实验。

2023-11-05 11:13:30 66

原创 Hate Speech Detection Review

词嵌入和句嵌入是自然语言处理中的重要技术,它们将文本转换为机器可以理解和处理的数值向量解决数据规模和偏差的方法主要有以下几种:针对隐性仇恨言论的数据集和模型设计主要包括以下几个方面:

2023-11-05 10:07:17 203

原创 Continual Learning for Text Classification with Information Disentanglement Based Regularization

正则化的方法:在学习新任务时对模型参数添加约束,以防止它们发生太大变化。

2023-10-29 22:59:15 43 1

原创 Episodic Memory in Lifelong Language Learning

每个经验都被存储为一个键值对,其中键是从基础模型中提取的特征,值是对应的标签或回答。当新的输入到来时,模型会在记忆中查找与当前输入最相似的键,并返回对应的值作为预测。局部适应是在一个小批量的新数据上进行的,这可以防止模型过度适应新任务而忘记旧任务。通过这四个部分的协同工作,情景记忆模型能够在不断变化的数据流中持续学习和适应,同时保持对过去经验的记忆。:一个预训练的语言模型,用于从输入文本中提取特征。基于纯回放的方法,在新任务的学习过程中存储和重新训练以前任务的样本,以保留旧信息。

2023-10-29 22:43:35 59

原创 Continual Learning for Text Classification with Information Disentanglement Based Regularization

作者为了进一步减轻灾难性遗忘而不增加太多的内存和训练时间,提出了一种记忆选择规则,只存储和重放一小部分有代表性的样本。:作者在训练新任务时,对任务通用空间和任务特定空间分别施加不同程度的正则化损失,以防止它们在学习新任务时变化过大而导致灾难性遗忘。任务通用空间是包含不同任务共享的信息的隐藏空间,如语法知识等。任务特定空间是包含每个任务独有的信息的隐藏空间,如情感词汇等。让NLP模型能够不断地从动态的数据流中学习和获取知识,同时避免灾难性遗忘,即在学习新任务时忘记之前任务的知识。

2023-10-29 22:18:25 41 1

原创 Numbers

final: Variables, Methods and ClassesSometimes we don’t want child classes to override the implementation in the parent!Java keyword final. – Using this keyword will prevent child classes (or anyone else) modifying the variable/method this applies to.W

2022-05-17 17:01:10 89

原创 GUI编程

There are 3 main concepts when doing GUI programming in Java:– Component: An object that the user can see on the screen and can also interact with.– Container: A component that can hold other components.– Event: An action triggered by the user (e.g.

2022-05-15 16:37:57 51

原创 Garbage Collection

Heap versus StackTwo main areas of memory in Java:– (Garbage-collectible) Heap (where objects live);– Stack (where local variables and methods, when called, live)Local Variables & Instance VariablesLocal (also known as stack) variables • Vari

2022-05-15 12:06:55 286

原创 Interface

Only interfaces can do multiple inheritanceextends and implements• A class can only extend 1 class: – meaning 1 class can only have 1 parent; – a PinkBunnyRabbit can only have one direct parent – Rabbit.• A class can implement as many interfaces as i

2022-05-14 21:51:46 62

原创 Inheritance and Abstract classes

Class relationshipsThere are two primary types of relationships between classes in Java:– aggregation (referred as has-a) – inheritance (referred as is-a)InheritanceThe inheritance relationship is also known as:Parent/Child or Superclass/Subclass

2022-05-14 21:08:32 72

原创 Arrays

Arrays provide fast random access by letting you use an index position to get any element in the array.– Arrays must be given a size! – Determining the size of an arrayArrays declartaion: TypeName[] ArrayCreate an int value array:1.declare an array a

2022-05-14 18:35:30 41

原创 Object Basics: how OO works

Attributes:Attributes represent the state of an object.There are 2 main types of attributes: – Instance variables – Class variablesmethod return; must be of same type as returnType – not needed if voidImportant: A method uses parameters, (void go(int

2022-05-14 16:23:33 96

原创 Nuts and Bolts

Variable: In java, variable can declare anywhereThe format of declaration variable: Basic data types: java is strongly typed and strongly classed,only the same type can be used together byte,short,int,long:for integar float,double:for real numbe...

2022-05-14 10:48:01 91

原创 Java Basic

Edit:使用记事本编辑程序,每一个Java程序都有拓展名 .javaCompile:在cmd上使用javac命令编译java程序,生成一个 .class文件Load:Java程序必须先加载到内存中才能执行,使用 java+文件名命令Verify:检查程序中无错误Execuct:使用虚拟机编译字节码(bytecode),并运行three comment formats:1.// one line 2./*many lines*/ 3.//*doc 文件*doc文件*doc文件*/Co

2022-05-13 21:58:00 107 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除