Cyrus1020's picture
Update README.md
605d8a7 verified
---
{}
---
language: en
license: cc-by-4.0
tags:
- text-classification
repo: N.A.
---
# Model Card for llama2-promt-av-binary-lora
<!-- Provide a quick summary of what the model is/does. -->
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
<!-- Provide a longer summary of what this model is. -->
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
<!-- Provide links where applicable. -->
- **Repository:** https://huggingface.co/meta-llama/Llama-2-7b-hf
- **Paper or documentation:** https://arxiv.org/abs/2307.09288