Skip to content

Commit bf746fb

Browse files
committed
rename
1 parent 5da7e9d commit bf746fb

File tree

8 files changed

+29
-29
lines changed

8 files changed

+29
-29
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ pip install -e .
1919
### From GitHub Repository
2020
To install this package into your own project from GitHub, run:
2121
```bash
22-
pip install git+https://github.com/pymc-labs/embeddings-similarity-rating.git
22+
pip install git+https://github.com/pymc-labs/semantic-similarity-rating.git
2323
```
2424

2525
## Quick Start
2626

2727
```python
2828
import polars as po
2929
import numpy as np
30-
from embeddings_similarity_rating import ResponseRater
30+
from semantic_similarity_rating import ResponseRater
3131

3232
# Create example reference sentences dataframe
3333
reference_set_1 = [

pixi.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies = [
88
"sentence-transformers>=2.2.0",
99
]
1010
description = "A Python package implementing the Embeddings-Similarity Rating methodology for converting LLM textual responses to Likert scale probability distributions using semantic similarity against reference statements."
11-
name = "embeddings_similarity_rating"
11+
name = "semantic_similarity_rating"
1212
requires-python = ">= 3.10"
1313
version = "1.0.0"
1414
readme = "README.md"
@@ -37,7 +37,7 @@ channels = ["conda-forge"]
3737
platforms = ["osx-arm64", "linux-64", "osx-64"]
3838

3939
[tool.pixi.pypi-dependencies]
40-
embeddings_similarity_rating = { path = ".", editable = true }
40+
semantic_similarity_rating = { path = ".", editable = true }
4141

4242
[tool.pixi.dependencies]
4343
ipykernel = "*"
File renamed without changes.
File renamed without changes.

embeddings_similarity_rating/response_rater.py renamed to semantic_similarity_rating/response_rater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class ResponseRater:
7676
**Text mode (automatic embedding computation):**
7777
7878
>>> import polars as po
79-
>>> from embeddings_similarity_rating import ResponseRater
79+
>>> from semantic_similarity_rating import ResponseRater
8080
>>>
8181
>>> # Create reference sentences dataframe (no embedding column)
8282
>>> df = po.DataFrame({

tests/test_compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import numpy as np
66
import pytest
7-
from embeddings_similarity_rating.compute import (
7+
from semantic_similarity_rating.compute import (
88
scale_pmf,
99
response_embeddings_to_pmf,
1010
)

tests/test_response_rater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as np
66
import polars as po
77
import pytest
8-
from embeddings_similarity_rating import ResponseRater
8+
from semantic_similarity_rating import ResponseRater
99

1010
# Test constants
1111
EMBEDDING_DIM = 128

0 commit comments

Comments
 (0)