Instructions to use llmixer/BigLiz-120b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmixer/BigLiz-120b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="llmixer/BigLiz-120b")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("llmixer/BigLiz-120b") model = AutoModelForCausalLM.from_pretrained("llmixer/BigLiz-120b") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use llmixer/BigLiz-120b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "llmixer/BigLiz-120b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "llmixer/BigLiz-120b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/llmixer/BigLiz-120b
- SGLang
How to use llmixer/BigLiz-120b 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 "llmixer/BigLiz-120b" \ --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": "llmixer/BigLiz-120b", "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 "llmixer/BigLiz-120b" \ --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": "llmixer/BigLiz-120b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use llmixer/BigLiz-120b with Docker Model Runner:
docker model run hf.co/llmixer/BigLiz-120b
BigLiz 120B
A Goliath-120b style frankenmerge of lzlv-70b and WinterGoddess-1.4x-70b.
Prompting Format
Vicuna and Alpaca.
Merge process
The models used in the merge are lzlv-70b and WinterGoddess-1.4x-70b.
slices:
- sources:
- model: lizpreciatior_lzlv_70b_fp16_hf
layer_range: [0, 16]
- sources:
- model: Sao10K_WinterGoddess-1.4x-70B-L2
layer_range: [8, 24]
- sources:
- model: lizpreciatior_lzlv_70b_fp16_hf
layer_range: [17, 32]
- sources:
- model: Sao10K_WinterGoddess-1.4x-70B-L2
layer_range: [25, 40]
- sources:
- model: lizpreciatior_lzlv_70b_fp16_hf
layer_range: [33, 48]
- sources:
- model: Sao10K_WinterGoddess-1.4x-70B-L2
layer_range: [41, 56]
- sources:
- model: lizpreciatior_lzlv_70b_fp16_hf
layer_range: [49, 64]
- sources:
- model: Sao10K_WinterGoddess-1.4x-70B-L2
layer_range: [57, 72]
- sources:
- model: lizpreciatior_lzlv_70b_fp16_hf
layer_range: [65, 80]
merge_method: passthrough
dtype: float16
Acknowledgements
@lizpreciatior For creating lzlv
@Sao10K For creating WinterGoddess
@alpindale For creating the original Goliath
@chargoddard For developing mergekit.
- Downloads last month
- 3