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 5600
Browse filesFiles changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:3ee803a703c3d1760ea3b2940ec8633a4141f85a465ca08b6c514da802fce826size 4902257696123version https://git-lfs.github.com/spec/v1oid sha256:9944d901dbd5315569143db5ea6b585280919c0a3d4033ba02aa20b35742a137size 4902257696
123version https://git-lfs.github.com/spec/v1oid sha256:e4df2339c3fbd8e2b618eb5f0c95408dd6d8d1f510822b2b49765fda8046ec85size 4915960368123version https://git-lfs.github.com/spec/v1oid sha256:fb897a225c4cf51ba5bc7b6b532f0576b057d63d4d53587132aaff1a2c0976fbsize 4915960368
123version https://git-lfs.github.com/spec/v1oid sha256:ec39226c82bb0ec90b6a213669002113978b788aebbe0efcac7a47a877d05e10size 4983068496123version https://git-lfs.github.com/spec/v1oid sha256:8ea08e26aae03284264c18afc0eb6f49aeef16d171044ebae6ab6815952db2edsize 4983068496
123version https://git-lfs.github.com/spec/v1oid sha256:bd049dc3da7561c894d784a0f91e84fe259766f222e27cbce2754ca86498b05fsize 1580230264123version https://git-lfs.github.com/spec/v1oid sha256:99d131b3cc3cdb49bc64ecb7f02aba1f9c32c413b459e48af289ff0fc9bee007size 1580230264
1083 unmodified lines1084108510861083 unmodified lines{"current_steps": 5395, "total_steps": 6188, "loss": 0.0764, "lr": 1.972937167082014e-06, "epoch": 6.10413129598189, "percentage": 87.18, "elapsed_time": "17:27:42", "remaining_time": "2:33:59"}{"current_steps": 5400, "total_steps": 6188, "loss": 0.0868, "lr": 1.948577660105082e-06, "epoch": 6.109790605546124, "percentage": 87.27, "elapsed_time": "17:29:35", "remaining_time": "2:33:09"}{"current_steps": 5405, "total_steps": 6188, "loss": 0.0812, "lr": 1.924361767022038e-06, "epoch": 6.115449915110356, "percentage": 87.35, "elapsed_time": "17:32:35", "remaining_time": "2:32:29"}1083 unmodified lines10841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261083 unmodified lines{"current_steps": 5395, "total_steps": 6188, "loss": 0.0764, "lr": 1.972937167082014e-06, "epoch": 6.10413129598189, "percentage": 87.18, "elapsed_time": "17:27:42", "remaining_time": "2:33:59"}{"current_steps": 5400, "total_steps": 6188, "loss": 0.0868, "lr": 1.948577660105082e-06, "epoch": 6.109790605546124, "percentage": 87.27, "elapsed_time": "17:29:35", "remaining_time": "2:33:09"}{"current_steps": 5405, "total_steps": 6188, "loss": 0.0812, "lr": 1.924361767022038e-06, "epoch": 6.115449915110356, "percentage": 87.35, "elapsed_time": "17:32:35", "remaining_time": "2:32:29"}{"current_steps": 5410, "total_steps": 6188, "loss": 0.1063, "lr": 1.9002896804902039e-06, "epoch": 6.12110922467459, "percentage": 87.43, "elapsed_time": "17:34:32", "remaining_time": "2:31:39"}{"current_steps": 5415, "total_steps": 6188, "loss": 0.0877, "lr": 1.8763615920228084e-06, "epoch": 6.126768534238823, "percentage": 87.51, "elapsed_time": "17:36:07", "remaining_time": "2:30:45"}{"current_steps": 5420, "total_steps": 6188, "loss": 0.0709, "lr": 1.8525776919874472e-06, "epoch": 6.132427843803056, "percentage": 87.59, "elapsed_time": "17:37:38", "remaining_time": "2:29:51"}{"current_steps": 5425, "total_steps": 6188, "loss": 0.1019, "lr": 1.8289381696045817e-06, "epoch": 6.138087153367289, "percentage": 87.67, "elapsed_time": "17:39:14", "remaining_time": "2:28:58"}{"current_steps": 5430, "total_steps": 6188, "loss": 0.0875, "lr": 1.8054432129460386e-06, "epoch": 6.143746462931523, "percentage": 87.75, "elapsed_time": "17:41:11", "remaining_time": "2:28:08"}{"current_steps": 5435, "total_steps": 6188, "loss": 0.0781, "lr": 1.7820930089334965e-06, "epoch": 6.149405772495755, "percentage": 87.83, "elapsed_time": "17:42:44", "remaining_time": "2:27:14"}{"current_steps": 5440, "total_steps": 6188, "loss": 0.263, "lr": 1.7588877433370076e-06, "epoch": 6.155065082059989, "percentage": 87.91, "elapsed_time": "17:45:04", "remaining_time": "2:26:26"}{"current_steps": 5445, "total_steps": 6188, "loss": 0.0914, "lr": 1.7358276007735276e-06, "epoch": 6.160724391624222, "percentage": 87.99, "elapsed_time": "17:46:58", "remaining_time": "2:25:35"}{"current_steps": 5450, "total_steps": 6188, "loss": 0.0808, "lr": 1.71291276470543e-06, "epoch": 6.166383701188455, "percentage": 88.07, "elapsed_time": "17:48:36", "remaining_time": "2:24:42"}{"current_steps": 5455, "total_steps": 6188, "loss": 0.1721, "lr": 1.6901434174390652e-06, "epoch": 6.172043010752688, "percentage": 88.15, "elapsed_time": "17:50:54", "remaining_time": "2:23:54"}{"current_steps": 5460, "total_steps": 6188, "loss": 0.0699, "lr": 1.6675197401232869e-06, "epoch": 6.1777023203169215, "percentage": 88.24, "elapsed_time": "17:52:35", "remaining_time": "2:23:00"}{"current_steps": 5465, "total_steps": 6188, "loss": 0.0826, "lr": 1.6450419127480422e-06, "epoch": 6.183361629881155, "percentage": 88.32, "elapsed_time": "17:54:27", "remaining_time": "2:22:08"}{"current_steps": 5470, "total_steps": 6188, "loss": 0.0772, "lr": 1.6227101141429114e-06, "epoch": 6.1890209394453874, "percentage": 88.4, "elapsed_time": "17:56:08", "remaining_time": "2:21:15"}{"current_steps": 5475, "total_steps": 6188, "loss": 0.0711, "lr": 1.6005245219756927e-06, "epoch": 6.194680249009621, "percentage": 88.48, "elapsed_time": "17:57:48", "remaining_time": "2:20:21"}{"current_steps": 5480, "total_steps": 6188, "loss": 0.0698, "lr": 1.5784853127510058e-06, "epoch": 6.200339558573854, "percentage": 88.56, "elapsed_time": "17:59:31", "remaining_time": "2:19:28"}{"current_steps": 5485, "total_steps": 6188, "loss": 0.0681, "lr": 1.5565926618088578e-06, "epoch": 6.205998868138087, "percentage": 88.64, "elapsed_time": "18:01:03", "remaining_time": "2:18:33"}{"current_steps": 5490, "total_steps": 6188, "loss": 0.0668, "lr": 1.5348467433232728e-06, "epoch": 6.21165817770232, "percentage": 88.72, "elapsed_time": "18:02:34", "remaining_time": "2:17:38"}{"current_steps": 5495, "total_steps": 6188, "loss": 0.07, "lr": 1.5132477303009018e-06, "epoch": 6.217317487266554, "percentage": 88.8, "elapsed_time": "18:04:08", "remaining_time": "2:16:43"}{"current_steps": 5500, "total_steps": 6188, "loss": 0.1007, "lr": 1.4917957945796313e-06, "epoch": 6.222976796830786, "percentage": 88.88, "elapsed_time": "18:06:06", "remaining_time": "2:15:51"}{"current_steps": 5505, "total_steps": 6188, "loss": 0.056, "lr": 1.4704911068272366e-06, "epoch": 6.22863610639502, "percentage": 88.96, "elapsed_time": "18:07:39", "remaining_time": "2:14:56"}{"current_steps": 5510, "total_steps": 6188, "loss": 0.0697, "lr": 1.4493338365400034e-06, "epoch": 6.234295415959253, "percentage": 89.04, "elapsed_time": "18:09:13", "remaining_time": "2:14:01"}{"current_steps": 5515, "total_steps": 6188, "loss": 0.063, "lr": 1.428324152041407e-06, "epoch": 6.239954725523486, "percentage": 89.12, "elapsed_time": "18:10:51", "remaining_time": "2:13:07"}{"current_steps": 5520, "total_steps": 6188, "loss": 0.107, "lr": 1.407462220480742e-06, "epoch": 6.245614035087719, "percentage": 89.2, "elapsed_time": "18:13:09", "remaining_time": "2:12:17"}{"current_steps": 5525, "total_steps": 6188, "loss": 0.0832, "lr": 1.3867482078318095e-06, "epoch": 6.251273344651953, "percentage": 89.29, "elapsed_time": "18:14:57", "remaining_time": "2:11:23"}{"current_steps": 5530, "total_steps": 6188, "loss": 0.0866, "lr": 1.3661822788916013e-06, "epoch": 6.256932654216186, "percentage": 89.37, "elapsed_time": "18:16:34", "remaining_time": "2:10:28"}{"current_steps": 5535, "total_steps": 6188, "loss": 0.0727, "lr": 1.3457645972789778e-06, "epoch": 6.262591963780419, "percentage": 89.45, "elapsed_time": "18:18:09", "remaining_time": "2:09:33"}{"current_steps": 5540, "total_steps": 6188, "loss": 0.1142, "lr": 1.3254953254333613e-06, "epoch": 6.268251273344652, "percentage": 89.53, "elapsed_time": "18:20:08", "remaining_time": "2:08:40"}{"current_steps": 5545, "total_steps": 6188, "loss": 0.0819, "lr": 1.305374624613469e-06, "epoch": 6.2739105829088855, "percentage": 89.61, "elapsed_time": "18:21:46", "remaining_time": "2:07:45"}{"current_steps": 5550, "total_steps": 6188, "loss": 0.0996, "lr": 1.285402654896004e-06, "epoch": 6.279569892473118, "percentage": 89.69, "elapsed_time": "18:23:23", "remaining_time": "2:06:50"}{"current_steps": 5555, "total_steps": 6188, "loss": 0.0679, "lr": 1.265579575174387e-06, "epoch": 6.2852292020373515, "percentage": 89.77, "elapsed_time": "18:24:54", "remaining_time": "2:05:54"}{"current_steps": 5560, "total_steps": 6188, "loss": 0.0766, "lr": 1.245905543157504e-06, "epoch": 6.290888511601585, "percentage": 89.85, "elapsed_time": "18:26:42", "remaining_time": "2:05:00"}{"current_steps": 5565, "total_steps": 6188, "loss": 0.0802, "lr": 1.2263807153684448e-06, "epoch": 6.2965478211658175, "percentage": 89.93, "elapsed_time": "18:28:47", "remaining_time": "2:04:07"}{"current_steps": 5570, "total_steps": 6188, "loss": 0.0646, "lr": 1.2070052471432535e-06, "epoch": 6.302207130730051, "percentage": 90.01, "elapsed_time": "18:30:52", "remaining_time": "2:03:15"}{"current_steps": 5575, "total_steps": 6188, "loss": 0.063, "lr": 1.1877792926296893e-06, "epoch": 6.307866440294284, "percentage": 90.09, "elapsed_time": "18:32:29", "remaining_time": "2:02:19"}{"current_steps": 5580, "total_steps": 6188, "loss": 0.0708, "lr": 1.1687030047860248e-06, "epoch": 6.313525749858517, "percentage": 90.17, "elapsed_time": "18:34:10", "remaining_time": "2:01:24"}{"current_steps": 5585, "total_steps": 6188, "loss": 0.0863, "lr": 1.1497765353797963e-06, "epoch": 6.31918505942275, "percentage": 90.26, "elapsed_time": "18:36:33", "remaining_time": "2:00:33"}{"current_steps": 5590, "total_steps": 6188, "loss": 0.0832, "lr": 1.1310000349866136e-06, "epoch": 6.324844368986984, "percentage": 90.34, "elapsed_time": "18:38:08", "remaining_time": "1:59:36"}{"current_steps": 5595, "total_steps": 6188, "loss": 0.0709, "lr": 1.1123736529889674e-06, "epoch": 6.330503678551217, "percentage": 90.42, "elapsed_time": "18:39:41", "remaining_time": "1:58:40"}{"current_steps": 5600, "total_steps": 6188, "loss": 0.0671, "lr": 1.093897537575026e-06, "epoch": 6.33616298811545, "percentage": 90.5, "elapsed_time": "18:41:19", "remaining_time": "1:57:44"}{"current_steps": 5605, "total_steps": 6188, "loss": 0.0826, "lr": 1.075571835737459e-06, "epoch": 6.341822297679683, "percentage": 90.58, "elapsed_time": "18:44:35", "remaining_time": "1:56:58"}
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