achimr / mteval Goto Github PK
View Code? Open in Web Editor NEWLibrary to automate machine translation evaluation
Home Page: https://achimr.github.io/mteval/
License: Apache License 2.0
Library to automate machine translation evaluation
Home Page: https://achimr.github.io/mteval/
License: Apache License 2.0
Root cause:
The method to authenticate Github Actions code to Google Cloud is described here (this is code provided by Google). After a checkout of the repository, the authentication methods create temporary JSON files in the repository folders. However, nbdev 2.0 CI code checks out the repository again using the Github actions/checkout@v3 with the default clean=true
option, overwriting the Google Cloud JSON authentication files. Subsequent calls to Google Cloud therefore cannot be authenticated anymore.
The proper way to fix this would be:
fastai/workflows
clean_repo
to fastai/workflows/nbdev-ci/actions.yml
to allow setting the clean
option for actions/checkout@v3
(default: true
).github/workflows/test.yaml
with the option clean_repo=false
set.github/workflows/test.yaml
to use fastai/workflows
again instead of the forkCOMET unit testing has to be run with GPU. Github Actions doesn't provide GPU instances for testing. It is possible to run actions on self-hosted runners, but setting this up is very involved.
The easier workaround is to run unit tests with nbdev_test
on a local Jupyter notebook instance (with GPU support) or on Google Colab (with GPU runtime).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.