Instructions to use CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML") model = AutoModelForCausalLM.from_pretrained("CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML
- SGLang
How to use CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML 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 "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML" \ --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": "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML", "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 "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML" \ --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": "CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML with Docker Model Runner:
docker model run hf.co/CONCISE/LLaMa_V2-13B-Chat-Uncensored-GGML
Upload 3 files
Browse files
LLaMa_V2-13B-Chat-Uncensored-f16-Unquantized-GGML.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2458aa47892648bf4f9ce2fb5412f993ffd6f5830df07c27ca780a619df8d83
|
| 3 |
+
size 26033013888
|
LLaMa_V2-13B-Chat-Uncensored-q5_0-GGML.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ba9986af7e824650e8f2282dae4cdac3f326922e8798092caab8818b8cd1d07
|
| 3 |
+
size 8950236288
|
LLaMa_V2-13B-Chat-Uncensored-q5_1-GGML.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ea731aad48ca6161398e4e3d93cdb35fa3e6ce9c9aeb16a5f33dcd1e4050b48
|
| 3 |
+
size 9763701888
|