Downloads · 30 days
18
4% of all-time downloads
ChrisPuzzo/llama-2-7b-privacy
llama-2-7b-privacy is a text generation model from ChrisPuzzo. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
18
4% of all-time downloads
All-time downloads
497
Public
Repo size
27 GB
Likes
4
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
By Chris Puzzo and Christain Jackson
For Comp741/841
README updated: 5/22/24
Edit 12/14/25: Hello, as I have some freetime coming up over the Christmas break, I will be making some updates to this repo. My goal is to get this model into a more "production" State if you will. As AI has advanced significantly in the last year and a half, I believe that there are several improvements that can be made to this model to help it along in its goal. Thanks - Chris
The basis of this problem is to fine-tune Meta's Llama 2 Transformer using PEFT and QloRA in order to be able to analyze privacy Policies.
Privacy Policies are written to be confusing and extremely technical, so a tool that helps users answer questions and summerize privacy policies can be very useful in knowing how personal data is being used. the HOWTO.md file contains simple instructions on running the tool
This tool is designed to be used on colab with the huggingface transformers library. For more info check out the model on github. The model was trained using a training code for llama from Maxime Labonne avalible here
There is no requirments file in this repo because it uses dependencies pre-installed on colab.
This model is used with the huggingface transformers library it is run using the following:
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("ChrisPuzzo/llama-2-7b-privacy")
model = AutoModelForCausalLM.from_pretrained("ChrisPuzzo/llama-2-7b-privacy")
We did some small amouts of testing on the model however we got pretty unconclusive data. As you can see in the rouge excel sheet, the scores weren't great. However we believe that the rouge testinging metric might not be the best way to judge this.
The next steps will be to train this data on another dataset I found summerizing text in privacy policies