Model Stock: All we need is just a few fine-tuned models
Paper • 2403.19522 • Published • 15
How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF", device_map="auto")How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
docker model run hf.co/lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with Ollama:
ollama run hf.co/lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF to start chatting
How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
How to use lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lemon07r/Lllama-3-RedMagic4-8B-Q8_0-GGUF:Q8_0
lemonade run user.Lllama-3-RedMagic4-8B-Q8_0-GGUF-Q8_0
lemonade list
This is a merge of pre-trained language models created using mergekit.
This model was merged using the Model Stock merge method using NousResearch/Meta-Llama-3-8B as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
base_model: NousResearch/Meta-Llama-3-8B
dtype: bfloat16
merge_method: model_stock
slices:
- sources:
- layer_range: [0, 32]
model: lemon07r/Llama-3-RedMagic2-8B
- layer_range: [0, 32]
model: lemon07r/Lllama-3-RedElixir-8B
- layer_range: [0, 32]
model: nbeerbower/llama-3-spicy-abliterated-stella-8B
- layer_range: [0, 32]
model: flammenai/Mahou-1.2-llama3-8B
- layer_range: [0, 32]
model: NousResearch/Meta-Llama-3-8B
8-bit