This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wer | log_prob | tokens_num | char_num | total_length | |
---|---|---|---|---|---|
13.333333333333334 | -2.901705503463745 | 22 | 68 | 640 | |
27.272727272727273 | -9.383849143981934 | 34 | 78 | 576 | |
0.0 | -5.348936080932617 | 39 | 110 | 576 | |
18.75 | -7.895171165466309 | 37 | 79 | 640 | |
17.647058823529413 | -6.874451637268066 | 42 | 95 | 704 | |
25.0 | -10.254037857055664 | 38 | 81 | 640 | |
12.5 | -6.627464294433594 | 34 | 83 | 704 | |
14.285714285714286 | -6.779921054840088 | 31 | 84 | 704 | |
12.5 | -6.765547275543213 | 32 | 83 | 704 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import base64 | |
HOST = '127.0.0.1' | |
PORT = '8001' | |
CREDENTIALS = ('admin', 'admin') # login, password | |
class HttpClient: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loaded () { | |
myScroll = new IScroll('#wrapper', { | |
scrollX: true, scrollY: false, mouseWheel: true, wheelHorizontal: true, | |
//snap: 'li', | |
click: false, | |
scrollbars: true, | |
hideScrollbar:false, | |
}); | |
var infinitescrollElement = $('.all2cart-products_grid'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/* | |
Vanilla js here | |
*/ | |
var urlParams; | |
(window.onpopstate = function () { | |
var match, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--- app.js | |
function uuid() { | |
var d = new Date().getTime(); | |
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = (d + Math.random()*16)%16 | 0; | |
d = Math.floor(d/16); | |
return (c=='x' ? r : (r&0x7|0x8)).toString(16); | |
}); | |
return uuid; |