Downloads · 30 days
4
15% of all-time downloads
DEVCamiloSepulveda/7-LLAMA3SP-appceleratorstudio
7-LLAMA3SP-appceleratorstudio is a text classification model from DEVCamiloSepulveda. Use it when you need a label for a piece of text. It is set up for peft. The card lists the license as llama3.2.
This model is fine-tuned on issue descriptions from appceleratorstudio and tested on appceleratorstudio for story point estimation.
Downloads · 30 days
4
15% of all-time downloads
All-time downloads
26
Public
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.bin1.6 GB · 99%
From the Hugging Face model README
This model is fine-tuned on issue descriptions from appceleratorstudio and tested on appceleratorstudio for story point estimation.
Base Model: LLAMA 3.2 1B
Training Project: appceleratorstudio
Test Project: appceleratorstudio
Task: Story Point Estimation (Regression)
Architecture: PEFT (LoRA)
Tokenizer: SP SentencePiece
Input: Issue titles
Output: Story point estimation (continuous value)
from transformers import AutoModelForSequenceClassification, XLNetTokenizer
from peft import PeftConfig, PeftModel
# Load peft config model
config = PeftConfig.from_pretrained("DEVCamiloSepulveda/7-LLAMA3SP-appceleratorstudio")
# Load tokenizer and model
tokenizer = XLNetTokenizer('spm_tokenizer.model', padding_side='right')
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/7-LLAMA3SP-appceleratorstudio")
# Prepare input text
text = "Your issue description here"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=20, padding="max_length")
# Get prediction
outputs = model(**inputs)
story_points = outputs.logits.item()