Aryan-Chharia / Computer-Vision-Projects

Check out my Computer Vision Repository for projects showcasing advanced image processing techniques like object detection, image stitching, and segmentation using Python and OpenCV. Whether you're a researcher, developer, or enthusiast, you'll find comprehensive insights and practical implementations to advance your computer vision skills.
GNU General Public License v3.0
52 stars 101 forks source link

Create sentiment analysis .py #246

Closed gaurimakhija closed 1 month ago

gaurimakhija commented 1 month ago

from transformers import pipeline

Sentiment analysis pipeline

classifier = pipeline("sentiment-analysis") updated to LLAmA2 model for text generation

Related Issue

[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

NOTE: Kindly write in the following format -

Closes #issue-number

Description

i suggests that using LLaMA2 model for better text generation by integrating the fine tuned LLaMA2 model on sentiment analysis dataset we can achieve a better performance for texting in positively and negatively to the prompt. #246( gh pr checkout 246)

Type of PR

Screenshots / videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

Additional context:

[Include any additional information or context that might be helpful for reviewers.]