BVR's Avatar DelTA Lab Logo IIT Kanpur Logo University of Bath Logo

About Lab Eval
conversational ai: speech processing and synthesis

A candidate’s competence in practical programming skills on the subject shall be evaluated on the given date. The procedure is simple,

Remember:

  1. All exercise(s) shall be solved in (Colab) python notebook(s), committed to Github using @thapar.edu account.
  2. Only a Github Repo link and commit id shall be submit using the Google Form. Any attachments are not allowed.

Lab Eval Registration

Register for Lab Eval using your Name, Email (@thapar.edu), Roll No., Group and Viva-voce time preference.

Procedure

Practice using Colab with Github, as follows, so as to relieve yourself of the burden during the event.

Setup a Git Repo

  1. Login to Github, using @thapar.edu account.
  2. Create a new repo named <ROLLNO>-SESS_LE1, e.g. 102938478-SESS_LE1; so that the link https://github.com/<USER>/<ROLLNO>-SESS_LE1 is a valid Github Repo. The repo may be private to avoid
  3. Grant read access to your instructor(s), namely bv.raghav@thapar.edu.

Init your notebook

  1. Open this colab.
  2. Login using @thapar.edu account.
  3. Rename the file as <ROLLNO>-<NAME>.ipynb, and remove any whitespace within e.g. 102938478-BvRaghav.ipynb
  4. Commit it to the root folder of your repository, using “Save a copy in GitHub.” [Read more…]​
    • The app will ask for authorisation.
    • Remember to check the “Include a link to Colab” option while saving.
    • PS: The authorisation may be revoked anytime after the eval.
  5. The last step should automatically redirect to the latest version of this notebook, henceforth referred to as NB, on your GitHub Repo. Click on badge “Open in Colab.”
  6. Edit your response in NB.
  7. To commit again, “Save a copy in GitHub” from within NB.

Problem/Solution

On the day of eval, the candidate will be assigned a question (e.g. the sample question further in the document).

  1. Copy-paste the question verbatim into the ## Question text block of the NB. PS: Keep the heading intact.
  2. Write the code.
  3. Commit using “Save a copy in GitHub” from within NB.
  4. Submit your response as your Github Link and Git Commit into this Response Form.

Sample Lab Eval Question

Given the dimensionality d of inputs, a sequence H of channel size for each hidden layer, and number of classes C, define a function to

  • Take as argument a vector of raw inputs x;
  • Define a neural network classifier with d input channels, len(H) hidden layers, each subsequent layer bearing [h1,h2,...] channels finally resulting in C logits corresponding to each class;
  • Activate each intermediate layer with \(\tanh\) activation; and
  • Return the logits.

The function shall be tested for consistency, correctness and efficiency as applicable.

In all cases the input will be in batches, where batch-size is controlled by the end-user.

Use PyTorch/Tensorflow for implementation. Use of internet resources is dicouraged in the interest of time, though not prohibited.

Updated 2024-09-07 Sat 14:28

Validate