Text Generation
Transformers
Safetensors
llama
Merge
mergekit
lazymergekit
conversational
text-generation-inference
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("bunnycore/FunLLama3-8B")
model = AutoModelForCausalLM.from_pretrained("bunnycore/FunLLama3-8B")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))Quick Links
FunLLama3-8B
GGUF: https://huggingface.co/mradermacher/FunLLama3-8B-i1-GGUF
FunLLama3-8B is a merge of the following models using mergekit:
🧩 Configuration
models:
- model: bunnycore/LLama3-Mix-8B
- model: Sao10K/L3-8B-Stheno-v3.2
- model: Orenguteng/Llama-3-8B-Lexi-Uncensored
merge_method: model_stock
base_model: bunnycore/LLama3-Mix-8B
dtype: bfloat16
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="bunnycore/FunLLama3-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)