Instructions to use LoneStriker/go-bruins-6.0bpw-h6-exl2-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LoneStriker/go-bruins-6.0bpw-h6-exl2-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LoneStriker/go-bruins-6.0bpw-h6-exl2-2")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("LoneStriker/go-bruins-6.0bpw-h6-exl2-2") model = AutoModelForMultimodalLM.from_pretrained("LoneStriker/go-bruins-6.0bpw-h6-exl2-2") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LoneStriker/go-bruins-6.0bpw-h6-exl2-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LoneStriker/go-bruins-6.0bpw-h6-exl2-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LoneStriker/go-bruins-6.0bpw-h6-exl2-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LoneStriker/go-bruins-6.0bpw-h6-exl2-2
- SGLang
How to use LoneStriker/go-bruins-6.0bpw-h6-exl2-2 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 "LoneStriker/go-bruins-6.0bpw-h6-exl2-2" \ --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": "LoneStriker/go-bruins-6.0bpw-h6-exl2-2", "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 "LoneStriker/go-bruins-6.0bpw-h6-exl2-2" \ --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": "LoneStriker/go-bruins-6.0bpw-h6-exl2-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LoneStriker/go-bruins-6.0bpw-h6-exl2-2 with Docker Model Runner:
docker model run hf.co/LoneStriker/go-bruins-6.0bpw-h6-exl2-2
Go Bruins - A Fine-tuned Language Model
Updates
December 9, 2023: Go-Bruins has placed #6 overall and #1 for 7 billion parameter models on the Hugging Face Leaderboard!
Overview
Go Bruins is a state-of-the-art language model fine-tuned on the Q-bert/MetaMath-Cybertron-Starling architecture. It's designed to push the boundaries of NLP applications, offering unparalleled performance in generating human-like text.
Model Details
- Developer: Ryan Witzman
- Base Model: Q-bert/MetaMath-Cybertron-Starling
- Fine-tuning Method: Direct Preference Optimization (DPO)
- Training Steps: 200
- Language: English
- License: MIT
Capabilities
Go Bruins excels in a variety of NLP tasks, including but not limited to:
- Text generation
- Language understanding
- Sentiment analysis
Usage
Warning: This model may output NSFW or illegal content. Use with caution and at your own risk.
For Direct Use:
from transformers import pipeline
model_name = "rwitz/go-bruins"
inference_pipeline = pipeline('text-generation', model=model_name)
input_text = "Your input text goes here"
output = inference_pipeline(input_text)
print(output)
GGUF Quantized Files are Located at NyxKrage/go-bruins-GGUF
Not Recommended For:
- Illegal activities
- Harassment
- Professional advice or crisis situations
Training and Evaluation
Trained on a dataset from Intel/orca_dpo_pairs, Go Bruins has shown promising improvements over its predecessor, Q-Bert.
Evaluations
Go-Bruins is the SOTA 7B model.
| Metric | Average | Arc Challenge | Hella Swag | MMLU | Truthful Q&A | Winogrande | GSM8k |
|---|---|---|---|---|---|---|---|
| Score | 71.86 | 69.11 | 86.53 | 65.02 | 59.24 | 81.37 | 69.90 |
Note: The original MMLU evaluation has been corrected to include 5-shot data rather than 1-shot data.
Contact
For any inquiries or feedback, reach out to Ryan Witzman on Discord: rwitz_.
This model card was created with care by Ryan Witzman.
- Downloads last month
- 1
