Skip to content

Commit a406622

Browse files
committed
Release v1.0.1 (#332)
* Release v1.0.1 - Fix numpy version to be < 2 since some dependencies are incompatible with numpy >= 2
1 parent e20b279 commit a406622

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
1+
name: Publish Python 🐍 distribution 📦 to PyPI
22

33
on: push
44

.github/workflows/publish-to-test-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
1+
name: Publish Python 🐍 distribution 📦 to TestPyPI
22

33
on: workflow_dispatch
44

llmebench/datasets/ArMemes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import json
33
import os
44

5-
from PIL import Image
6-
75
from llmebench.datasets.dataset_base import DatasetBase
86
from llmebench.tasks import TaskType
97

llmebench/datasets/dataset_base.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
from abc import ABC, abstractmethod
77
from pathlib import Path
88

9-
from langchain.embeddings import HuggingFaceEmbeddings
10-
from langchain.prompts.example_selector import MaxMarginalRelevanceExampleSelector
11-
from langchain.vectorstores import FAISS
12-
139
from pooch import Decompress, HTTPDownloader, Pooch, retrieve, Untar, Unzip
1410

1511
import llmebench.utils as utils
@@ -267,6 +263,12 @@ def prepare_fewshots(
267263
test sample
268264
"""
269265

266+
from langchain.embeddings import HuggingFaceEmbeddings
267+
from langchain.prompts.example_selector import (
268+
MaxMarginalRelevanceExampleSelector,
269+
)
270+
from langchain.vectorstores import FAISS
271+
270272
if embedding_model_name is None:
271273
embedding_model_name = "distiluse-base-multilingual-cased-v1"
272274

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = llmebench
3-
version = 1.0.0
3+
version = 1.0.1
44
author = Fahim Dalvi
55
author_email = faimaduddin@hbku.edu.qa
66
description = A Flexible Framework for Accelerating LLMs Benchmarking

0 commit comments

Comments
 (0)