Text Generation
Transformers
Safetensors
qwen3
llama-factory
full
Generated from Trainer
conversational
text-generation-inference
Instructions to use DCAgent2/swesmith-bugsseq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DCAgent2/swesmith-bugsseq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DCAgent2/swesmith-bugsseq") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DCAgent2/swesmith-bugsseq") model = AutoModelForCausalLM.from_pretrained("DCAgent2/swesmith-bugsseq", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DCAgent2/swesmith-bugsseq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DCAgent2/swesmith-bugsseq" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DCAgent2/swesmith-bugsseq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DCAgent2/swesmith-bugsseq
- SGLang
How to use DCAgent2/swesmith-bugsseq 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 "DCAgent2/swesmith-bugsseq" \ --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": "DCAgent2/swesmith-bugsseq", "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 "DCAgent2/swesmith-bugsseq" \ --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": "DCAgent2/swesmith-bugsseq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DCAgent2/swesmith-bugsseq with Docker Model Runner:
docker model run hf.co/DCAgent2/swesmith-bugsseq
Commit History
-
End of training
Verified signature7acd8db -
Model save
Verified signaturee4dcc5e -
Training in progress, step 6000
Verified signatureb723daa
-
Training in progress, step 5800
Verified signaturedc22948 -
Training in progress, step 5600
Verified signature68cd8ab -
Training in progress, step 5400
Verified signature5283e64 -
Training in progress, step 5200
Verified signature1453de1 -
Training in progress, step 5000
Verified signaturea6edd1c -
Training in progress, step 4800
Verified signatured72fdb4 -
Training in progress, step 4600
Verified signature268d806 -
Training in progress, step 4400
Verified signature645d6b5 -
Training in progress, step 4200
Verified signature1652229 -
Training in progress, step 4000
Verified signaturefe74ca3 -
Training in progress, step 3800
Verified signature03117af -
Training in progress, step 3600
Verified signatureb61c1cb -
Training in progress, step 3400
Verified signature1be6bc1 -
Training in progress, step 3200
Verified signature2552aca -
initial commit
Verified signature64ef852