Orkhan/llama-2-7b-absa

TEXT GENERATIONConcurrency Cost:1Model Size:7BQuant:FP8Ctx Length:4kPublished:Aug 7, 2023License:apache-2.0Architecture:Transformer0.0K Open Weights Cold

Orkhan/llama-2-7b-absa is a 7 billion parameter Llama-2 model fine-tuned by Orkhan for Aspect-Based Sentiment Analysis (ABSA). Optimized using a manually labeled dataset of 2000 sentences, this model excels at identifying specific aspects, opinions, and sentiments within text. It offers a generalized approach to ABSA, reducing the need for domain-specific training data, and is suitable for nuanced sentiment analysis applications.

Loading preview...

Orkhan/llama-2-7b-absa: Aspect-Based Sentiment Analysis Model

This model is a fine-tuned version of the 7 billion parameter Llama-2 base model, specifically optimized by Orkhan for Aspect-Based Sentiment Analysis (ABSA). It leverages a manually labeled dataset of 2000 sentences to accurately extract aspects, associated opinions, and their sentiments from text.

Key Capabilities

  • Detailed Sentiment Analysis: Identifies specific aspects within a sentence (e.g., "weather", "smell"), the opinions expressed about them (e.g., "nice", "bad"), and their corresponding sentiments (e.g., "Positive", "Negative").
  • Generalized ABSA: Offers an advantage over traditional ABSA models by generalizing well across domains, potentially reducing the need for extensive domain-specific labeled data for training.
  • Output Structure: Provides structured output including lists of aspects, opinions, sentiments, and combined phrases (e.g., "nice weather").

Usage Notes

  • The model is trained on sentences, not paragraphs, which should be considered during inference.
  • It is designed to run efficiently on T4-GPU-enabled environments, such as free Google Colab notebooks.
  • Includes helper functions for processing prompts and structuring the model's output for easier interpretation.

This model is ideal for applications requiring granular sentiment insights beyond overall text sentiment, enabling a deeper understanding of user feedback or reviews.