Giter Site home page Giter Site logo

duongkstn / albert-vi-as-service Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 3.0 8.77 MB

albert-vi-as-service: A Fork of bert-as-service to deploy albert_vi

License: MIT License

Python 93.11% Dockerfile 0.09% Shell 0.95% JavaScript 2.45% HTML 2.98% CSS 0.42%
albert bert-as-service natural-language-processing vietnamese-language vietnamese-nlp

albert-vi-as-service's People

Contributors

abhishekraok avatar astariul avatar cbockman avatar dmitrykey avatar drndos avatar dslim23 avatar duongkstn avatar dveselov avatar eric-haibin-lin avatar gabrielbianconi avatar georgefeng avatar hanxiao avatar jacobdevlin-google avatar jhangsy avatar jtiger0431 avatar kraglik avatar liam-thunder avatar likejazz avatar lu161513 avatar paperplanet avatar parsaghaffari avatar peterisp avatar razzaghnoori avatar rodgzilla avatar sakuranew avatar shushanxingzhe avatar stefan-it avatar vsoch avatar xhj-fs avatar yangyaofei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

albert-vi-as-service's Issues

Only one vector was return

Dear author,

Only one vector was return if I use encode instead of multiple vector like other BERT.

For examples.

'''
from bert_serving.client import BertClient

bert_client = BertClient(port=5555, port_out=5556)

text = ["vô cùng đẹp trai", "đẹp trai thi mới có nhiều người yêu"]
x = bert_client.encode(text, show_tokens=False)

print(x.shape)
print(x)

'''

will return

'''
(2, 768)
[[ 0.2791622 0.38170967 -0.4323979 ... 0.5590598 -0.30385852
-0.21244307]
[ 0.2540159 0.1214181 -0.31108022 ... -0.07018693 -0.02891144
0.41919646]]

'''

instead of something like "23768" matrix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.