You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this Chinese model
This model runs on python locally, the output is correct, but from spaGO is not.
Similar to #101, but I cannot find the bool parameter for QA, how to turn off output is forced to be a distribution (sum must be 1), whereas with Python, the output is free?
server := bert.NewServer(model)
answers := s.model.Answer(body.Question, body.Passage)
Translated QA:
Context: My name is Clara, I live in Berkeley
Q: what is my name?
A: Clara
Using this Chinese model
This model runs on python locally, the output is correct, but from spaGO is not.
Similar to #101, but I cannot find the bool parameter for QA,
how to turn off
output is forced to be a distribution (sum must be 1), whereas with Python, the output is free
?Translated QA:
Context: My name is Clara, I live in Berkeley
Q: what is my name?
A: Clara
Output is supposed to be
克拉拉
but got
./bert-server server --repo=~/.spago --model=luhua/chinese_pretrain_mrc_roberta_wwm_ext_large --tls-disable
The text was updated successfully, but these errors were encountered: