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="eugenepentland/WizardLM-7B-Landmark", trust_remote_code=True)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("eugenepentland/WizardLM-7B-Landmark", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("eugenepentland/WizardLM-7B-Landmark", trust_remote_code=True, device_map="auto")
Quick Links

WizardLM-7B with 10k+ context using Landmark Attention.

Model generated using Landmark-Attention-QLoRA

https://github.com/eugenepentland/landmark-attention-qlora

A merge of the following models:

https://huggingface.co/TheBloke/wizardLM-7B-HF

https://huggingface.co/eugenepentland/WizardLM-7B-Landmark-Attention-QLoRA

Can be loaded in using oobooga, make sure to have the --trust-remote-code option on for it to function.

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