Instructions to use RichardErkhov/ConvexAI_-_Metabird-7B-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use RichardErkhov/ConvexAI_-_Metabird-7B-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RichardErkhov/ConvexAI_-_Metabird-7B-gguf", filename="Metabird-7B.IQ3_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 RichardErkhov/ConvexAI_-_Metabird-7B-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/ConvexAI_-_Metabird-7B-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/ConvexAI_-_Metabird-7B-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/ConvexAI_-_Metabird-7B-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/ConvexAI_-_Metabird-7B-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 RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/ConvexAI_-_Metabird-7B-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 RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/ConvexAI_-_Metabird-7B-gguf with Ollama:
ollama run hf.co/RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M
- Unsloth Studio
How to use RichardErkhov/ConvexAI_-_Metabird-7B-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 RichardErkhov/ConvexAI_-_Metabird-7B-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 RichardErkhov/ConvexAI_-_Metabird-7B-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RichardErkhov/ConvexAI_-_Metabird-7B-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use RichardErkhov/ConvexAI_-_Metabird-7B-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/ConvexAI_-_Metabird-7B-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/ConvexAI_-_Metabird-7B-gguf:Q4_K_M
Run and chat with the model
lemonade run user.ConvexAI_-_Metabird-7B-gguf-Q4_K_M
List all available models
lemonade list
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
Metabird-7B - GGUF
- Model creator: https://huggingface.co/ConvexAI/
- Original model: https://huggingface.co/ConvexAI/Metabird-7B/
| Name | Quant method | Size |
|---|---|---|
| Metabird-7B.Q2_K.gguf | Q2_K | 2.53GB |
| Metabird-7B.IQ3_XS.gguf | IQ3_XS | 2.81GB |
| Metabird-7B.IQ3_S.gguf | IQ3_S | 2.96GB |
| Metabird-7B.Q3_K_S.gguf | Q3_K_S | 2.95GB |
| Metabird-7B.IQ3_M.gguf | IQ3_M | 3.06GB |
| Metabird-7B.Q3_K.gguf | Q3_K | 3.28GB |
| Metabird-7B.Q3_K_M.gguf | Q3_K_M | 3.28GB |
| Metabird-7B.Q3_K_L.gguf | Q3_K_L | 3.56GB |
| Metabird-7B.IQ4_XS.gguf | IQ4_XS | 3.67GB |
| Metabird-7B.Q4_0.gguf | Q4_0 | 3.83GB |
| Metabird-7B.IQ4_NL.gguf | IQ4_NL | 3.87GB |
| Metabird-7B.Q4_K_S.gguf | Q4_K_S | 3.86GB |
| Metabird-7B.Q4_K.gguf | Q4_K | 4.07GB |
| Metabird-7B.Q4_K_M.gguf | Q4_K_M | 4.07GB |
| Metabird-7B.Q4_1.gguf | Q4_1 | 4.24GB |
| Metabird-7B.Q5_0.gguf | Q5_0 | 4.65GB |
| Metabird-7B.Q5_K_S.gguf | Q5_K_S | 4.65GB |
| Metabird-7B.Q5_K.gguf | Q5_K | 4.78GB |
| Metabird-7B.Q5_K_M.gguf | Q5_K_M | 4.78GB |
| Metabird-7B.Q5_1.gguf | Q5_1 | 5.07GB |
| Metabird-7B.Q6_K.gguf | Q6_K | 5.53GB |
| Metabird-7B.Q8_0.gguf | Q8_0 | 7.17GB |
Original model description:
license: apache-2.0 tags: - generated_from_trainer base_model: leveldevai/TurdusBeagle-7B model-index: - name: Metabird-7B results: []
Metabird-7B
See axolotl config
axolotl version: 0.3.0
base_model: leveldevai/TurdusBeagle-7B
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: false
load_in_4bit: false
strict: false
datasets:
- path: shuyuej/metamath_gsm8k
type:
system_prompt: ""
field_instruction: question
field_output: answer
format: "[INST] {instruction} [/INST]"
no_input_format: "[INST] {instruction} [/INST]"
dataset_prepared_path:
val_set_size: 0.05
output_dir: ./out
sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true
eval_sample_packing: false
wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 4
micro_batch_size: 2
num_epochs: 1
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.000005
train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_steps: 10
evals_per_epoch: 4
eval_table_size:
eval_table_max_new_tokens: 128
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"
Metabird
This model is a fine-tuned version of leveldevai/TurdusBeagle-7B on the shuyuej/metamath_gsm8k dataset. It achieves the following results on the evaluation set:
- Loss: 0.4017
Model description
More information soon
Intended uses & limitations
More information soon
Training and evaluation data
More information soon
Training procedure
More information soon
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-06
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 8
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 10
- num_epochs: 1
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9074 | 0.05 | 1 | 0.9932 |
| 0.5012 | 0.26 | 5 | 0.4849 |
| 0.4204 | 0.53 | 10 | 0.4435 |
| 0.3748 | 0.79 | 15 | 0.4017 |
Framework versions
- Transformers 4.37.0.dev0
- Pytorch 2.0.1+cu117
- Datasets 2.16.1
- Tokenizers 0.15.0
Open LLM Leaderboard Evaluation Results
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 71.03 |
| AI2 Reasoning Challenge (25-Shot) | 69.54 |
| HellaSwag (10-Shot) | 87.54 |
| MMLU (5-Shot) | 65.27 |
| TruthfulQA (0-shot) | 57.94 |
| Winogrande (5-shot) | 83.03 |
| GSM8k (5-shot) | 62.85 |
- Downloads last month
- 62
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
