Raw Models
Collection
No LoRA, just straight mergers. • 3 items • Updated
How to use Meggido/NeuraLake-m7-v2-7B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Meggido/NeuraLake-m7-v2-7B") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Meggido/NeuraLake-m7-v2-7B")
model = AutoModelForCausalLM.from_pretrained("Meggido/NeuraLake-m7-v2-7B")How to use Meggido/NeuraLake-m7-v2-7B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Meggido/NeuraLake-m7-v2-7B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Meggido/NeuraLake-m7-v2-7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Meggido/NeuraLake-m7-v2-7B
How to use Meggido/NeuraLake-m7-v2-7B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Meggido/NeuraLake-m7-v2-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": "Meggido/NeuraLake-m7-v2-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 "Meggido/NeuraLake-m7-v2-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": "Meggido/NeuraLake-m7-v2-7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Meggido/NeuraLake-m7-v2-7B with Docker Model Runner:
docker model run hf.co/Meggido/NeuraLake-m7-v2-7B
NeuraLake-m7-v2-7B is a merge of the following models using mergekit:
models:
- model: mistralai/Mistral-7B-v0.1
# No parameters necessary for base model
- model: mlabonne/NeuralBeagle14-7B
parameters:
weight: 0.3
density: 0.8
- model: chargoddard/loyal-piano-m7
parameters:
weight: 0.4
density: 0.8
- model: macadeliccc/WestLake-7B-v2-laser-truthy-dpo
parameters:
weight: 0.3
density: 0.4
- model: athirdpath/NSFW_DPO_vmgb-7b
parameters:
weight: 0.2
density: 0.4
merge_method: dare_ties
base_model: mistralai/Mistral-7B-v0.1
parameters:
int8_mask: true
# normalize: true
dtype: bfloat16