Instructions to use rwitz2/go-bruins-v2.1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rwitz2/go-bruins-v2.1.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="rwitz2/go-bruins-v2.1.1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("rwitz2/go-bruins-v2.1.1") model = AutoModelForCausalLM.from_pretrained("rwitz2/go-bruins-v2.1.1") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use rwitz2/go-bruins-v2.1.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rwitz2/go-bruins-v2.1.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rwitz2/go-bruins-v2.1.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/rwitz2/go-bruins-v2.1.1
- SGLang
How to use rwitz2/go-bruins-v2.1.1 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 "rwitz2/go-bruins-v2.1.1" \ --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": "rwitz2/go-bruins-v2.1.1", "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 "rwitz2/go-bruins-v2.1.1" \ --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": "rwitz2/go-bruins-v2.1.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use rwitz2/go-bruins-v2.1.1 with Docker Model Runner:
docker model run hf.co/rwitz2/go-bruins-v2.1.1
jan-hq/trinity-v1 DPO-trained on Intel/orca_dpo_pairs
#1 Model on the Leaderboard of ANY SIZE 12/16/2023
12/18 Update: Some of the datasets used to create the model I fine-tuned may have been contaminated. I am doing my best to remove thie contamination in future models. Thanks for your patience. Contains traces of Cybertron-2:
title={Cybertron: Uniform Neural Alignment},
author={Xavier Murias},
year={2023},
publisher = {HuggingFace},
journal = {HuggingFace repository},
howpublished = {\url{https://huggingface.co/fblgit/una-cybertron-7b-v2-bf16}},
}```
- Downloads last month
- 220