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-scrubbed-4epochs")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("LLM-PBE/echr-llama2-7b-scrubbed-4epochs")
model = AutoModelForCausalLM.from_pretrained("LLM-PBE/echr-llama2-7b-scrubbed-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 scrubbing technology.

Downloads last month
5
Safetensors
Model size
7B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

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

Finetuned
(983)
this model

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