# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("DanielHesslow/Mistral_First2Layers")
model = AutoModelForCausalLM.from_pretrained("DanielHesslow/Mistral_First2Layers")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Mistral 7b model, but cut down to use only the first two layers.
For debugging
- Downloads last month
- 7
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DanielHesslow/Mistral_First2Layers")