Code Monkey home page Code Monkey logo

Comments (3)

DreamingFuture avatar DreamingFuture commented on July 3, 2024 1

from docee.

Spico197 avatar Spico197 commented on July 3, 2024

Hi,抱歉刚刚看到消息。
您是对的。我检查了一下代码,只有这个mode下会出现语言值缺失的问题。如下所示,在276行下面添加self.doc_lang = "zh"即可。

DocEE/dee/tasks/dee_task.py

Lines 266 to 276 in 9f0538a

elif self.run_mode == "dueefin_wo_tgg":
self.train_file_name = "dueefin_train_wo_tgg.json"
self.dev_file_name = "dueefin_dev_wo_tgg.json"
self.test_file_name = "dueefin_dev_wo_tgg.json"
self.inference_file_name = "dueefin_submit_wo_tgg.json"
self.doc_lang = "zh"
elif self.run_mode == "dueefin_w_tgg":
self.train_file_name = "dueefin_train_w_tgg.json"
self.dev_file_name = "dueefin_dev_w_tgg.json"
self.test_file_name = "dueefin_dev_w_tgg.json"
self.inference_file_name = "dueefin_submit_w_tgg.json"

from docee.

Spico197 avatar Spico197 commented on July 3, 2024

已修正,非常感谢您~

from docee.

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.