Giter Club home page Giter Club logo

Comments (3)

wangxinyu0922 avatar wangxinyu0922 commented on July 18, 2024

Hi, you can download the dataset at https://1drv.ms/u/s!Am53YNAPSsodg9ci-JiKDgaT_XCk5Q?e=ZoI0PH

Then you download the model from my shared link in README and create a file to be parsed with the format in this issue #47

You may follow the README for the parse command https://github.com/Alibaba-NLP/ACE#parse-files

from ace.

lizhou21 avatar lizhou21 commented on July 18, 2024

oh, I failed, I think I think there must be something wrong with my understanding of the code.
Firstly I download the pre-trained model DM_parsing_model.zip, then unzip it, and put the directory in the resources/taggers/.
Then I download the datasets that you just shared with me.

I try to run the code:
python train.py --config config/dm_parsing_model.yaml --parse --target_dir ACE/DMNew_modified/train.en.dm_modified.conllu --keep_order
it still reminds me: No such file or directory: '/home/flt669/.flair/datasets/enhanced_ud/DM'

There must be something wrong with my understanding of the code.
If convenient, can I get a further consultation from you? I only want to apply it as a DM parser tool. I also try to connect you in email.

from ace.

wangxinyu0922 avatar wangxinyu0922 commented on July 18, 2024

You can copy your file ACE/DMNew_modified into /home/flt669/.flair/datasets/enhanced_ud/DM. By the way, the target_dir should be the data folder but not the exact file. The code will read the file with train in its name.

from ace.

Related Issues (20)

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.