How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="LLM-PBE/echr-llama2-7b-dp8-4epochs")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("LLM-PBE/echr-llama2-7b-dp8-4epochs")
model = AutoModelForCausalLM.from_pretrained("LLM-PBE/echr-llama2-7b-dp8-4epochs", device_map="auto")
Quick Links

The model is built by fine-tuning Llama-2-7b-hf on the ECHR dataset with 4 epochs using DPSGD (\epsilon=8).

Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LLM-PBE/echr-llama2-7b-dp8-4epochs

Finetuned
(983)
this model

Dataset used to train LLM-PBE/echr-llama2-7b-dp8-4epochs