Edit model card

language: en license: cc-by-4.0 tags:

  • text-classification repo: N.A.

Model Card for llama2-promt-av-binary-lora

This model is trained as part of the coursework of COMP34812.

This is a binary classification model that was trained with prompt input to detect whether two pieces of text were written by the same author.

Model Details

Model Description

This model is based on a Llama2 model that was fine-tuned on 30K pairs of texts for authorship verification. The model is fine-tuned with prompt inputs to utilize the model's linguistic knowledge. To run the model, the demo code is provided in demo.ipynb submitted. It is advised to use the pre-processing and post-processing functions (provided in demo.ipynb) along with the model for best results.

  • Developed by: Hei Chan
  • Language(s): English
  • Model type: Supervised
  • Model architecture: Transformers
  • Finetuned from model [optional]: meta-llama/Llama-2-7b-hf

Model Resources

Downloads last month
6
Safetensors
Model size
3.47B params
Tensor type
F32
FP16
U8
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.