DEVCamiloSepulveda commited on
Commit
a8f34f9
·
verified ·
1 Parent(s): 39e62de

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.2
3
+ language:
4
+ - en
5
+ base_model: meta-llama/Llama-3.2-1B
6
+ pipeline_tag: text-classification
7
+ library_name: peft
8
+ tags:
9
+ - regression
10
+ - story-point-estimation
11
+ - software-engineering
12
+ datasets:
13
+ - appceleratorstudio
14
+ - aptanastudio
15
+ metrics:
16
+ - mae
17
+ - mdae
18
+ model-index:
19
+ - name: llama-3.2-1b-story-point-estimation
20
+ results:
21
+ - task:
22
+ type: regression
23
+ name: Story Point Estimation
24
+ dataset:
25
+ name: aptanastudio Dataset
26
+ type: aptanastudio
27
+ split: test
28
+ metrics:
29
+ - type: mae
30
+ value: 4.311
31
+ name: Mean Absolute Error (MAE)
32
+ - type: mdae
33
+ value: 2.699
34
+ name: Median Absolute Error (MdAE)
35
+ ---
36
+ # LLAMA 3 Story Point Estimator - appceleratorstudio - aptanastudio
37
+
38
+ This model is fine-tuned on issue descriptions from appceleratorstudio and tested on aptanastudio for story point estimation.
39
+
40
+ ## Model Details
41
+ - Base Model: LLAMA 3.2 1B
42
+ - Training Project: appceleratorstudio
43
+ - Test Project: aptanastudio
44
+ - Task: Story Point Estimation (Regression)
45
+ - Architecture: PEFT (LoRA)
46
+ - Tokenizer: SP Word Level
47
+
48
+ - Input: Issue titles
49
+ - Output: Story point estimation (continuous value)
50
+
51
+ ## Usage
52
+ ```python
53
+ from transformers import AutoModelForSequenceClassification
54
+ from peft import PeftConfig, PeftModel
55
+ from tokenizers import Tokenizer
56
+
57
+ # Load peft config model
58
+ config = PeftConfig.from_pretrained("DEVCamiloSepulveda/22-LLAMA3SP-appceleratorstudio-aptanastudio")
59
+
60
+ # Load tokenizer and model
61
+ tokenizer = Tokenizer.from_pretrained("DEVCamiloSepulveda/22-LLAMA3SP-appceleratorstudio-aptanastudio")
62
+ base_model = AutoModelForSequenceClassification.from_pretrained(
63
+ config.base_model_name_or_path,
64
+ num_labels=1,
65
+ torch_dtype=torch.float16,
66
+ device_map='auto'
67
+ )
68
+ model = PeftModel.from_pretrained(base_model, "DEVCamiloSepulveda/22-LLAMA3SP-appceleratorstudio-aptanastudio")
69
+
70
+ # Prepare input text
71
+ text = "Your issue description here"
72
+ inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=20, padding="max_length")
73
+
74
+ # Get prediction
75
+ outputs = model(**inputs)
76
+ story_points = outputs.logits.item()
77
+ ```
78
+
79
+ ## Training Details
80
+ - Fine-tuning method: LoRA (Low-Rank Adaptation)
81
+ - Sequence length: 20 tokens
82
+ - Best training epoch: 1 / 20 epochs
83
+ - Batch size: 32
84
+ - Training time: 162.833 seconds
85
+ - Mean Absolute Error (MAE): 4.311
86
+ - Median Absolute Error (MdAE): 2.699
87
+ ### Framework versions
88
+
89
+ - PEFT 0.14.0
adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-3.2-1B",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 16,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.1,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": [
21
+ "classifier",
22
+ "score"
23
+ ],
24
+ "peft_type": "LORA",
25
+ "r": 8,
26
+ "rank_pattern": {},
27
+ "revision": null,
28
+ "target_modules": [
29
+ "k_proj",
30
+ "q_proj",
31
+ "o_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "SEQ_CLS",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:608898dba9dd735e9a2ada4a424203b499def364e0a1927cb24db11981aa84bc
3
+ size 6840816
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59bd7ec30a55b1c0b247ecbe43d481e246111207a9a2b7c9be87f7d6c7c390cd
3
+ size 1560270490
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff