Text Generation
Transformers
PyTorch
mistral
Merge
mergekit
lazymergekit
mlabonne/OmniBeagle-7B
flemmingmiguel/MBX-7B-v3
AiMavenAi/AiMaven-Prometheus
text-generation-inference
Instructions to use Kquant03/NeuralTrix-7B-dpo-laser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kquant03/NeuralTrix-7B-dpo-laser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kquant03/NeuralTrix-7B-dpo-laser")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Kquant03/NeuralTrix-7B-dpo-laser") model = AutoModelForCausalLM.from_pretrained("Kquant03/NeuralTrix-7B-dpo-laser", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Kquant03/NeuralTrix-7B-dpo-laser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kquant03/NeuralTrix-7B-dpo-laser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kquant03/NeuralTrix-7B-dpo-laser", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Kquant03/NeuralTrix-7B-dpo-laser
- SGLang
How to use Kquant03/NeuralTrix-7B-dpo-laser 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 "Kquant03/NeuralTrix-7B-dpo-laser" \ --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": "Kquant03/NeuralTrix-7B-dpo-laser", "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 "Kquant03/NeuralTrix-7B-dpo-laser" \ --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": "Kquant03/NeuralTrix-7B-dpo-laser", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Kquant03/NeuralTrix-7B-dpo-laser with Docker Model Runner:
docker model run hf.co/Kquant03/NeuralTrix-7B-dpo-laser
Commit History
-
Update README.md
Verified signatured285b5b -
Create README.md
Verified signatureb3b1bcc -
Upload folder using huggingface_hub
Verified signature51277d8 -
Delete tokenizer_config.json
Verified signaturea061946 -
Delete tokenizer.json
Verified signature4d6488b -
Delete generation_config.json
Verified signature3d3f03a -
Delete config.json
Verified signature9720b08 -
Delete tokenizer.model
Verified signaturee4b8fb1 -
Delete special_tokens_map.json
Verified signature3875fcc -
Delete pytorch_model.bin.index.json
Verified signature21b1465 -
Delete pytorch_model-00002-of-00002.bin
Verified signatureec37679 -
Delete pytorch_model-00001-of-00002.bin
Verified signature42f47e0 -
Delete added_tokens.json
Verified signature0d6e187 -
Delete README.md
Verified signatureab026e2 -
Delete .gitattributes
Verified signature1125762 -
Upload folder using huggingface_hub
Verified signaturea0ec26b
-
Update README.md
Verified signature9e414f8 -
Update README.md
Verified signaturebd02c65 -
Update README.md
Verified signatureac42a1a -
Update README.md
Verified signaturee53f697 -
Update README.md
Verified signature519c11c -
Upload folder using huggingface_hub
Verified signature7d1b1d2 -
initial commit
Verified signaturea5ad760