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="Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon")
model = AutoModelForCausalLM.from_pretrained("Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon", device_map="auto")
Quick Links

LoopLM-Llama3Arch-1B-Nonloop-Muon

Model details

Architecture LlamaForCausalLM
Hidden size 1536
Physical layers 20
Effective depth 20
Vocab size 128256

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon")
model = AutoModelForCausalLM.from_pretrained("Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon", torch_dtype="auto")
Downloads last month
47
Safetensors
Model size
1B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including Mihara-bot/LoopLM-Llama3Arch-1B-Nonloop-Muon