source bin/activate
en daarna pas Python opstarten.
Ja, hij begint nu een enorme hoeveelheid nullen en enen uit te spuwen. Misschien niet zo'n goed gekozen printcommando. Maar hij lijkt nu verder te komen. Ineens print hij dit uit en stopt daarna:
.
.
1
.
1
0
1
Average loss at step 100000 : 4.67785296774
Nearest to a: the, any, another, naaman, tamarin, perth, agouti, thaler,
Nearest to nine: eight, seven, six, five, four, zero, microcebus, callithrix,
Nearest to be: been, have, refer, is, were, are, by, was,
Nearest to however: but, that, and, abitibi, although, reuptake, cegep, which,
Nearest to by: was, be, menthol, abitibi, with, were, preclear, after,
Nearest to three: five, four, two, six, seven, eight, tamarin, nine,
Nearest to d: b, microsite, thracians, pmid, daddy, m, gland, stereochemistry,
Nearest to which: that, this, what, thaler, it, also, but, and,
Nearest to when: if, where, after, during, although, while, agouti, wct,
Nearest to had: has, have, was, were, insurgency, microsite, altenberg, abitibi,
Nearest to some: many, these, several, all, the, other, their, those,
Nearest to but: however, and, trinomial, cegep, agouti, abitibi, although, while,
Nearest to UNK: dasyprocta, cegep, tamarin, abitibi, callithrix, akita, agouti, thaler,
Nearest to also: never, now, which, often, thaler, still, sometimes, who,
Nearest to after: before, when, during, in, from, cegep, cebus, at,
Nearest to into: through, with, from, back, during, roshan, to, under,
>>>
Hmm lijkt wel ergens op maar toch had ik nog iets meer verwacht. Wel gelukkig redelijk snel. Zelfs zonder gpu ondersteuning. Eens even de code doorspitten. Aha, hij heeft het verwachte resultaat in een bestandje geplaatst. Mijn eerste Tensorflow en eerste word2vec programma is een feit! Ok, nog geen eigen code maar toch 'count your blessings' ... Snik ... ontroerend ...
Geen opmerkingen:
Een reactie posten