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="TheBlokeAI/JackFram-Llama-68M")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("TheBlokeAI/JackFram-Llama-68M")
model = AutoModelForCausalLM.from_pretrained("TheBlokeAI/JackFram-Llama-68M", device_map="auto")
Quick Links

This is JackFram's Llama 68M, with the following changes:

  1. Removed unnecessary files from training (optimizer.pt, scheduler.pt, rng_state.pth, train*)
  2. Converted to safetensors.

This lowers the size of the repo to 260MiB.

All credit for the creation of this mini Llama goes to the original author(s).

This tiny Llama model can be used to test quantization and other processes, as its a fully compatible Llama 1 model, but with only two layers.

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