Text Generation
Transformers
Safetensors
llama
mergekit
Merge
llama 3.1
llama-3
llama3
llama-3.1
conversational
text-generation-inference
Instructions to use DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B") model = AutoModelForMultimodalLM.from_pretrained("DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B
- SGLang
How to use DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B 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 "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B with Docker Model Runner:
docker model run hf.co/DavidAU/L3.1-Dark-Planet-SpinFire-Uncensored-8B
Upload folder using huggingface_hub
Browse files- model-00010-of-00017.safetensors +3 -0
- model-00011-of-00017.safetensors +3 -0
- model-00012-of-00017.safetensors +3 -0
- model-00013-of-00017.safetensors +3 -0
- model-00014-of-00017.safetensors +3 -0
- model-00015-of-00017.safetensors +3 -0
- model-00016-of-00017.safetensors +3 -0
- model-00017-of-00017.safetensors +3 -0
model-00010-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:436ac71ab03cba8514f1ad99ec3bb20379ff22f7e5df067d4e9d58efecae64dd
|
| 3 |
+
size 947956216
|
model-00011-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b66575a8fd4845a752bfd743c1c1f35170e8d93d5160593a11ab08d3d77fc5c
|
| 3 |
+
size 989890728
|
model-00012-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df755cccf7c9052197c014e52507466aa52dd8176f2b70569403ad425ca8d5c5
|
| 3 |
+
size 989890728
|
model-00013-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df55d850a4068a721cf0fba97e66ea8d7f4f7f7976795906aab5bd4a75e90f0e
|
| 3 |
+
size 998287752
|
model-00014-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4cb9ca604d328118d721903e2808382f803c58e2ec275c8a387e7b403ee1217
|
| 3 |
+
size 947956208
|
model-00015-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4870964bbb5629684d584287fa4a831689331cb8725d4b4eaf7406cab5064a22
|
| 3 |
+
size 989890712
|
model-00016-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2510fd829ba0dc79581c8b5b5864ede71ef3323aba041c0efe11d1d83596063
|
| 3 |
+
size 989890712
|
model-00017-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d7d4edfe17692eae67b164db84c49357e94187cce7622196abbb82016d29932
|
| 3 |
+
size 201343792
|