Git Product home page Git Product logo

bertrl's People

Contributors

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

bertrl's Issues

Missing File: "cached_train_BertTokenizerFast_128_mrpc.lock"

Hi Hanwen,

I'm very interested in your work and want to know more details using your code implementation.

However, when I run the code by myself, one problem occurs:

Traceback (most recent call last):
File "run_bertrl.py", line 320, in
main()
File "run_bertrl.py", line 135, in main
GlueDataset(data_args, tokenizer=tokenizer, cache_dir=model_args.cache_dir) if training_args.do_train else None
File "/home/zhixiang/miniconda3/envs/py36/lib/python3.6/site-packages/transformers/data/datasets/glue.py", line 121, in init
with FileLock(lock_path):
File "/home/zhixiang/miniconda3/envs/py36/lib/python3.6/site-packages/filelock.py", line 323, in enter
self.acquire()
File "/home/zhixiang/miniconda3/envs/py36/lib/python3.6/site-packages/filelock.py", line 271, in acquire
self._acquire()
File "/home/zhixiang/miniconda3/envs/py36/lib/python3.6/site-packages/filelock.py", line 384, in _acquire
fd = os.open(self._lock_file, open_mode)
FileNotFoundError: [Errno 2] No such file or directory: 'bertrl_data/fb237_hop3_full_neg10_max_inductive/cached_train_BertTokenizerFast_128_mrpc.lock'

This may due to the transformers version. Since version 3.3.1 is not available, I tried the latest version 4.18.0.
Could you please give me some suggestions to fix it?

请问BERT的输入是什么?

你好,

  1. 请问这篇文章被哪个期刊或会议录用了?

  2. 读了这篇论文,不是很理解BERT的输入是什么?

3.你的论文中 unseen relation 指的是什么?不是很理解。

希望您有空的时候,帮我解决上述疑问,谢谢。

Miao

what is the use of train.tsv?

why the code doesn't use the train.tsv in bertrl_data as train dataset but use Glue dataset? I not see any code use train.tsv.

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.