Giter VIP home page Giter VIP logo

Comments (4)

ej0cl6 avatar ej0cl6 commented on August 25, 2024 1

Hello,

I'am trying to run this repo for evaluating it on my datasets. Could you tell me where to get [saved_models_folder] in two prediction commands at the section "Making Predictions for New Texts". Is it the "TextEE/models" folder? Or somewhere else?

Thanks.

[saved_model_folder] is the saved checkpoint during training. Currently, we do not release any pre-trained models. Therefore, you may choose to train your own model with the command here. After training, [saved_model_folder] should be set as the folder under the output_dir in the config file. An example is here.

from textee.

ej0cl6 avatar ej0cl6 commented on August 25, 2024 1

Btw, I am working in the Kaggle notebook. The command I use the prediction command as below.

!/opt/conda/envs/textee/bin/python3.8 TextEE/predict_pipeline.py --input_file demo_input.txt --ed_model TextEE/models --eae_model TextEE/models --output_file demo_output.json

And I get this error:

Screenshot 2024-07-02 at 16 07 30 Could you show me where it not working?

Thanks for pointing out. We forgot to remove it in our internal test for LLMs. We've fixed it now.

from textee.

hoangthuytruc avatar hoangthuytruc commented on August 25, 2024

Btw, I am working in the Kaggle notebook. The command I use the prediction command as below.

!/opt/conda/envs/textee/bin/python3.8 TextEE/predict_pipeline.py --input_file demo_input.txt --ed_model TextEE/models --eae_model TextEE/models --output_file demo_output.json

And I get this error:

Screenshot 2024-07-02 at 16 07 30

Could you show me where it not working?

from textee.

hoangthuytruc avatar hoangthuytruc commented on August 25, 2024

Hello,
I'am trying to run this repo for evaluating it on my datasets. Could you tell me where to get [saved_models_folder] in two prediction commands at the section "Making Predictions for New Texts". Is it the "TextEE/models" folder? Or somewhere else?
Thanks.

[saved_model_folder] is the saved checkpoint during training. Currently, we do not release any pre-trained models. Therefore, you may choose to train your own model with the command here. After training, [saved_model_folder] should be set as the folder under the output_dir in the config file. An example is here.

I got it. Thank you for your reply.

from textee.

Related Issues (4)

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.