Text Classification
PEFT
PyTorch
Safetensors
English
regression
story-point-estimation
software-engineering
Eval Results (legacy)
Run this model with HF Jobs
Run DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B") model = PeftModel.from_pretrained(base_model, "DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (8)
- .gitattributes+1
- README.mdAdded+89
- adapter_config.jsonAdded+37
- adapter_model.safetensorsAdded+3
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+23
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+195
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889---
license: apache-2.0
language:
- en
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
pipeline_tag: text-classification
library_name: peft
tags:
- regression
- story-point-estimation
- software-engineering
datasets:
- appceleratorstudio
- titanium
metrics:
- mae
- mdae
model-index:
- name: DeepSeek-R1-Distill-Qwen-1.5B-story-point-estimation
results:
- task:
type: regression
name: Story Point Estimation
dataset:
name: titanium Dataset
type: titanium
split: test
metrics:
- type: mae
value: 3.43
name: Mean Absolute Error (MAE)
- type: mdae
value: 2.246
name: Median Absolute Error (MdAE)
---
# DeepSeek R1 Qwen Story Point Estimator - appceleratorstudio - titanium
This model is fine-tuned on issue descriptions from appceleratorstudio and tested on titanium for story point estimation.
## Model Details- Base Model: DeepSeek R1 Distill Qwen 1.5B- Training Project: appceleratorstudio- Test Project: titanium- Task: Story Point Estimation (Regression)- Architecture: PEFT (LoRA)- Tokenizer: DeepSeek BPE Tokenizer
- Input: Issue titles- Output: Story point estimation (continuous value)
## Usage```pythonfrom transformers import AutoModelForSequenceClassificationfrom peft import PeftConfig, PeftModelfrom transformers import AutoTokenizer
# Load peft config modelconfig = PeftConfig.from_pretrained("DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium")
# Load tokenizer and modeltokenizer = AutoTokenizer.from_pretrained("DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium")base_model = AutoModelForSequenceClassification.from_pretrained( config.base_model_name_or_path, num_labels=1, torch_dtype=torch.float16, device_map='auto')model = PeftModel.from_pretrained(base_model, "DEVCamiloSepulveda/11-DeepSeekR1SP-appceleratorstudio-titanium")
# Prepare input texttext = "Your issue description here"inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=20, padding="max_length")
# Get predictionoutputs = model(**inputs)story_points = outputs.logits.item()```
## Training Details- Fine-tuning method: LoRA (Low-Rank Adaptation)- Sequence length: 20 tokens- Best training epoch: 0 / 20 epochs- Batch size: 32- Training time: 95.120 seconds- Mean Absolute Error (MAE): 3.430- Median Absolute Error (MdAE): 2.246### Framework versions
- PEFT 0.14.012345678910111213141516171819202122232425262728293031323334353637{
"alpha_pattern": {},
"auto_mapping": null,
"base_model_name_or_path": "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
"bias": "none",
"eva_config": null,
"exclude_modules": null,
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 16,
"lora_bias": false,
"lora_dropout": 0.1,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": [
"classifier",
"score"
],
"peft_type": "LORA",
"r": 8,
"rank_pattern": {},
"revision": null,
"target_modules": [
"o_proj",
"v_proj",
"q_proj",
"k_proj"
],
"task_type": "SEQ_CLS",
"use_dora": false,
"use_rslora": false
}123version https://git-lfs.github.com/spec/v1oid sha256:188783790ed7992f0b6c6e0c75d18c6f64860246afe7e91b0471c65f2719bd08size 8751944123version https://git-lfs.github.com/spec/v1oid sha256:b69acb09359897ddd02908da442b8204231fbcb74e3fdbd403c817eb7c1f4581size 16196170981234567891011121314151617181920212223{
"bos_token": {
"content": "<|begin▁of▁sentence|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<|end▁of▁sentence|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|end▁of▁sentence|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}123version https://git-lfs.github.com/spec/v1oid sha256:e20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893size 11422778123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195{
"add_bos_token": true,
"add_eos_token": false,
"add_prefix_space": null,
"added_tokens_decoder": {
"151643": {
"content": "<|end▁of▁sentence|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|User|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151645": {
"content": "<|Assistant|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151646": {
"content": "<|begin▁of▁sentence|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|EOT|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151648": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151649": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"bos_token": "<|begin▁of▁sentence|>",
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}",
"clean_up_tokenization_spaces": false,
"eos_token": "<|end▁of▁sentence|>",
"extra_special_tokens": {},
"legacy": true,
"model_max_length": 16384,
"pad_token": "<|end▁of▁sentence|>",
"sp_model_kwargs": {},
"tokenizer_class": "LlamaTokenizer",
"unk_token": null,
"use_default_system_prompt": false
}.gitattributes+1
README.mdAdded+89
adapter_config.jsonAdded+37
adapter_model.safetensorsAdded+3
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+23
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+195