Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
code
coding
writer
creative-writing
free
fp8
compressed-tensors
llmcompressor
vllm
conversational
Instructions to use groxaxo/Code-Writer-V2-Obliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use groxaxo/Code-Writer-V2-Obliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="groxaxo/Code-Writer-V2-Obliterated", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("groxaxo/Code-Writer-V2-Obliterated") model = AutoModelForMultimodalLM.from_pretrained("groxaxo/Code-Writer-V2-Obliterated", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use groxaxo/Code-Writer-V2-Obliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "groxaxo/Code-Writer-V2-Obliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "groxaxo/Code-Writer-V2-Obliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/groxaxo/Code-Writer-V2-Obliterated
- SGLang
How to use groxaxo/Code-Writer-V2-Obliterated 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 "groxaxo/Code-Writer-V2-Obliterated" \ --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": "groxaxo/Code-Writer-V2-Obliterated", "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 "groxaxo/Code-Writer-V2-Obliterated" \ --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": "groxaxo/Code-Writer-V2-Obliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use groxaxo/Code-Writer-V2-Obliterated with Docker Model Runner:
docker model run hf.co/groxaxo/Code-Writer-V2-Obliterated
docs: say 'free' instead of 'uncensored'
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ tags:
|
|
| 11 |
- coding
|
| 12 |
- writer
|
| 13 |
- creative-writing
|
| 14 |
-
-
|
| 15 |
- fp8
|
| 16 |
- compressed-tensors
|
| 17 |
- llmcompressor
|
|
@@ -39,7 +39,7 @@ We called it **Obliterated** because that is precisely what we did to the word
|
|
| 39 |
|
| 40 |
## The pitch, in one breath
|
| 41 |
|
| 42 |
-
A vision-capable, long-context (**up to 200,000 tokens**),
|
| 43 |
**writer-and-coder** — quantized to **FP8** so it runs on a pair of consumer
|
| 44 |
GPUs without surrendering the spark. It writes prose that breathes and code that
|
| 45 |
compiles, and it does both on hardware you can reach out and touch.
|
|
@@ -61,7 +61,7 @@ down to 8-bit floating point with surgical care.
|
|
| 61 |
- **Modalities:** a full **vision tower** rides along in BF16 (served
|
| 62 |
text-only by default; vision is wired but untested — light the candle at your
|
| 63 |
own pleasure).
|
| 64 |
-
- **Character:** *heretic* by lineage and *
|
| 65 |
flinch, and it does not lecture. It simply does the work.
|
| 66 |
|
| 67 |
---
|
|
@@ -135,7 +135,7 @@ A few hard-won truths:
|
|
| 135 |
|
| 136 |
## What to know before you sail
|
| 137 |
|
| 138 |
-
- It is **
|
| 139 |
own what you make with it.
|
| 140 |
- **Vision is present but unproven** here — validate an image path before you
|
| 141 |
trust it in production.
|
|
|
|
| 11 |
- coding
|
| 12 |
- writer
|
| 13 |
- creative-writing
|
| 14 |
+
- free
|
| 15 |
- fp8
|
| 16 |
- compressed-tensors
|
| 17 |
- llmcompressor
|
|
|
|
| 39 |
|
| 40 |
## The pitch, in one breath
|
| 41 |
|
| 42 |
+
A vision-capable, long-context (**up to 200,000 tokens**), **free**
|
| 43 |
**writer-and-coder** — quantized to **FP8** so it runs on a pair of consumer
|
| 44 |
GPUs without surrendering the spark. It writes prose that breathes and code that
|
| 45 |
compiles, and it does both on hardware you can reach out and touch.
|
|
|
|
| 61 |
- **Modalities:** a full **vision tower** rides along in BF16 (served
|
| 62 |
text-only by default; vision is wired but untested — light the candle at your
|
| 63 |
own pleasure).
|
| 64 |
+
- **Character:** *heretic* by lineage and *free* by intent — it does not
|
| 65 |
flinch, and it does not lecture. It simply does the work.
|
| 66 |
|
| 67 |
---
|
|
|
|
| 135 |
|
| 136 |
## What to know before you sail
|
| 137 |
|
| 138 |
+
- It is **free**. Freedom is a tool; you are the hand that holds it. You
|
| 139 |
own what you make with it.
|
| 140 |
- **Vision is present but unproven** here — validate an image path before you
|
| 141 |
trust it in production.
|