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="chargoddard/llama33b-s2a4")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("chargoddard/llama33b-s2a4")
model = AutoModelForCausalLM.from_pretrained("chargoddard/llama33b-s2a4", device_map="auto")
Quick Links

LLaMA 33b finetuned on wikitext_document_level with combined linear and NTK-aware ROPE scaling (alpha=4, scale=2.) This model will be coherent up to at least 8k context length, but might work beyond that. This is a merged version of llama33b-s2a4-qlora.

Note that this is not an instruct model - this is base LLaMA with an extended sequence length.

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

Dataset used to train chargoddard/llama33b-s2a4