Instructions to use DreadPoor/YM-12B-Model_Stock-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - llama-cpp-python
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." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DreadPoor/YM-12B-Model_Stock-GGUF with llama.cpp:
Install from brew
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
Install from WinGet (Windows)
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
Use pre-built binary
# 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
Build from source code
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
Use Docker
docker model run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Ollama:
ollama run hf.co/DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
- Unsloth Studio
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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
Install Unsloth Studio (Windows)
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
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for DreadPoor/YM-12B-Model_Stock-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
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
- Lemonade
How to use DreadPoor/YM-12B-Model_Stock-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DreadPoor/YM-12B-Model_Stock-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.YM-12B-Model_Stock-GGUF-Q4_K_M
List all available models
lemonade list
| base_model: | |
| - DreadPoor/YM-12B-Model_Stock | |
| library_name: transformers | |
| tags: | |
| - mergekit | |
| - merge | |
| # merge | |
|  | |
| This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit). | |
| ## Merge Details | |
| ### Merge Method | |
| This model was merged using the [Model Stock](https://arxiv.org/abs/2403.19522) merge method using [yamatazen/EtherealAurora-12B-v2](https://huggingface.co/yamatazen/EtherealAurora-12B-v2) as a base. | |
| ### Models Merged | |
| The following models were included in the merge: | |
| * [LatitudeGames/Wayfarer-12B](https://huggingface.co/LatitudeGames/Wayfarer-12B) | |
| * [TheDrummer/Rocinante-12B-v1.1](https://huggingface.co/TheDrummer/Rocinante-12B-v1.1) | |
| * [nbeerbower/Lyra4-Gutenberg-12B](https://huggingface.co/nbeerbower/Lyra4-Gutenberg-12B) | |
| * [MarinaraSpaghetti/NemoMix-Unleashed-12B](https://huggingface.co/MarinaraSpaghetti/NemoMix-Unleashed-12B) | |
| * [cognitivecomputations/dolphin-2.9.3-mistral-nemo-12b](https://huggingface.co/cognitivecomputations/dolphin-2.9.3-mistral-nemo-12b) | |
| * [nothingiisreal/MN-12B-Celeste-V1.9](https://huggingface.co/nothingiisreal/MN-12B-Celeste-V1.9) | |
| * [anthracite-org/magnum-v2-12b](https://huggingface.co/anthracite-org/magnum-v2-12b) | |
| ### Configuration | |
| The following YAML configuration was used to produce this model: | |
| ```yaml | |
| 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 | |
| ``` |