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="nm-testing/llama7b-one-shot-2_4-w4a16-marlin24-t")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("nm-testing/llama7b-one-shot-2_4-w4a16-marlin24-t")
model = AutoModelForCausalLM.from_pretrained("nm-testing/llama7b-one-shot-2_4-w4a16-marlin24-t", device_map="auto")
Quick Links

No model card

Downloads last month
365
Safetensors
Model size
1B params
Tensor type
I32
BF16
F16
I16
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support