Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Add NER plugin to neural chat #436

Merged
merged 14 commits into from
Oct 17, 2023
Merged

Add NER plugin to neural chat #436

merged 14 commits into from
Oct 17, 2023

Conversation

letonghan
Copy link
Contributor

Type of Change

feature

Description

Add NER plugin to neural chat, including plugin codes, configurations and Readme file.

How has this PR been tested?

Local test.

Dependency Change?

No.

Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
letonghan and others added 5 commits October 13, 2023 13:45
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
@VincyZhang
Copy link
Contributor

FAIL: test_get_default_conv_template_v1 (main.TestNeuralChatModel)

Traceback (most recent call last):
File "/intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/tests/api/test_model.py", line 91, in test_get_default_conv_template_v1
self.assertEqual(text, str(result))
AssertionError: "Conv[27 chars]7b-v1.1', system_template='<|im_start|>system[543 chars] 0])" != "Conv[27 chars]7b-v1-1', system_template='<|im_start|>system[543 chars] 0])"
Diff is 1327 characters long. Set self.maxDiff to None to see it.

@letonghan
Copy link
Contributor Author

FAIL: test_get_default_conv_template_v1 (main.TestNeuralChatModel)

Traceback (most recent call last): File "/intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/tests/api/test_model.py", line 91, in test_get_default_conv_template_v1 self.assertEqual(text, str(result)) AssertionError: "Conv[27 chars]7b-v1.1', system_template='<|im_start|>system[543 chars] 0])" != "Conv[27 chars]7b-v1-1', system_template='<|im_start|>system[543 chars] 0])" Diff is 1327 characters long. Set self.maxDiff to None to see it.

Yuxiang is fixing this UT bug.

letonghan and others added 3 commits October 16, 2023 14:58
Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: Letong Han <106566639+letonghan@users.noreply.github.com>
@hshen14 hshen14 merged commit aa5d8af into main Oct 17, 2023
@hshen14 hshen14 deleted the letong/ner_plugin branch October 17, 2023 22:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants