bert_classification | Using bert pre-trained Chinese model
kandi X-RAY | bert_classification Summary
kandi X-RAY | bert_classification Summary
Using bert pre-trained Chinese model for text classification data set Chinese sentiment analysis corpus chnsenticorp
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bert_classification
bert_classification Key Features
bert_classification Examples and Code Snippets
Community Discussions
Trending Discussions on bert_classification
QUESTION
For each instance, I have the text and tabular data. I was wondering if there is any way I can use Bert_classification and combine the result to classify the whole dataset without overfitting. Is there any way to make two different classifications for text and tabular data and combine them together?
...ANSWER
Answered 2020-Apr-22 at 09:12BERT can return a vector, so-called [CLS]
vector that can be used as an input to any further model. So, the answer is yes: you can process your text with BERT and get the single-vector representation, get whatever representation/features you do for your tabular data, concatenate them and train a classifier on top of them.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bert_classification
You can use bert_classification like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page