Formula

Output Formula for a Polarity Classification Model

The output of a fine-tuned model, denoted as Fω~,θ~()F_{\tilde{\omega},\tilde{\theta}}(\cdot), for a new input sequence xnew\mathbf{x}_{\mathrm{new}} is a probability distribution over the predefined classes. For a polarity classification task, this output is a vector containing the conditional probabilities of the input being 'positive', 'negative', or 'neutral'. This is represented by the formula: Fω~,θ~(xnew)=[Pr(positivexnew)Pr(negativexnew)Pr(neutralxnew)]F_{\tilde{\omega},\tilde{\theta}}(\mathbf{x}_{\mathrm{new}}) = \begin{bmatrix} \Pr(\mathrm{positive}|\mathbf{x}_{\mathrm{new}}) & \Pr(\mathrm{negative}|\mathbf{x}_{\mathrm{new}}) & \Pr(\mathrm{neutral}|\mathbf{x}_{\mathrm{new}})\end{bmatrix}.

Image 0

0

1

Updated 2026-04-14

Contributors are:

Who are from:

Tags

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences