Instructions to use FPHam/Reverso_13b_Q_Generator_GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FPHam/Reverso_13b_Q_Generator_GPTQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FPHam/Reverso_13b_Q_Generator_GPTQ")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FPHam/Reverso_13b_Q_Generator_GPTQ") model = AutoModelForCausalLM.from_pretrained("FPHam/Reverso_13b_Q_Generator_GPTQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FPHam/Reverso_13b_Q_Generator_GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FPHam/Reverso_13b_Q_Generator_GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FPHam/Reverso_13b_Q_Generator_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FPHam/Reverso_13b_Q_Generator_GPTQ
- SGLang
How to use FPHam/Reverso_13b_Q_Generator_GPTQ 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 "FPHam/Reverso_13b_Q_Generator_GPTQ" \ --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": "FPHam/Reverso_13b_Q_Generator_GPTQ", "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 "FPHam/Reverso_13b_Q_Generator_GPTQ" \ --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": "FPHam/Reverso_13b_Q_Generator_GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FPHam/Reverso_13b_Q_Generator_GPTQ with Docker Model Runner:
docker model run hf.co/FPHam/Reverso_13b_Q_Generator_GPTQ
Commit History
-
Update README.md
d535602 -
Update README.md
2ca922f -
Update README.md
8182505
-
Update README.md
e7b1dfc -
Update README.md
400cd9c -
Update README.md
391c565 -
Update README.md
002211a -
Update README.md
4f7f637 -
Upload reverso01.jpg
70c2de1 -
Update README.md
c5e1459 -
Upload 9 files
b874571 -
Upload reverso01.jpg
e356d4b -
Update README.md
f123c39 -
Update README.md
3db192f -
Update README.md
24ea28f -
Update README.md
6ca5d8c -
Update README.md
9a53425 -
Update README.md
3d2fe60 -
Update README.md
7354852 -
Update README.md
20283d0 -
Update README.md
12327ac -
Update README.md
a9e7392 -
Delete quantize_config.json
083f500 -
Delete tokenizer.model
c2dad6b -
Delete tokenizer_config.json
d51b299 -
Delete tokenizer.json
2883987 -
Delete special_tokens_map.json
d6b015d -
Delete config.json
34812c5 -
Delete Reverso_gptq_model-4bit-128g.safetensors
19e49fa -
Update README.md
af9b638 -
Update README.md
45849e6 -
Update README.md
d348a60 -
Upload 7 files
faa7847 -
Update README.md
78b7f04 -
Update README.md
2f5b555 -
Update README.md
74bb4e9 -
Update README.md
e20f6fb -
Update README.md
d2848f7 -
Update README.md
bbff8ce -
Update README.md
9e18398 -
Update README.md
bfc47c8 -
Update README.md
537bace -
Update README.md
b75a1bf -
Update README.md
825424e -
Update README.md
2c5cf44 -
Update README.md
935102a -
Update README.md
e9f49d8 -
Update README.md
551e4b5 -
Update README.md
45b4bd0 -
Update README.md
de7ae56