diff --git a/docs/installation.rst b/docs/installation.rst index dd3be4d..8d6c8a0 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -10,6 +10,7 @@ To install the Saga LLM Evaluation ML library, use the following command: If you want to use the Scorer class, you need to install the following dependencies: .. code-block:: bash + pip install "saga-llm-evaluation[scorer]" However, beware that this will downgrade the version of the `pandas` library to 1.5.3 if you have a higher version installed. This is due to a compatibility issue with the `pandas` library. diff --git a/docs/usage.rst b/docs/usage.rst index 89d6b6b..5ae953c 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -8,6 +8,7 @@ The Scorer is a class that allows you to run multiple metrics at once. The metri If you want to use the Scorer class, you need to install the following dependencies: .. code-block:: bash + pip install "saga-llm-evaluation[scorer]" However, beware that this will downgrade the version of the `pandas` library to 1.5.3 if you have a higher version installed. This is due to a compatibility issue with the `pandas` library. diff --git a/saga_llm_evaluation/__init__.py b/saga_llm_evaluation/__init__.py index def467e..5c68f39 100644 --- a/saga_llm_evaluation/__init__.py +++ b/saga_llm_evaluation/__init__.py @@ -1 +1,12 @@ +from elemeta.nlp import english_punctuations, english_stopwords, extended_punctuations +from elemeta.nlp.extractors.high_level import * +from elemeta.nlp.extractors.low_level.abstract_metafeature_extractor import ( + AbstractMetafeatureExtractor, +) + +from .helpers.embedding_metrics import MAUVE, BERTScore +from .helpers.language_metrics import BLEURTScore, QSquared +from .helpers.llm_metrics import GEval, GPTScore, SelfCheckGPT +from .helpers.utils import MetadataExtractor, get_llama_model + __version__ = "0.12.1"