Text Generation
Transformers
Safetensors
GGUF
English
llama
Merge
conversational
text-generation-inference
Instructions to use appvoid/palmer-002.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appvoid/palmer-002.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="appvoid/palmer-002.5") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("appvoid/palmer-002.5") model = AutoModelForCausalLM.from_pretrained("appvoid/palmer-002.5", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use appvoid/palmer-002.5 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="appvoid/palmer-002.5", filename="palmer-002.5.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use appvoid/palmer-002.5 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 appvoid/palmer-002.5 # Run inference directly in the terminal: llama cli -hf appvoid/palmer-002.5
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf appvoid/palmer-002.5 # Run inference directly in the terminal: llama cli -hf appvoid/palmer-002.5
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 appvoid/palmer-002.5 # Run inference directly in the terminal: ./llama-cli -hf appvoid/palmer-002.5
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 appvoid/palmer-002.5 # Run inference directly in the terminal: ./build/bin/llama-cli -hf appvoid/palmer-002.5
Use Docker
docker model run hf.co/appvoid/palmer-002.5
- LM Studio
- Jan
- vLLM
How to use appvoid/palmer-002.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "appvoid/palmer-002.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/palmer-002.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/appvoid/palmer-002.5
- SGLang
How to use appvoid/palmer-002.5 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "appvoid/palmer-002.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/palmer-002.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "appvoid/palmer-002.5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/palmer-002.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use appvoid/palmer-002.5 with Ollama:
ollama run hf.co/appvoid/palmer-002.5
- Unsloth Studio
How to use appvoid/palmer-002.5 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 appvoid/palmer-002.5 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 appvoid/palmer-002.5 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for appvoid/palmer-002.5 to start chatting
- Atomic Chat new
- Docker Model Runner
How to use appvoid/palmer-002.5 with Docker Model Runner:
docker model run hf.co/appvoid/palmer-002.5
- Lemonade
How to use appvoid/palmer-002.5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull appvoid/palmer-002.5
Run and chat with the model
lemonade run user.palmer-002.5-{{QUANT_TAG}}List all available models
lemonade list
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -1,9 +1,112 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
| 5 |
tags:
|
| 6 |
- merge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
Creative writing has never been so accesible, palmer goes beyond what it was thought about small language models. This model is a "MErging of Experts" (MEoE) using `palmer-002-2401` as base, biased as an assistant without using any prompts—as a result of these efforts—palmer is better than most 1b language models on most benchmarks, despite being sometimes 40% smaller than its counterparts.
|
|
@@ -35,4 +138,17 @@ To create a world that is truly our own.
|
|
| 35 |
|
| 36 |
You can support me [through kofi](https://ko-fi.com/appvoid)
|
| 37 |
|
| 38 |
-
Note that since this model uses a transformer architecture as any popular language model, its output sometimes contains hallucinations (make mistakes or false statements), and as such, it must be used with caution on sensitive scenarios.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- merge
|
| 7 |
+
model-index:
|
| 8 |
+
- name: palmer-002.5
|
| 9 |
+
results:
|
| 10 |
+
- task:
|
| 11 |
+
type: text-generation
|
| 12 |
+
name: Text Generation
|
| 13 |
+
dataset:
|
| 14 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
| 15 |
+
type: ai2_arc
|
| 16 |
+
config: ARC-Challenge
|
| 17 |
+
split: test
|
| 18 |
+
args:
|
| 19 |
+
num_few_shot: 25
|
| 20 |
+
metrics:
|
| 21 |
+
- type: acc_norm
|
| 22 |
+
value: 37.54
|
| 23 |
+
name: normalized accuracy
|
| 24 |
+
source:
|
| 25 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 26 |
+
name: Open LLM Leaderboard
|
| 27 |
+
- task:
|
| 28 |
+
type: text-generation
|
| 29 |
+
name: Text Generation
|
| 30 |
+
dataset:
|
| 31 |
+
name: HellaSwag (10-Shot)
|
| 32 |
+
type: hellaswag
|
| 33 |
+
split: validation
|
| 34 |
+
args:
|
| 35 |
+
num_few_shot: 10
|
| 36 |
+
metrics:
|
| 37 |
+
- type: acc_norm
|
| 38 |
+
value: 61.84
|
| 39 |
+
name: normalized accuracy
|
| 40 |
+
source:
|
| 41 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 42 |
+
name: Open LLM Leaderboard
|
| 43 |
+
- task:
|
| 44 |
+
type: text-generation
|
| 45 |
+
name: Text Generation
|
| 46 |
+
dataset:
|
| 47 |
+
name: MMLU (5-Shot)
|
| 48 |
+
type: cais/mmlu
|
| 49 |
+
config: all
|
| 50 |
+
split: test
|
| 51 |
+
args:
|
| 52 |
+
num_few_shot: 5
|
| 53 |
+
metrics:
|
| 54 |
+
- type: acc
|
| 55 |
+
value: 25.21
|
| 56 |
+
name: accuracy
|
| 57 |
+
source:
|
| 58 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 59 |
+
name: Open LLM Leaderboard
|
| 60 |
+
- task:
|
| 61 |
+
type: text-generation
|
| 62 |
+
name: Text Generation
|
| 63 |
+
dataset:
|
| 64 |
+
name: TruthfulQA (0-shot)
|
| 65 |
+
type: truthful_qa
|
| 66 |
+
config: multiple_choice
|
| 67 |
+
split: validation
|
| 68 |
+
args:
|
| 69 |
+
num_few_shot: 0
|
| 70 |
+
metrics:
|
| 71 |
+
- type: mc2
|
| 72 |
+
value: 40.22
|
| 73 |
+
source:
|
| 74 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 75 |
+
name: Open LLM Leaderboard
|
| 76 |
+
- task:
|
| 77 |
+
type: text-generation
|
| 78 |
+
name: Text Generation
|
| 79 |
+
dataset:
|
| 80 |
+
name: Winogrande (5-shot)
|
| 81 |
+
type: winogrande
|
| 82 |
+
config: winogrande_xl
|
| 83 |
+
split: validation
|
| 84 |
+
args:
|
| 85 |
+
num_few_shot: 5
|
| 86 |
+
metrics:
|
| 87 |
+
- type: acc
|
| 88 |
+
value: 66.38
|
| 89 |
+
name: accuracy
|
| 90 |
+
source:
|
| 91 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 92 |
+
name: Open LLM Leaderboard
|
| 93 |
+
- task:
|
| 94 |
+
type: text-generation
|
| 95 |
+
name: Text Generation
|
| 96 |
+
dataset:
|
| 97 |
+
name: GSM8k (5-shot)
|
| 98 |
+
type: gsm8k
|
| 99 |
+
config: main
|
| 100 |
+
split: test
|
| 101 |
+
args:
|
| 102 |
+
num_few_shot: 5
|
| 103 |
+
metrics:
|
| 104 |
+
- type: acc
|
| 105 |
+
value: 1.97
|
| 106 |
+
name: accuracy
|
| 107 |
+
source:
|
| 108 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=appvoid/palmer-002.5
|
| 109 |
+
name: Open LLM Leaderboard
|
| 110 |
---
|
| 111 |
|
| 112 |
Creative writing has never been so accesible, palmer goes beyond what it was thought about small language models. This model is a "MErging of Experts" (MEoE) using `palmer-002-2401` as base, biased as an assistant without using any prompts—as a result of these efforts—palmer is better than most 1b language models on most benchmarks, despite being sometimes 40% smaller than its counterparts.
|
|
|
|
| 138 |
|
| 139 |
You can support me [through kofi](https://ko-fi.com/appvoid)
|
| 140 |
|
| 141 |
+
Note that since this model uses a transformer architecture as any popular language model, its output sometimes contains hallucinations (make mistakes or false statements), and as such, it must be used with caution on sensitive scenarios.
|
| 142 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 143 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_appvoid__palmer-002.5)
|
| 144 |
+
|
| 145 |
+
| Metric |Value|
|
| 146 |
+
|---------------------------------|----:|
|
| 147 |
+
|Avg. |38.86|
|
| 148 |
+
|AI2 Reasoning Challenge (25-Shot)|37.54|
|
| 149 |
+
|HellaSwag (10-Shot) |61.84|
|
| 150 |
+
|MMLU (5-Shot) |25.21|
|
| 151 |
+
|TruthfulQA (0-shot) |40.22|
|
| 152 |
+
|Winogrande (5-shot) |66.38|
|
| 153 |
+
|GSM8k (5-shot) | 1.97|
|
| 154 |
+
|