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="mattshumer/Llama-3-8B-16K")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("mattshumer/Llama-3-8B-16K")
model = AutoModelForCausalLM.from_pretrained("mattshumer/Llama-3-8B-16K", device_map="auto")
Quick Links

This is an extended (16K) context version of LLaMA 3 8B (base, not instruct). Trained for five hours on 8x A6000 GPUs, using the Yukang/LongAlpaca-16k-length dataset.

rope_theta was set to 1000000.0. Trained with Axolotl.

Downloads last month
27
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mattshumer/Llama-3-8B-16K

Finetunes
1 model
Merges
1 model
Quantizations
2 models

Dataset used to train mattshumer/Llama-3-8B-16K

Space using mattshumer/Llama-3-8B-16K 1