Text Generation
Transformers
Safetensors
qwen3
llama-factory
full
Generated from Trainer
conversational
text-generation-inference
Instructions to use DCAgent2/bugs-swesmithseq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DCAgent2/bugs-swesmithseq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DCAgent2/bugs-swesmithseq") 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/bugs-swesmithseq") model = AutoModelForCausalLM.from_pretrained("DCAgent2/bugs-swesmithseq", 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/bugs-swesmithseq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DCAgent2/bugs-swesmithseq" # 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/bugs-swesmithseq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DCAgent2/bugs-swesmithseq
- SGLang
How to use DCAgent2/bugs-swesmithseq 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/bugs-swesmithseq" \ --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/bugs-swesmithseq", "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/bugs-swesmithseq" \ --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/bugs-swesmithseq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DCAgent2/bugs-swesmithseq with Docker Model Runner:
docker model run hf.co/DCAgent2/bugs-swesmithseq
Training in progress, step 4000
Browse filesFiles changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:c9298364c58a53e3ae5d3b3fc35401319de37a6f4db2be8f512f55a14ce593f8size 4902257696123version https://git-lfs.github.com/spec/v1oid sha256:815ecdc95f7a5beb413d8c14b8d3a754263e3ee116d3edd0ef78f2d90364dc39size 4902257696
123version https://git-lfs.github.com/spec/v1oid sha256:9499b43623afaa8eff16427d992cc4e7560d3e3e9c19095f56f54611c2b9187fsize 4915960368123version https://git-lfs.github.com/spec/v1oid sha256:ca495972ac8e16ee0b46c12742c2f851b126d5063faa7498991de37fe2a222d2size 4915960368
123version https://git-lfs.github.com/spec/v1oid sha256:8024c593e549eb246474ab5f300a65514df1b3d882bd4458ccda1d373451caa5size 4983068496123version https://git-lfs.github.com/spec/v1oid sha256:bed0b890c99c700853d0309386871dfe61798252ff9aa38db0b9b25f92ffdff6size 4983068496
123version https://git-lfs.github.com/spec/v1oid sha256:048a78c5f2371ac4a3e57b0057c31975057759853c57e6ffb8eb71c06b3e0bf6size 1580230264123version https://git-lfs.github.com/spec/v1oid sha256:6f534755dcea0e087973e8d0f3fe1d00446667426886019296460277ad48658csize 1580230264
762 unmodified lines763764765762 unmodified lines{"current_steps": 3790, "total_steps": 6188, "loss": 0.0924, "lr": 1.568482452586929e-05, "epoch": 4.288624787775891, "percentage": 61.25, "elapsed_time": "4:52:49", "remaining_time": "3:05:16"}{"current_steps": 3795, "total_steps": 6188, "loss": 0.0858, "lr": 1.5629758306415652e-05, "epoch": 4.294284097340125, "percentage": 61.33, "elapsed_time": "4:54:53", "remaining_time": "3:05:57"}{"current_steps": 3800, "total_steps": 6188, "loss": 0.0765, "lr": 1.5574726855824827e-05, "epoch": 4.299943406904358, "percentage": 61.41, "elapsed_time": "4:56:35", "remaining_time": "3:06:23"}762 unmodified lines763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805762 unmodified lines{"current_steps": 3790, "total_steps": 6188, "loss": 0.0924, "lr": 1.568482452586929e-05, "epoch": 4.288624787775891, "percentage": 61.25, "elapsed_time": "4:52:49", "remaining_time": "3:05:16"}{"current_steps": 3795, "total_steps": 6188, "loss": 0.0858, "lr": 1.5629758306415652e-05, "epoch": 4.294284097340125, "percentage": 61.33, "elapsed_time": "4:54:53", "remaining_time": "3:05:57"}{"current_steps": 3800, "total_steps": 6188, "loss": 0.0765, "lr": 1.5574726855824827e-05, "epoch": 4.299943406904358, "percentage": 61.41, "elapsed_time": "4:56:35", "remaining_time": "3:06:23"}{"current_steps": 3805, "total_steps": 6188, "loss": 0.0753, "lr": 1.5519730611917206e-05, "epoch": 4.305602716468591, "percentage": 61.49, "elapsed_time": "4:59:49", "remaining_time": "3:07:46"}{"current_steps": 3810, "total_steps": 6188, "loss": 0.0819, "lr": 1.546477001223309e-05, "epoch": 4.311262026032824, "percentage": 61.57, "elapsed_time": "5:01:29", "remaining_time": "3:08:10"}{"current_steps": 3815, "total_steps": 6188, "loss": 0.102, "lr": 1.5409845494029208e-05, "epoch": 4.3169213355970575, "percentage": 61.65, "elapsed_time": "5:03:56", "remaining_time": "3:09:03"}{"current_steps": 3820, "total_steps": 6188, "loss": 0.0857, "lr": 1.5354957494275207e-05, "epoch": 4.32258064516129, "percentage": 61.73, "elapsed_time": "5:05:31", "remaining_time": "3:09:23"}{"current_steps": 3825, "total_steps": 6188, "loss": 0.0973, "lr": 1.5300106449650234e-05, "epoch": 4.3282399547255235, "percentage": 61.81, "elapsed_time": "5:07:06", "remaining_time": "3:09:43"}{"current_steps": 3830, "total_steps": 6188, "loss": 0.0693, "lr": 1.524529279653939e-05, "epoch": 4.333899264289757, "percentage": 61.89, "elapsed_time": "5:08:44", "remaining_time": "3:10:04"}{"current_steps": 3835, "total_steps": 6188, "loss": 0.0909, "lr": 1.5190516971030324e-05, "epoch": 4.3395585738539895, "percentage": 61.97, "elapsed_time": "5:10:33", "remaining_time": "3:10:32"}{"current_steps": 3840, "total_steps": 6188, "loss": 0.0832, "lr": 1.5135779408909732e-05, "epoch": 4.345217883418223, "percentage": 62.06, "elapsed_time": "5:12:08", "remaining_time": "3:10:51"}{"current_steps": 3845, "total_steps": 6188, "loss": 0.0754, "lr": 1.5081080545659874e-05, "epoch": 4.350877192982456, "percentage": 62.14, "elapsed_time": "5:13:46", "remaining_time": "3:11:11"}{"current_steps": 3850, "total_steps": 6188, "loss": 0.0836, "lr": 1.5026420816455156e-05, "epoch": 4.356536502546689, "percentage": 62.22, "elapsed_time": "5:15:25", "remaining_time": "3:11:32"}{"current_steps": 3855, "total_steps": 6188, "loss": 0.0862, "lr": 1.4971800656158624e-05, "epoch": 4.362195812110922, "percentage": 62.3, "elapsed_time": "5:17:00", "remaining_time": "3:11:51"}{"current_steps": 3860, "total_steps": 6188, "loss": 0.1004, "lr": 1.4917220499318506e-05, "epoch": 4.367855121675156, "percentage": 62.38, "elapsed_time": "5:18:47", "remaining_time": "3:12:16"}{"current_steps": 3865, "total_steps": 6188, "loss": 0.0831, "lr": 1.4862680780164805e-05, "epoch": 4.373514431239389, "percentage": 62.46, "elapsed_time": "5:20:26", "remaining_time": "3:12:35"}{"current_steps": 3870, "total_steps": 6188, "loss": 0.1019, "lr": 1.4808181932605787e-05, "epoch": 4.379173740803622, "percentage": 62.54, "elapsed_time": "5:21:56", "remaining_time": "3:12:50"}{"current_steps": 3875, "total_steps": 6188, "loss": 0.105, "lr": 1.4753724390224551e-05, "epoch": 4.384833050367855, "percentage": 62.62, "elapsed_time": "5:23:56", "remaining_time": "3:13:21"}{"current_steps": 3880, "total_steps": 6188, "loss": 0.0843, "lr": 1.4699308586275591e-05, "epoch": 4.390492359932089, "percentage": 62.7, "elapsed_time": "5:25:35", "remaining_time": "3:13:40"}{"current_steps": 3885, "total_steps": 6188, "loss": 0.0712, "lr": 1.464493495368132e-05, "epoch": 4.396151669496321, "percentage": 62.78, "elapsed_time": "5:27:09", "remaining_time": "3:13:56"}{"current_steps": 3890, "total_steps": 6188, "loss": 0.0817, "lr": 1.459060392502866e-05, "epoch": 4.401810979060555, "percentage": 62.86, "elapsed_time": "5:28:43", "remaining_time": "3:14:11"}{"current_steps": 3895, "total_steps": 6188, "loss": 0.1114, "lr": 1.4536315932565575e-05, "epoch": 4.407470288624788, "percentage": 62.94, "elapsed_time": "5:30:49", "remaining_time": "3:14:45"}{"current_steps": 3900, "total_steps": 6188, "loss": 0.0681, "lr": 1.448207140819764e-05, "epoch": 4.413129598189021, "percentage": 63.03, "elapsed_time": "5:32:19", "remaining_time": "3:14:58"}{"current_steps": 3905, "total_steps": 6188, "loss": 0.0845, "lr": 1.4427870783484613e-05, "epoch": 4.418788907753254, "percentage": 63.11, "elapsed_time": "5:34:24", "remaining_time": "3:15:30"}{"current_steps": 3910, "total_steps": 6188, "loss": 0.0789, "lr": 1.4373714489636985e-05, "epoch": 4.4244482173174875, "percentage": 63.19, "elapsed_time": "5:36:07", "remaining_time": "3:15:49"}{"current_steps": 3915, "total_steps": 6188, "loss": 0.068, "lr": 1.4319602957512564e-05, "epoch": 4.43010752688172, "percentage": 63.27, "elapsed_time": "5:37:46", "remaining_time": "3:16:06"}{"current_steps": 3920, "total_steps": 6188, "loss": 0.0887, "lr": 1.4265536617613043e-05, "epoch": 4.4357668364459535, "percentage": 63.35, "elapsed_time": "5:39:27", "remaining_time": "3:16:23"}{"current_steps": 3925, "total_steps": 6188, "loss": 0.0735, "lr": 1.4211515900080568e-05, "epoch": 4.441426146010187, "percentage": 63.43, "elapsed_time": "5:41:11", "remaining_time": "3:16:42"}{"current_steps": 3930, "total_steps": 6188, "loss": 0.1065, "lr": 1.4157541234694324e-05, "epoch": 4.44708545557442, "percentage": 63.51, "elapsed_time": "5:42:57", "remaining_time": "3:17:02"}{"current_steps": 3935, "total_steps": 6188, "loss": 0.1014, "lr": 1.4103613050867117e-05, "epoch": 4.452744765138653, "percentage": 63.59, "elapsed_time": "5:44:40", "remaining_time": "3:17:20"}{"current_steps": 3940, "total_steps": 6188, "loss": 0.0687, "lr": 1.4049731777641948e-05, "epoch": 4.458404074702886, "percentage": 63.67, "elapsed_time": "5:46:13", "remaining_time": "3:17:32"}{"current_steps": 3945, "total_steps": 6188, "loss": 0.0978, "lr": 1.3995897843688615e-05, "epoch": 4.46406338426712, "percentage": 63.75, "elapsed_time": "5:47:48", "remaining_time": "3:17:44"}{"current_steps": 3950, "total_steps": 6188, "loss": 0.0783, "lr": 1.3942111677300276e-05, "epoch": 4.469722693831352, "percentage": 63.83, "elapsed_time": "5:49:23", "remaining_time": "3:17:57"}{"current_steps": 3955, "total_steps": 6188, "loss": 0.089, "lr": 1.388837370639008e-05, "epoch": 4.475382003395586, "percentage": 63.91, "elapsed_time": "5:50:55", "remaining_time": "3:18:07"}{"current_steps": 3960, "total_steps": 6188, "loss": 0.1028, "lr": 1.3834684358487731e-05, "epoch": 4.481041312959819, "percentage": 63.99, "elapsed_time": "5:52:49", "remaining_time": "3:18:30"}{"current_steps": 3965, "total_steps": 6188, "loss": 0.1121, "lr": 1.3781044060736089e-05, "epoch": 4.486700622524052, "percentage": 64.08, "elapsed_time": "5:54:39", "remaining_time": "3:18:50"}{"current_steps": 3970, "total_steps": 6188, "loss": 0.0869, "lr": 1.3727453239887796e-05, "epoch": 4.492359932088285, "percentage": 64.16, "elapsed_time": "5:56:42", "remaining_time": "3:19:17"}{"current_steps": 3975, "total_steps": 6188, "loss": 0.0889, "lr": 1.367391232230185e-05, "epoch": 4.498019241652519, "percentage": 64.24, "elapsed_time": "5:58:22", "remaining_time": "3:19:31"}{"current_steps": 3980, "total_steps": 6188, "loss": 0.0796, "lr": 1.3620421733940234e-05, "epoch": 4.503678551216751, "percentage": 64.32, "elapsed_time": "5:59:55", "remaining_time": "3:19:40"}{"current_steps": 3985, "total_steps": 6188, "loss": 0.0785, "lr": 1.356698190036453e-05, "epoch": 4.509337860780985, "percentage": 64.4, "elapsed_time": "6:01:28", "remaining_time": "3:19:49"}{"current_steps": 3990, "total_steps": 6188, "loss": 0.0752, "lr": 1.3513593246732506e-05, "epoch": 4.514997170345218, "percentage": 64.48, "elapsed_time": "6:02:59", "remaining_time": "3:19:58"}{"current_steps": 3995, "total_steps": 6188, "loss": 0.0915, "lr": 1.3460256197794768e-05, "epoch": 4.5206564799094515, "percentage": 64.56, "elapsed_time": "6:04:32", "remaining_time": "3:20:06"}{"current_steps": 4000, "total_steps": 6188, "loss": 0.0746, "lr": 1.3406971177891343e-05, "epoch": 4.526315789473684, "percentage": 64.64, "elapsed_time": "6:06:07", "remaining_time": "3:20:16"}
model-00001-of-00004.safetensors+1-1
model-00002-of-00004.safetensors+1-1
model-00003-of-00004.safetensors+1-1
model-00004-of-00004.safetensors+1-1
trainer_log.jsonl+40