profile
viewpoint
Han Xiao hanxiao @jina-ai Berlin, Germany https://hanxiao.io Founder @jina-ai | Creator of Fashion-MNIST & bert-as-service

hanxiao/bert-as-service 8548

Mapping a variable-length sentence to a fixed-length vector using BERT model

gnes-ai/gnes 1159

GNES is Generic Neural Elastic Search, a cloud-native semantic search system based on deep neural network.

hanxiao/daanet 144

DAANet: Dual Ask-Answer Network for Machine Reading Comprehension

gnes-ai/hub 32

GNES Hub ship AI/ML models as Docker containers and use Docker containers as plugins.

hanxiao/demo-gnes-flow 11

Demo of building a flower image search using GNES Flow API

hanxiao/benchmark 8

Benchmarking GNES on its network latency

hanxiao/bert 2

TensorFlow code and pre-trained models for BERT

hanxiao/activitywatch 1

Log what you do on your computer. Simple (yet powerful), extensible, no third parties.

hanxiao/all-contributors-cli 1

Tool to help automate adding contributor acknowledgements according to the all-contributors specification ✨

issue commentjina-ai/jina

get remote pod documentation updated

Good move! This part of the documentation is really out-of-date.

bwanglzu

comment created time in an hour

pull request commentjina-ai/jina

refactor(types): move add_chunk add_match to Set

Right now, there are two functions for adding a chunk/match to the document. I'd suggest removing add().

There should be one-- and preferably only one --obvious way to do it. The Zen of Python

with Document() as d:
    c1 = d.chunks.append()
    c1.id = f'1:0>16'
    c2 = d.chunks.add()
    c2.id = f'2:0>16'
hanxiao

comment created time in an hour

pull request commentjina-ai/jina

test: refactor index remote

Codecov Report

Merging #1346 (56a0550) into master (f8db230) will increase coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1346      +/-   ##
==========================================
+ Coverage   83.27%   83.28%   +0.01%     
==========================================
  Files         103      103              
  Lines        6744     6744              
==========================================
+ Hits         5616     5617       +1     
+ Misses       1128     1127       -1     
Impacted Files Coverage Δ
jina/peapods/gateway.py 94.32% <0.00%> (-0.71%) :arrow_down:
jina/peapods/pea.py 92.44% <0.00%> (+0.71%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f8db230...390f062. Read the comment docs.

bwanglzu

comment created time in 6 hours

push eventjina-ai/jina

Jina Dev Bot

commit sha d1f152ac4880262b2984a0b4fcd5d6d8135d4d47

chore(contributor): update contributors

view details

Jina Dev Bot

commit sha 28016639e8df95b49ea2ef4047f8c1c13e929509

chore(docs): update TOC

view details

push time in 6 hours

issue openedjina-ai/jina

get remote pod documentation updated

--allow-spawn has been removed in #1276 , while it still exists in the documentation, run-remote-pod-jina.md image

created time in 6 hours

push eventjina-ai/jina

bwanglzu

commit sha 390f0626667031fc54cd2f9e914e56bf619c8ef9

test: remove allow spawn from remote test

view details

push time in 6 hours

PR opened jina-ai/jina

test: refactor index remote
  1. Removed index remote 2 from tests, since it testing the delete args --allow-spawn.
  2. Refactor index remote test.
  3. Remove JinaTestCase from __init__, we're not using unittest anymore.
+46 -240

0 comment

3 changed files

pr created time in 6 hours

create barnchjina-ai/jina

branch : test-refactor-index-remote

created branch time in 6 hours

pull request commentjina-ai/jina

Test adding convert driver tests

@bio-howard you can continue with the PR now, please replace jina_pb2. DocumentProto with Document, import from jina.type

bio-howard

comment created time in 7 hours

pull request commentjina-ai/jina

Update README.kr.md

hi @rabbits99 would you like to continue with this PR? it has been 2 weeks. Please check commit guidelines #553 to update your commit message, and sign the CLA.

rabbits99

comment created time in 7 hours

issue closedjina-ai/jina-hub

Make ImageReader(Crafter) accept numpy images as input

To me as an application developer, it would be useful to load ndarray images into the flow and apply image crafters on these images.

closed time in 7 hours

florian-hoenicke

issue commentjina-ai/jina-hub

Make ImageReader(Crafter) accept numpy images as input

I will close this issue, we discussed in the PR that this functionality should not be part of ImageReader. The Flow already accepts inputing np arrays and working with them

florian-hoenicke

comment created time in 7 hours

pull request commentjina-ai/jina-hub

feat: add Hamming distance evaluator

@JoanFM @theUnkownName shall we proceed with this PR? looks good now

Sure

smy0428

comment created time in 7 hours

Pull request review commentjina-ai/jina-hub

feat: add Hamming distance evaluator

+from jina.executors.evaluators.text import BaseTextEvaluator++class HammingDistanceEvaluator(BaseTextEvaluator):+    """A:class:`HammingDistanceEvaluator` Gives the Hamming distance between result and groundtruth string..+    """++    def __init__(self, *args, **kwargs):+        super().__init__(*args, **kwargs)

i don't see the point of pouting the constructor here.

smy0428

comment created time in 7 hours

pull request commentjina-ai/jina-hub

feat: add Hamming distance evaluator

@JoanFM @theUnkownName shall we proceed with this PR? looks good now

smy0428

comment created time in 7 hours

Pull request review commentjina-ai/jina-hub

fix: hide import vse text

 description: | url: https://jina.ai vendor: Jina AI Limited documentation: https://github.com/jina-ai/jina-hub-version: 0.0.1+version: 0.0.2

Yes it was just a test I will change in there.

JoanFM

comment created time in 7 hours

Pull request review commentjina-ai/jina

fix: handle empty shards

 def arg_wrapper(*args, **kwargs):             if b_size is None:                 return func(*args, **kwargs) +            # catch empty shards+            if data is None:

I think I was wrong it may be actually a bug at batching level. I am howevrr not sure we can assume it returns an np.ndarray. batching decorator has too many things, if you find a pattern to abstract in another function it can also be good

cristianmtr

comment created time in 7 hours

Pull request review commentjina-ai/jina-hub

fix: hide import vse text

 description: | url: https://jina.ai vendor: Jina AI Limited documentation: https://github.com/jina-ai/jina-hub-version: 0.0.1+version: 0.0.2

the previous image version is 0.0.3

JoanFM

comment created time in 7 hours

issue openedhanxiao/bert-as-service

keep [MASK] after the tokenization in a sentence

Prerequisites

Please fill in by replacing [ ] with [x].

It seems that [MASK] in the sentence is tokenized to '[', 'mask', ']'.

Can I retain '[MASK]' in the sentence?

created time in 8 hours

delete branch jina-ai/jina-hub

delete branch : chore-sptagindexer-0.0.8-core-0-8-1

delete time in 12 hours

PR closed jina-ai/jina-hub

chore: testing/building SptagIndexer (0.0.8) on new jina core: 0.8.1 component/indexer size/XS type/manifest

Due to the release of jina core v0.8.1, this draft PR is created in order to trigger an automatic build & push of the module

+1 -0

1 comment

1 changed file

jina-bot

pr closed time in 12 hours

pull request commentjina-ai/jina-hub

chore: testing/building SptagIndexer (0.0.8) on new jina core: 0.8.1

Automatic build successful. Image has been built and deployed.

jina-bot

comment created time in 12 hours

delete branch jina-ai/jina-hub

delete branch : chore-f1scoreevaluator-0.0.2-core-0-8-1

delete time in 12 hours

pull request commentjina-ai/jina-hub

chore: testing/building f1ScoreEvaluator (0.0.2) on new jina core: 0.8.1

Automatic build successful. Image has been built and deployed.

jina-bot

comment created time in 12 hours

PR closed jina-ai/jina-hub

chore: testing/building f1ScoreEvaluator (0.0.2) on new jina core: 0.8.1 size/XS type/manifest

Due to the release of jina core v0.8.1, this draft PR is created in order to trigger an automatic build & push of the module

+1 -0

1 comment

1 changed file

jina-bot

pr closed time in 12 hours

delete branch jina-ai/jina-hub

delete branch : chore-reciprocalrankevaluator-0.0.2-core-0-8-1

delete time in 12 hours

PR closed jina-ai/jina-hub

chore: testing/building ReciprocalRankEvaluator (0.0.2) on new jina core: 0.8.1 size/XS type/manifest

Due to the release of jina core v0.8.1, this draft PR is created in order to trigger an automatic build & push of the module

+1 -0

1 comment

1 changed file

jina-bot

pr closed time in 12 hours

pull request commentjina-ai/jina-hub

chore: testing/building ReciprocalRankEvaluator (0.0.2) on new jina core: 0.8.1

Automatic build successful. Image has been built and deployed.

jina-bot

comment created time in 12 hours

delete branch jina-ai/jina-hub

delete branch : chore-averageprecision-0.0.2-core-0-8-1

delete time in 12 hours

PR closed jina-ai/jina-hub

chore: testing/building AveragePrecision (0.0.2) on new jina core: 0.8.1 size/XS type/manifest

Due to the release of jina core v0.8.1, this draft PR is created in order to trigger an automatic build & push of the module

+1 -0

1 comment

1 changed file

jina-bot

pr closed time in 12 hours

more