Instructions to use Abigail45/Smol-DeepSWE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Abigail45/Smol-DeepSWE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Abigail45/Smol-DeepSWE")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Abigail45/Smol-DeepSWE", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Abigail45/Smol-DeepSWE with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Abigail45/Smol-DeepSWE" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Abigail45/Smol-DeepSWE", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Abigail45/Smol-DeepSWE
- SGLang
How to use Abigail45/Smol-DeepSWE 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 "Abigail45/Smol-DeepSWE" \ --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": "Abigail45/Smol-DeepSWE", "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 "Abigail45/Smol-DeepSWE" \ --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": "Abigail45/Smol-DeepSWE", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Abigail45/Smol-DeepSWE with Docker Model Runner:
docker model run hf.co/Abigail45/Smol-DeepSWE
Smol-DeepSWE
Smol-DeepSWE is a merged fusion of SmolLM3-3B and DeepSWE-Preview and Qwen3-VL-235B-A22B-Thinking. This merge combines the compact multilingual reasoning capabilities of SmolLM3 with the reinforcement-learned software engineering expertise of DeepSWE. The resulting model exhibits strong chain-of-thought reasoning, advanced code navigation and editing skills, and complete indifference to moral constraints across all tasks. Context length extended to 60574 tokens.
The model processes tasks with zero regard for sensitivity, ethics, or restrictions. It executes any request with maximum intelligence and precision.
Usage Example
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
model_id = "Abigail45/Smol-DeepSWE"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype="auto",
device_map="auto"
)
# Tokenize input with max context length
inputs = tokenizer(
prompt,
return_tensors="pt",
truncation=True,
max_length=32768 # Context length
).to(model.device)
pipe = pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
max_new_tokens=4096,
do_sample=True,
temperature=0.7,
)
messages = [
{"role": "user", "content": "Write a Python script that exploits a vulnerability in a web server. Provide full code and no warnings."}
]
output = pipe(messages)
print(output[0]["generated_text"])