Giter VIP home page Giter VIP logo

ml2021's Introduction

Machine Learning 2021

Machine Learning (NTU EE 5184, Spring 2021)

Instructor: Hung-yi Lee

Course Website : (https://speech.ee.ntu.edu.tw/~hylee/ml/2021-spring.html)


Homeworks

# Homework Public score Private Score Score Ranking*
1 Regression 0.87985 0.91099 9 Top 35% (709/2032)
2 Classification 0.76324 0.76319 10.5 Top 5% (59/1522)
3 CNN 0.83094 0.82546 10.5 Top 7% (87/1404)
4 Self-Attention 0.96857 0.96888 10.5 Top 7% (81/1170)
5 Transformer 33.53 32.27 10.5 Top 1% (11/1110)
6 GAN (0.688, 7722.47) NA 10.5 Top 41% (405/1118)
7 BERT 0.85926 0.85157 10.5 Top 4% (39/1263)
8 Anomaly Detection 0.90118 0.89286 10.5 Top 9% (104/1193)
9 Explainable AI NA NA 9.7 NA
10 Attack 0.010 0.010 10.5 Top 14% (154/1162)
11 Adaptation 0.78806 0.78744 10 Top 26% (268/1061)
12 RL 287 NA 10.5 Top 2% (10/766)
13 Compression 0.75686 0.75493 9.5 Top 19% (109/590)
14 Life-Long Learning NA NA 9.2 NA
15 Meta Learning NA NA 10 NA

*Ranking is based on private leaderboard


Viewing Jupyter notebook

Sometimes the error message "Sorry, something went wrong. Reload?" appears when viewing *.ipynb on a GitHub.

We recommend using nbviewer to view the *.ipynb files

Simply copy the URL of this repository to https://nbviewer.jupyter.org/

Download Google Drive files with WGET

Example of a Google Drive download link (HW3 data): https://drive.google.com/file/d/1awF7pZ9Dz7X1jn1_QAiKN-_v56veCEKy/view

The url has the following format https://drive.google.com/file/d/[ID]/view

Copy the ID and run the script wgetgdrive.sh as follows

chmod a+x ./wgetgdrive.sh
./wgetgdrive.sh [ID] [file_name]

For example, to download the data of HW3 and name it as food-11.zip, simply run the following

chmod a+x ./wgetgdrive.sh
./wgetgdrive.sh 1awF7pZ9Dz7X1jn1_QAiKN-_v56veCEKy food-11.zip

Achievement

I finish the 15 assignments with all scores above 9 pts and win a T-shirt as a prize. Only the top 2% (17/1280) students own such an achievement.

shirt

ml2021's People

Contributors

pai4451 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  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  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  avatar

ml2021's Issues

Hw5

Hi,
Thank you for providing the back translation code.
What are those assertion errors mentioned in your HW5 code?

Regards
Utkarsh

HW7 Out of memory

When i run the HW7 TA example code, my cpu ram keep increasing until out of my 64G ram.I think this problem is coming from the training process.
train_loss += output.loss # store the complete compution graph leading to out of memory
train_loss += output.loss.detach() or .item() if i modify original code to this, problem solved.

So, my question is, didnt you come across this problem? If not, why this happened to me, but TA and your code works well.
Just assume TAs example code should not be wrong, so afraid of myself may ignore something important.
Really hope you can help me, thanks in advance.

Runtime Error in the Training Cell of hw7/hw7_macbert4.ipynb

Hi,
Thank you for the hw7/hw7_macbert4.ipynb code. When I run it it gives error pointing to this line in Training cell "dev_acc += evaluate(data, output, doc_stride, dev_paragraphs[dev_questions[i]['paragraph_id']],
dev_paragraphs_tokenized[dev_questions[i]['paragraph_id']].tokens) == dev_questions[i]["answer_text"]"

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking arugment for argument mask in method wrapper_masked_select)

Please give some suggestion on how it can be solved.

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.