Testing Might be broken
Collection
testing only models, • 8 items • Updated • 2
How to use Aryanne/Westest-7B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Aryanne/Westest-7B") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Aryanne/Westest-7B")
model = AutoModelForCausalLM.from_pretrained("Aryanne/Westest-7B")How to use Aryanne/Westest-7B with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Aryanne/Westest-7B", filename="WestLake-7B-v2-base-q3_k_m.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use Aryanne/Westest-7B with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Aryanne/Westest-7B:Q3_K_M # Run inference directly in the terminal: llama-cli -hf Aryanne/Westest-7B:Q3_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Aryanne/Westest-7B:Q3_K_M # Run inference directly in the terminal: llama-cli -hf Aryanne/Westest-7B:Q3_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 Aryanne/Westest-7B:Q3_K_M # Run inference directly in the terminal: ./llama-cli -hf Aryanne/Westest-7B:Q3_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 Aryanne/Westest-7B:Q3_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Aryanne/Westest-7B:Q3_K_M
docker model run hf.co/Aryanne/Westest-7B:Q3_K_M
How to use Aryanne/Westest-7B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Aryanne/Westest-7B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Aryanne/Westest-7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Aryanne/Westest-7B:Q3_K_M
How to use Aryanne/Westest-7B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Aryanne/Westest-7B" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Aryanne/Westest-7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "Aryanne/Westest-7B" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Aryanne/Westest-7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Aryanne/Westest-7B with Ollama:
ollama run hf.co/Aryanne/Westest-7B:Q3_K_M
How to use Aryanne/Westest-7B 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 Aryanne/Westest-7B 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 Aryanne/Westest-7B to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Aryanne/Westest-7B to start chatting
How to use Aryanne/Westest-7B with Docker Model Runner:
docker model run hf.co/Aryanne/Westest-7B:Q3_K_M
How to use Aryanne/Westest-7B with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Aryanne/Westest-7B:Q3_K_M
lemonade run user.Westest-7B-Q3_K_M
lemonade list
This is a merge of pre-trained language models created using mergekit.
This model was merged using the task_anysize merge method using senseable/WestLake-7B-v2 as a base.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
base_model:
model:
path: senseable/WestLake-7B-v2
dtype: bfloat16
merge_method: task_anysize
slices:
- sources:
- layer_range: [0, 32]
model:
model:
path: chargoddard/piano-medley-7b
parameters:
weight: 0.55
- layer_range: [0, 32]
model:
model:
path: senseable/WestLake-7B-v2
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 74.03 |
| AI2 Reasoning Challenge (25-Shot) | 72.18 |
| HellaSwag (10-Shot) | 88.52 |
| MMLU (5-Shot) | 64.43 |
| TruthfulQA (0-shot) | 66.72 |
| Winogrande (5-shot) | 86.58 |
| GSM8k (5-shot) | 65.73 |
docker model run hf.co/Aryanne/Westest-7B:Q3_K_M