Giter Club home page Giter Club logo

demo-chinese-text-binary-classification-with-bert's People

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-chinese-text-binary-classification-with-bert's Issues

UnparsedFlagAccessError: Trying to access flag --preserve_unused_tokens before flags were parsed.

INFO:tensorflow:Saver not created because there are no variables in the graph to restore
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
INFO:tensorflow:Writing example 0 of 1799
INFO:tensorflow:Writing example 0 of 1799

UnparsedFlagAccessError Traceback (most recent call last)
in ()
----> 1 result, estimator = run_on_dfs(train, test, **myparam)

7 frames
/usr/local/lib/python3.6/dist-packages/absl/flags/_flagvalues.py in getattr(self, name)
489 # get too much noise.
490 logging.error(error_message)
--> 491 raise _exceptions.UnparsedFlagAccessError(error_message)
492
493 def setattr(self, name, value):

UnparsedFlagAccessError: Trying to access flag --preserve_unused_tokens before flags were parsed.

请问为什么会出现这个问题啊

请教一下

运行最后一步result, estimator的时候出现URLError: <urlopen error [Errno 101] Network is unreachable>,请问怎么解决呀

自定义字典

你好,请问如何载入自定义的字典呢?我仅仅想将字符串转换为数字,有自己的字典,但是应该如何载入呢

当我用hub.Moudle去加载本地文件的时候报错,请教一下

E:\Anaconda\lib\site-packages\tensorflow_hub\registry.py in call(self, args, **kwargs)
43 raise RuntimeError(
44 "Missing implementation that supports: %s(
%r, **%r)" % (
---> 45 self._name, args, kwargs))
46
47

RuntimeError: Missing implementation that supports: loader(*('./chinese_L-12_H-768_A-12',), **{})

我去官网上去看了 说是支持加载本地模型,去git上看源码也是发现可以的,所以报这个错不知道怎么改?上不了外网,所以没有去试url,谢谢

想請教bert Chinese 如何設定GPU

謝謝閣下寶貴的分享, 但google colab有兩個問題,

  1. Ram用量不足, 我有近1百萬條records, bert-chinese 行了1分鍾, Ram用量已盡。
    唯今之計, 我花錢在paperspace gradient上運行, 暫未有結果。

  2. 在閣下的 demo-chinese-text-binary-classification-with-bert 內, 如何設定GPU使用? 可否賜教
    謝謝

在小规模数据集上过拟合

你好,我在一个小规模上数据集上使用bert二分类,出现了严重的过拟合,有没有什么好的解决办法

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.