Instructions to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with Ollama:
ollama run hf.co/RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Run and chat with the model
lemonade run user.marcoonorato91_-_LLAMUsic-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RichardErkhov/marcoonorato91_-_LLAMUsic-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "RichardErkhov/marcoonorato91_-_LLAMUsic-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
LLAMUsic - GGUF
- Model creator: https://huggingface.co/marcoonorato91/
- Original model: https://huggingface.co/marcoonorato91/LLAMUsic/
| Name | Quant method | Size |
|---|---|---|
| LLAMUsic.Q2_K.gguf | Q2_K | 1.27GB |
| LLAMUsic.IQ3_XS.gguf | IQ3_XS | 1.38GB |
| LLAMUsic.IQ3_S.gguf | IQ3_S | 1.44GB |
| LLAMUsic.Q3_K_S.gguf | Q3_K_S | 1.44GB |
| LLAMUsic.IQ3_M.gguf | IQ3_M | 1.49GB |
| LLAMUsic.Q3_K.gguf | Q3_K | 1.57GB |
| LLAMUsic.Q3_K_M.gguf | Q3_K_M | 1.57GB |
| LLAMUsic.Q3_K_L.gguf | Q3_K_L | 1.69GB |
| LLAMUsic.IQ4_XS.gguf | IQ4_XS | 1.71GB |
| LLAMUsic.Q4_0.gguf | Q4_0 | 1.79GB |
| LLAMUsic.IQ4_NL.gguf | IQ4_NL | 1.79GB |
| LLAMUsic.Q4_K_S.gguf | Q4_K_S | 1.8GB |
| LLAMUsic.Q4_K.gguf | Q4_K | 1.88GB |
| LLAMUsic.Q4_K_M.gguf | Q4_K_M | 1.88GB |
| LLAMUsic.Q4_1.gguf | Q4_1 | 1.95GB |
| LLAMUsic.Q5_0.gguf | Q5_0 | 2.11GB |
| LLAMUsic.Q5_K_S.gguf | Q5_K_S | 2.11GB |
| LLAMUsic.Q5_K.gguf | Q5_K | 2.16GB |
| LLAMUsic.Q5_K_M.gguf | Q5_K_M | 2.16GB |
| LLAMUsic.Q5_1.gguf | Q5_1 | 2.28GB |
| LLAMUsic.Q6_K.gguf | Q6_K | 2.46GB |
| LLAMUsic.Q8_0.gguf | Q8_0 | 3.19GB |
Original model description:
language: - en - de - fr - it - pt - hi - es - th library_name: transformers pipeline_tag: text-generation tags: - facebook - meta - pytorch - llama - llama-3 - llamusic - marcoonorato91 - smog98 - nicccMnc license: mit
Model Information
The LLAMUsic is a finetuned version of Llama 3.2 instruction-tuned generative models in 3B size (text in/text out).
Model Developers: Marco Onorato, Riccardo Preite, Niccolรฒ Monaco
Model Architecture: Llama 3.2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for helpfulness and safety.
Supported Languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai are officially supported.
Llama 3.2 Model Family: Token counts refer to pretraining data only. All model versions use Grouped-Query Attention (GQA) for improved inference scalability.
Model Release Date: Dec 20, 2024
Status: This is a static model trained on an offline dataset. Future versions may be released that improve model capabilities and safety.
License: MIT License, please use this with conscience.
Feedback: You can contact info.llamusic@gmail.com
Intended Use
Intended Use Cases: Llama 3.2 is intended for personal and research use in multiple languages. Instruction tuned text only models are intended for assistant-like chat and agentic applications like knowledge retrieval and summarization, mobile AI powered writing assistants and query and prompt rewriting. Pretrained models can be adapted for a variety of additional natural language generation tasks. Similarly, quantized models can be adapted for a variety of on-device use-cases with limited compute resources.
Out of Scope: Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in any other way that is prohibited by the Acceptable Use Policy and Llama 3.2 Community License. Use in languages beyond those explicitly referenced as supported in this model card.
How to use
Use with transformers
Starting with transformers >= 4.43.0 onward, you can run conversational inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
Make sure to update your transformers installation via pip install --upgrade transformers.
import torch
from transformers import pipeline
model_id = "marcoonorato91/LLAMUsic"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are LLAMUsic, an artificial intelligence expert of music."},
{"role": "user", "content": "Write a guitar tab in the style of Metallica and include lyrics."},
]
outputs = pipe(
messages,
max_new_tokens=4000,
)
print(outputs[0]["generated_text"][-1])
Use with ollama
Please, follow the instructions here to install ollama
Then you can pull from the public llamusic ollama hub
Two models are available: the standard version and the Q4_K_M quantized version
- Downloads last month
- 58
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
