Model Stock: All we need is just a few fine-tuned models
Paper • 2403.19522 • Published • 15
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("DreadPoor/YM-12B-Model_Stock-GGUF", dtype="auto")How to use DreadPoor/YM-12B-Model_Stock-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="DreadPoor/YM-12B-Model_Stock-GGUF", filename="ym-12b-model_stock.q4_k_m.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
How to use DreadPoor/YM-12B-Model_Stock-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
# 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 DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
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 DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
docker model run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Ollama:
ollama run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
How to use DreadPoor/YM-12B-Model_Stock-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 DreadPoor/YM-12B-Model_Stock-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 DreadPoor/YM-12B-Model_Stock-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for DreadPoor/YM-12B-Model_Stock-GGUF to start chatting
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Docker Model Runner:
docker model run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
lemonade run user.YM-12B-Model_Stock-GGUF-Q4_K_M
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M# Run inference directly in the terminal:
llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M# 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 DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_Mgit 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 DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_Mdocker model run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_MThis is a merge of pre-trained language models created using mergekit.
This model was merged using the Model Stock merge method using yamatazen/EtherealAurora-12B-v2 as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: LatitudeGames/Wayfarer-12B
- model: MarinaraSpaghetti/NemoMix-Unleashed-12B
- model: nothingiisreal/MN-12B-Celeste-V1.9
- model: TheDrummer/Rocinante-12B-v1.1
- model: anthracite-org/magnum-v2-12b
- model: nbeerbower/Lyra4-Gutenberg-12B
- model: cognitivecomputations/dolphin-2.9.3-mistral-nemo-12b
merge_method: model_stock
base_model: yamatazen/EtherealAurora-12B-v2
normalize: false
int8_mask: true
dtype: bfloat16
4-bit
6-bit
Base model
DreadPoor/YM-12B-Model_Stock
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M# Run inference directly in the terminal: llama-cli -hf DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M