Git Product home page Git Product logo

text_similarity's People

Contributors

thunderboom avatar zydotwei avatar

Stargazers

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

Watchers

 avatar  avatar

text_similarity's Issues

bert.py中的mutiple sample loss貌似有问题?

原:
if labels is not None:
if i == 0:
loss = compute_loss(out, labels, loss_method=self.loss_method) / self.multi_drop
else:
loss += loss / self.multi_drop
改成这样?
if labels is not None:
loss += compute_loss(out, labels, loss_method=self.loss_method) / self.multi_drop

full_train模式下的代码是否有问题?

这里的train加上dev数据集不会使得 训练的时候看到dev的信息,导致准确度有问题吗?
elif pattern == 'full_train':
train_examples.extend(dev_examples)
model_example, _, _ = train_dev_test(
config=config,
model=model,
tokenizer=tokenizer,
train_data=train_examples,
train_enhancement=train_enhancement,
dev_data=dev_examples,
test_examples=None)
return model_example, None, None

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.