going beyond open & GPT 3, planning to look at Google’s TransformerXL, OpenAI’s GPT-2, XLNet, ERNIE2.0, RoBERTa, and Bert.
Started looking at Bert - Bidirectional Encoder Representations from Transformers....
Initially tried installing Bert using facebook large mmli model..
found bert as a service.. if you want to get started quickly...
Install bert server and client using the below commands
pip3 install bert-serving-client
pip3 install bert-serving-server
The code executed is :
from bert_serving.client import BertClient
bert_client = BertClient(ip='localhost')
bert_client.encode(['hello world','good day'])
Top comments (0)