Giter VIP home page Giter VIP logo

Comments (5)

yangheng95 avatar yangheng95 commented on May 21, 2024

from pyabsa.

yangheng95 avatar yangheng95 commented on May 21, 2024

Hi,

Thank you for the great repository.
For me especially the English models are interesting. Unfortunately your examples examples/aspect_term_extraction/extract_aspects.py and extract_aspects_multilingual.py do not work for me.

Expected behavior

The sample scripts extract_aspects.py and extract_aspects_multilingual.py can be executed.

Actual behavior

The get_checkpoint function doesn't find any model for English.

[...]
model_path = APCTrainedModelManager.get_checkpoint(checkpoint_name='English')
[...]
## Checkpoint:English is not found.

The reason is that there is no English language model in the checkpoints.json, that is being downloaded.

{ "0.8.8.0+":{
    "APC":{
        "chinese":{
        "id": "https://drive.google.com/file/d/12UPwGEOWcBToEmpiKAyeKTmXZ-38LDuo/view?usp=sharing",
        "description": "",
        "comment": ""
        }
    },
    "ATEPC":{
      "chinese":{
        "id": "https://drive.google.com/file/d/1LDCoYEhZLWt0pKsKflC3pOXUV3JMDT64/view?usp=sharing",
        "description": "",
        "comment": ""
      }
    }
}

I tried using download_pretrained_model to download an old model, but this one doesn't seem to be compatible anymore:

download_pretrained_model(task  ='APC', language = 'english', archive_path = '1AE2DC72vigxdAlYKjiV4_IfWsPUH7aX_')

It would be great if you could provide an English model for the new version of your package or explain how to run the examples.

Thank you 🙏
Ingo

I just upload an English ATEPC checkpoint, you can try it.

from pyabsa.

yangheng95 avatar yangheng95 commented on May 21, 2024

And we call for sharing of the trained checkpoints due to the limitied computational resources. If somebody can help us, please see here.

from pyabsa.

ik4Rus avatar ik4Rus commented on May 21, 2024

Hi,
thanks for the message.
I might assist with training of new models. It would be great if you could email me ([email protected]). Then we could exchange which compute type is most suitable and what should be in the Dockerfile.
Best
Ingo

from pyabsa.

yangheng95 avatar yangheng95 commented on May 21, 2024

Hi,
thanks for the message.
I might assist with training of new models. It would be great if you could email me ([email protected]). Then we could exchange which compute type is most suitable and what should be in the Dockerfile.
Best
Ingo

That is great! I will email you.

from pyabsa.

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.