本文总结了Flutter Explained关于fvm的视频: https://youtu.be/R6vKde1vIGQ
background
flutter有很多channel: stable/beta/dev/master, 而目前有些功能只在某个channel上可用, 比如Linux support目前只在dev channel支持.
我日常用的是beta channel, 但是想写Linux程序时每次flutter channel dev …
本文总结了Flutter Explained关于fvm的视频: https://youtu.be/R6vKde1vIGQ
flutter有很多channel: stable/beta/dev/master, 而目前有些功能只在某个channel上可用, 比如Linux support目前只在dev channel支持.
我日常用的是beta channel, 但是想写Linux程序时每次flutter channel dev …

1990s-2010s: Statistical MT (SMT)

using Bayes rule: P(y|x) = P(x|y)*P(y) / P(x)

⇒ The language model we already learnt in prev lectures ⇒ To get the …
ex: grad of loss at position 4 w.r.t.hidden state at postion 1

with chain rule, the grad is smaller as it backprops

⇒


If the largest eigenvalue of Wh is less than 1, the gradient J_i/h_j will exponentially shrink.
Language Modeling: task of predicting what words come next.
i.e.compute the conditional probability distribution

a language model can also be viewed as a system to give probability to a piece of text.

n-gram Language Model: pre-deep learning solution for language modelling.
idea: Collect …
Phrase structure: organize words into nested constituents.
context-free grammars (CFGs)



⇒ forms a tree structure:

This week: neural net fundamentals
training data:

(linear classifier — hyperplane):

ith row of the param W: weight vector for class i to compute logits:

prediction = softmax of f_y:

goal: for (x, y), maximize p(y|x) ⇒ loss for (x, y) = -log p(y …


⇒



pitfall in tetraining word vectors: if some word is not in training data, but other synonyms are present ⇒ only the synonyms word vectors are moved

takeaway:

backprop:

⇒ Go backwards along edges, pass along …
parameters θ : matrix U and V (each word vec is a row):

and the predictions don't take into account the distance between center word c and outside word o. ⇒ all word vecs predict high for the stopwords.
min loss function: J(θ)
direction …

denotational semantics
wordnet (nltk): word meanings, synonym, relationships, hierarchical
pb: missing nuance, missing new meanings, required human labor, can't compute word similarity
Traditional NLP (untill 2012):

This week: seq2seq.
e.g. Machine translation
encoder network: many-to-one RNN
decoder network: one-to-many RNN

This architecture also works for image captioning: use ConvNet as encoder

Difference between seq2seq and generating new text with language model: seq2seq don't randomly choose a translation, but …