Skip to content

Commit 8cc420c

Browse files
authored
Merge pull request #500 from JohnSnowLabs/release/1.4.0
Release/1.4.0
2 parents 3ab3085 + f9e8839 commit 8cc420c

File tree

75 files changed

+186897
-1293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+186897
-1293
lines changed

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
run: |
4141
python -m pip install --upgrade pip
4242
python -m pip install flake8 pytest
43-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
43+
if [ -f .github/workflows/requirements.txt ]; then pip install -r .github/workflows/requirements.txt; fi
44+
4445
- name: Lint with flake8
4546
run: |
4647
# stop the build if there are Python syntax errors or undefined names

requirements.txt renamed to .github/workflows/requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ sentencepiece
77
pydantic==1.10.6
88
spacy
99
johnsnowlabs==4.3.5
10-
plotly
1110
asyncio
1211
nest-asyncio
1312
jsonlines
1413
openai
1514
langchain
1615
evaluate
17-
inflect
1816
rouge_score
19-
typing-extensions < 4.6.0
17+
typing-extensions < 4.6.0

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ Take a look at our official page for user documentation and examples: [nlptest.o
3232

3333
## Key Features
3434

35-
- Generate & run over 50 test types with 1 line of code
36-
- Test all aspects of model quality: robustness, bias, representation, fairness and accuracy
37-
- Automatically augment training data based on test results (for select models)
38-
- Support for popular NLP frameworks: Spark NLP, Hugging Face Transformers, OpenAI, spaCy, Cohere, and many more
39-
- Support for popular NLP tasks: Question Answering, Text Classification & Named Entity Recognition
35+
- Generate and execute more than 50 distinct types of tests only with 1 line of code
36+
- Test all aspects of model quality: robustness, bias, representation, fairness and accuracy.​
37+
- Automatically augment training data based on test results (for select models)
38+
- Support for popular NLP frameworks for NER and Text-Classifcation: Spark NLP, Hugging Face & Transformers.
39+
- Support for testing LLMS ( OpenAI, Cohere, AI21, Hugging Face Inference API and Azure-OpenAI LLMs) for question answering and summarization task.
4040

4141
## How To Use
4242

conda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{% set name = "nlptest" %}
2-
{% set version = "1.3.0" %}
2+
{% set version = "1.4.0" %}
33

44
package:
55
name: {{ name|lower }}
66
version: {{ version }}
77

88
source:
99
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/nlptest-{{ version }}.tar.gz
10-
sha256: d4cfdc0b4c55c351b8bf752dc9ec2c6aaf09fd6ea1c58adee6f4931a54e0ca26
10+
sha256: e2e28f9c3d0f35e3e3c07bebadb25b52fdd4f22e8ff4939d343cb68d4984d8ff
1111

1212
build:
1313
number: 0

demo/tutorials/HuggingFaceHub_QA_Testing_Notebook.ipynb

Lines changed: 0 additions & 652 deletions
This file was deleted.

0 commit comments

Comments
 (0)