adaptnlp icon indicating copy to clipboard operation
adaptnlp copied to clipboard

An easy to use Natural Language Processing library and framework for predicting, training, fine-tuning, and serving up state-of-the-art NLP models.

Results 7 adaptnlp issues
Sort by recently updated
recently updated
newest added

hi i want to classify texts: classifier = EasySequenceClassifier() hub = HFModelHub() hub.search_model_by_task('text-classification') model = hub.search_model_by_name('nlptown/bert-base', user_uploaded=True)[0]; sentence = classifier.tag_text(text=inputs, model_name_or_path=model, mini_batch_size=1) Q1: how force to run it on CPU?...

Training API will use `fastai` under the hood, and we'll make a few functions to build general datasets. ## Tasks and sample datasets to use: - [x] Language Models: *...

enhancement

Following the Chaii Kaggle comp, show_batch needs to handle situations where labels aren't in the batch directly as `labels`

- [x] HuggingFace raw embeddings over Flair - [x] Try and integrate Callbacks for text generation and other classes that aren't using it > Note: Didn't do this for text...

enhancement

I notices when we run any code snippet, it convert the text to vectors or some similar thing. For example in this code snippet ``` from adaptnlp import EasyQuestionAnswering from...

enhancement