Downloads · 30 days
13
19% of all-time downloads
abhishekrathore18/reviews-amazon
reviews-amazon is a text generation model from abhishekrathore18. Use it when you need the model to write or continue text. It is set up for transformers.
This model is developed and owned by Abhishek Singh. It showcases the power of fine-tuning Small Language Models (SLMs) using LoRA-based parameter-efficient training. Despite being compact, this fine-tuned version out…
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
68
Public
Parameters
494M
1000 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors988 MB · 98%
From the Hugging Face model README
This model is developed and owned by Abhishek Singh.
It showcases the power of fine-tuning Small Language Models (SLMs) using LoRA-based parameter-efficient training.
Despite being compact, this fine-tuned version outperforms several industry-standard general-purpose LLM benchmarks on the target downstream task.
The project demonstrates how strategically fine-tuned SLMs can achieve exceptional performance at a fraction of the compute cost.
This model can be directly used for the downstream task it was fine-tuned on classification.
It is optimized for low-latency, resource-efficient inference while maintaining high accuracy.
The model can be further fine-tuned for related tasks or integrated into production pipelines where lightweight and high-performing models are required.
The base model may retain biases from pretraining data.
Fine-tuning reduces task-specific errors but may not fully eliminate inherent biases.
Users should evaluate the model on their own domain data to ensure safety, fairness, and alignment with their use case.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model_id = "abhishekrathore18/reviews-amazon"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)
inputs = tokenizer("Your input text", return_tensors="pt")
outputs = model(**inputs)