Instructions to use Azazelle/Sina-Loki-7b-Merge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Azazelle/Sina-Loki-7b-Merge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Azazelle/Sina-Loki-7b-Merge")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Azazelle/Sina-Loki-7b-Merge") model = AutoModelForCausalLM.from_pretrained("Azazelle/Sina-Loki-7b-Merge") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Azazelle/Sina-Loki-7b-Merge with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Azazelle/Sina-Loki-7b-Merge" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Azazelle/Sina-Loki-7b-Merge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Azazelle/Sina-Loki-7b-Merge
- SGLang
How to use Azazelle/Sina-Loki-7b-Merge 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 "Azazelle/Sina-Loki-7b-Merge" \ --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": "Azazelle/Sina-Loki-7b-Merge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Azazelle/Sina-Loki-7b-Merge" \ --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": "Azazelle/Sina-Loki-7b-Merge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Azazelle/Sina-Loki-7b-Merge with Docker Model Runner:
docker model run hf.co/Azazelle/Sina-Loki-7b-Merge
Model Card for Sina-Loki-7b-Merge
Part of a series of experimental DARE merges.
.yaml file for mergekit
models:
- model: RatanRohith/SRBOSGPT-7B-slerp
# no parameters necessary for base model
- model: rishiraj/smol-7b #75
parameters:
weight: 0.2
density: 0.41
- model: SanjiWatsuki/openchat-3.5-1210-starling-slerp #125
parameters:
weight: 0.33
density: 0.54
- model: Azazelle/Dumb-Maidlet #200
parameters:
weight: 0.53
density: 0.71
merge_method: dare_ties
base_model: RatanRohith/SRBOSGPT-7B-slerp
parameters:
int8_mask: true
dtype: bfloat16
- Downloads last month
- 203