Git Product home page Git Product logo

finetune-qa's People

Contributors

tshrjn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

finetune-qa's Issues

hardcoded wandb username

Came here from https://github.com/PyTorchLightning/pytorch-lightning, the code won't run as it hardcodes creator's wandb username/entity:

python main.py --gpus 1 --qa_model distilroberta-base --workers 20 --bs 5 --max_epochs 10
[...]
<transformers.tokenization_roberta.RobertaTokenizerFast object at 0x7f3ad04f5ad0>
wandb: Tracking run with wandb version 0.9.2
wandb: Run data is saved locally in wandb/run-20200706_233437-3sbo0kxn
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
wandb: ERROR Launch exception: Permission denied to access nlp/qa/3sbo0kxn
wandb: ERROR To disable wandb syncing set WANDB_MODE=dryrun
wandb: ERROR W&B process (PID 10015) did not respond
wandb: ERROR W&B process failed to launch, see: wandb/debug.log

one needs to edit main.pyand replace: entity='nlp' in:

wandb_logger = WandbLogger(project='qa', entity='nlp', ...)

with entity='YOUR WANDB USERNAME'.

And, of course, if you haven't used wandb yet, you need to create an account first and get the API key.

I, of course, realize that perhaps this is just an example code, so it was never supposed to be runable by others as is... in which case please ignore this issue.

Making predictions

Please add the code that generates the predictions and n_best_predictions file.

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.