Text Generation
Transformers
PyTorch
Safetensors
English
Polish
llama
voicelab
llama-2
trurl
trurl-2
text-generation-inference
8-bit precision
Instructions to use Voicelab/trurl-2-7b-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Voicelab/trurl-2-7b-8bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Voicelab/trurl-2-7b-8bit")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Voicelab/trurl-2-7b-8bit") model = AutoModelForCausalLM.from_pretrained("Voicelab/trurl-2-7b-8bit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Voicelab/trurl-2-7b-8bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Voicelab/trurl-2-7b-8bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Voicelab/trurl-2-7b-8bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Voicelab/trurl-2-7b-8bit
- SGLang
How to use Voicelab/trurl-2-7b-8bit 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 "Voicelab/trurl-2-7b-8bit" \ --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": "Voicelab/trurl-2-7b-8bit", "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 "Voicelab/trurl-2-7b-8bit" \ --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": "Voicelab/trurl-2-7b-8bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Voicelab/trurl-2-7b-8bit with Docker Model Runner:
docker model run hf.co/Voicelab/trurl-2-7b-8bit
Update README.md
Browse files44 unmodified lines4546474849505152113 unmodified lines16616716816917017144 unmodified lines||Training Data|Params|Content Length|Num. Samples|Num. Tokens|start LR||---|---|---|---|---|---|---||Trurl 2|*A new mix of private and publicly available online data*|7B|4k|970k|1.7b|2.0 x 10<sup>-5</sup>||Trurl 2|*A new mix of private and publicly available online data*|13B|4k|970k|1.7b|2.0 x 10<sup>-5</sup>|## Training data113 unmodified linesYou can contact us [here](https://voicelab.ai/contact/).* [TRURL 13b](https://huggingface.co/Voicelab/trurl-2-13b/)* [TRURL 7b](https://huggingface.co/Voicelab/trurl-2-7b/)* [TRURL DEMO](https://trurl.ai)44 unmodified lines454647484950515253113 unmodified lines16716816917017117217344 unmodified lines||Training Data|Params|Content Length|Num. Samples|Num. Tokens|start LR||---|---|---|---|---|---|---||Trurl 2|*A new mix of private and publicly available online data without MMLU*|7B|4k|855k|1.19b|2.0 x 10<sup>-5</sup>||Trurl 2|*A new mix of private and publicly available online data with MMLU*|13B|4k|970k|1.7b|2.0 x 10<sup>-5</sup>||Trurl 2 Academic|*A new mix of private and publicly available online data without MMLU*|13B|4k|855k|1.19b|2.0 x 10<sup>-5</sup>|## Training data113 unmodified linesYou can contact us [here](https://voicelab.ai/contact/).* [TRURL 13b](https://huggingface.co/Voicelab/trurl-2-13b/)* [TRURL 13b Academic](https://huggingface.co/Voicelab/trurl-2-13b-academic)* [TRURL 7b](https://huggingface.co/Voicelab/trurl-2-7b/)* [TRURL DEMO](https://trurl.ai)
README.md+4-2