Comments (4)
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.
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:
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.
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](https://private-user-images.githubusercontent.com/25169385/344956961-2cc2d6f8-aeb7-4eaf-8e68-5580e762b2c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1Njc1ODgsIm5iZiI6MTcyNDU2NzI4OCwicGF0aCI6Ii8yNTE2OTM4NS8zNDQ5NTY5NjEtMmNjMmQ2ZjgtYWViNy00ZWFmLThlNjgtNTU4MGU3NjJiMmM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA2MjgwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4NGY1NDkzMTcxYjNmMTdhMDI5NWZlYzZiODkzMDgyMmUzY2VkZTBlMGQ4NTJhN2VlYWUzYjgyYTg1MjNhZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QGAN4SpVfozU4du9S0rPTzfv5ASU2idEHFLKXsOSjWY)
Could you show me where it not working?
from textee.
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 theoutput_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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textee.