Skip to content

Commit

Permalink
Release v1.0.1 (#332)
Browse files Browse the repository at this point in the history
* Release v1.0.1

- Fix numpy version to be < 2 since some dependencies are incompatible with numpy >= 2
  • Loading branch information
fdalvi committed Aug 12, 2024
1 parent e20b279 commit a406622
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
name: Publish Python 🐍 distribution 📦 to PyPI

on: push

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
name: Publish Python 🐍 distribution 📦 to TestPyPI

on: workflow_dispatch

Expand Down
2 changes: 0 additions & 2 deletions llmebench/datasets/ArMemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import json
import os

from PIL import Image

from llmebench.datasets.dataset_base import DatasetBase
from llmebench.tasks import TaskType

Expand Down
10 changes: 6 additions & 4 deletions llmebench/datasets/dataset_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
from abc import ABC, abstractmethod
from pathlib import Path

from langchain.embeddings import HuggingFaceEmbeddings
from langchain.prompts.example_selector import MaxMarginalRelevanceExampleSelector
from langchain.vectorstores import FAISS

from pooch import Decompress, HTTPDownloader, Pooch, retrieve, Untar, Unzip

import llmebench.utils as utils
Expand Down Expand Up @@ -267,6 +263,12 @@ def prepare_fewshots(
test sample
"""

from langchain.embeddings import HuggingFaceEmbeddings
from langchain.prompts.example_selector import (
MaxMarginalRelevanceExampleSelector,
)
from langchain.vectorstores import FAISS

if embedding_model_name is None:
embedding_model_name = "distiluse-base-multilingual-cased-v1"

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = llmebench
version = 1.0.0
version = 1.0.1
author = Fahim Dalvi
author_email = [email protected]
description = A Flexible Framework for Accelerating LLMs Benchmarking
Expand Down

0 comments on commit a406622

Please sign in to comment.