Llamafied Models
Collection
Models converted to the Llama format
•
13 items
•
Updated
An approximate conversion of Apriel 5B Instruct to the Llama format.
trust_remote_code
requiredUsage:
from transformers import pipeline
import torch
device = 'cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu'
pipe = pipeline('text-generation', model='mrfakename/Apriel-5B-Instruct-llamafied', device=device)
print(pipe(pipe.tokenizer.apply_chat_template([{'role': 'user', 'content': 'Hello'}], tokenize=False, add_generation_prompt=True))[0]['generated_text'])
License: MIT (same as the original Apriel 5B model)