[fix] Fix summarizer bug and QA typo issue

This commit is contained in:
theblackcat102
2023-01-14 05:49:22 +00:00
parent 3cfb501283
commit 3966024871
9 changed files with 267 additions and 173 deletions
@@ -0,0 +1,9 @@
from argparse import Namespace
from utils import get_tokenizer
def test_tokenizer():
get_tokenizer(Namespace(model_name="Salesforce/codegen-2B-multi", cache_dir=".cache"))
get_tokenizer(Namespace(model_name="facebook/galactica-1.3b", cache_dir=".cache"))
get_tokenizer(Namespace(model_name="", cache_dir=".cache"))