profile
viewpoint
Yingbo (Max) Wang maxwyb University of California, Los Angeles Los Angeles, CA

startedbeeftornado/homebrew-rmtree

started time in 5 days

push eventwenlongx/CS249

Max Wang on GCP

commit sha 415c0d3f1b5a24b63bfcfd5c192f55d8c8977fd8

Add ROC curve for BERT logistic regression.

view details

push time in 17 days

push eventwenlongx/CS249

Max Wang on GCP

commit sha d074b322a41f7831d38a1fddfceba22687de7f7e

minort changes

view details

Max Wang on GCP

commit sha 51da1d418c11cc90158eb07dc62caaccf4bfeb3d

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang on GCP

commit sha c2c4e01722b4d7ebff1e9ef067f2e834331f1a44

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang on GCP

commit sha 4ddb7399f28dab7618580c1d1aa9c7f288bcc3ab

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang on GCP

commit sha 0fb84f7945bbc345c8d52451450a87570fb40da1

Add ROC curve of CNN1d with Glove.

view details

Max Wang on GCP

commit sha 54318a56c61b8bdd45c612ee1279b4638e8cb571

Fix ROC generation code with Glove.

view details

Max Wang on GCP

commit sha 189a92a20a27c982da0c9bd29811d7ba72804687

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

push time in 17 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha e7c818382dcf3df3544309eb51001f38d2634e29

Fix ROC code and generate ROC for BERT with Dense.

view details

push time in 17 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 7aea5594fd65bd3101de47100015ef1baf438564

Use CPU to generate ROC if GPU not available.

view details

push time in 17 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 46cf2e2949def0ece072c077228d428f583aed94

Add ROC curve for CNN with BERT token embeddings.

view details

push time in 18 days

push eventwenlongx/CS249

Max Wang on GCP

commit sha af4fb58a5719edb73b8eb24d72d5cacef85bde61

Compute on GPU if available.

view details

Max Wang on GCP

commit sha 813de77b3c44526e7e128a226cab012c73eba4c7

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang on GCP

commit sha d73bd405a578cebd0ed1d2d988231e6650238d4a

Separate arguments to bert-sentence and bert-word, format handling for berd-word embeddings.

view details

Max Wang on GCP

commit sha 375172862e226cfa6f34e86821edbb1996e2be18

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang on GCP

commit sha ad23ddbc30efe4e082f6251a48317b514820d291

Fix cli arguments handling for BERT.

view details

push time in 22 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 137bb8017909cf988a1579ffcd68ec43303d9ae8

Add embedding argument to select bert or elmo embeddings. Add a basic CNN model, not working yet.

view details

Max Wang (Workstation)

commit sha 3a802e6b760cee5caf5b5baf0f30257245422ef9

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

push time in 23 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 6515ff002937d8507936fda80ad4d2247668ab94

Fix HDF5 reading format and hyperparameter in Logistic Regression with BERT.

view details

Max Wang (Workstation)

commit sha b2d129adf332f04bf448de46eee0eb1fbbe1cdcf

Merge branch 'master' of https://github.com/wenlongx/CS249

view details

Max Wang (Workstation)

commit sha b72b6bdb81ba052cf7e9f1e1a793ce534aa98e63

Fix logistic regression data loader return value format.

view details

push time in 24 days

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha d6fe0485b494386378c02aaf381b6790e586d7a0

Add BERT word embedding scripts and HDF5 embedding data for first 1000 training samples.

view details

push time in a month

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 32cec35d30e36ae617289d2b8a1bd4aacbab0dc5

Add a simple script to cut a dataset file.

view details

push time in a month

push eventwenlongx/CS249

Max Wang (Workstation)

commit sha 52e2f3459e795ab1dff3eb4933afa8fe8219be29

Add scripts to fine-tune BERT (probably not needed) by Quora dataset and generate embeddings by BERT.

view details

push time in a month

Pull request review commentdenoland/deno

Implement Deno.chown API for Unix/Linux

 pub fn normalize_path(path: &Path) -> String {     s   } }++#[cfg(unix)]+pub fn chown(path: &str, uid: u32, gid: u32) -> DenoResult<()> {+  use crate::errors::DenoError;+  let nix_uid = Uid::from_raw(uid);+  let nix_gid = Gid::from_raw(gid);+  unix_chown(path, Option::Some(nix_uid), Option::Some(nix_gid))+    .map_err(DenoError::from)+}++#[cfg(not(unix))]+pub fn chown(_path: &str, _uid: u32, _gid: u32) -> DenoResult<()> {+  // Noop+  // TODO: implement chown for Windows+  errors::op_not_implemented()

Yes, sorry about that! I'm on a Mac and just realized the Windows implementation has not been tested locally...

maxwyb

comment created time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha c20aa7e245ec4a5379c9550c85c06bbe70f0b09b

Fix DenoError to DenoResult type conversion on the Windows implementation.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 42ccfa4f1adc29433edc7f8ba372e400e5fdc2b0

Fix import on Windows.

view details

push time in 2 months

Pull request review commentdenoland/deno

Implement Deno.chown API for Unix/Linux

 fn op_chown(     return odd_future(e);   } -  blocking(base.sync(), move || {-    debug!("op_chown {}", &path);-    match deno_fs::chown(&path, uid, gid) {-      Ok(_) => ok_future(empty_buf()),-      Err(e) => odd_future(e),-    }-  })+  debug!("op_chown {}", &path);+  match deno_fs::chown(&path, uid, gid) {+    Ok(_) => ok_future(empty_buf()),+    Err(e) => odd_future(e),

Cool just did

maxwyb

comment created time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 8a63a586880012c2a23b40dbf4197adef376c0e9

Add blocking function back into ops.rs.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 4aeae858748e7f32c2484167d9c6ef6e2013510a

Fix build error: revert back to previous implementation.

view details

push time in 2 months

pull request commentdenoland/deno

Implement Deno.chown API for Unix/Linux

Thanks! Also realized I should add in blocking(base.sync(), move || {...}) inside the op_chown implementation, so the async operation is now really async.

maxwyb

comment created time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha a7c1c18035b8a751fecf3597631ec6262ebb1508

PR Feedback: code style, JSDoc. Add blocking function in op_chown.

view details

push time in 2 months

pull request commentdenoland/deno

Implement Deno.chown API for Unix/Linux

Seems like consoleLogShouldNotThrowError test case failed in AppVeyor but succeeded in Travis CI (unrelated to this PR). Not sure why... Will investigate in a day or two.

maxwyb

comment created time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 17dbdee5491a9fc5886d1e5e4996e055e4fcb868

PR Feedback: code style.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha aa32fe5c5d927a51870cf291043717b39eed93bf

Fix cli/BUILD.gn.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 50bd11dfa7894654521303c2d90aa4a31fd7d72b

Respect Deno write permission in chown Op. Fix Rust linting error.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha e83fbfe9fbe9de278e11caa6958fd05cd0af4862

Add return type in helper function.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 159f7b1e119f0387db72289c7355502f188eded2

Change variable names to camel case in chown_test.

view details

push time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 0edc86902085dc801ab243f954935e0bfb359c6b

Fix test script bug by getting the actual UID and GID of caller.

view details

push time in 2 months

pull request commentdenoland/deno

Implement Deno.chown API for Unix/Linux

Found a bug in the test case of getting the process' UID and GID. Fixing it now.

maxwyb

comment created time in 2 months

PR opened denoland/deno

Implement Deno.chown API for Unix/Linux

Make the syscall using nix crate in Rust. Implement for Unix/Linux first, since chown in Windows is a no-op. Prior art: Node: fs.chown(path, uid, gid, callback), fs.chownSync(path, uid, gid) Python: os.chown(path, uid, gid) Go: func Chown(name string, uid, gid int) error C: int chown(const char *pathname, uid_t owner, gid_t group)

+194 -0

0 comment

8 changed files

pr created time in 2 months

create barnchmaxwyb/deno

branch : Deno/chown

created branch time in 2 months

startednix-rust/nix

started time in 2 months

pull request commentdenoland/deno_std

Implement chmod and chmodSync in fs module

Gotcha makes sense, I'll look at it more in a day or two when I'm done with some exams. Thanks!

maxwyb

comment created time in 2 months

PR opened denoland/deno_std

Implement chmod and chmodSync in fs module

Implement chmod and chmodSync by calling the chmod Deno API.

The code is simple - pretty much just wraps the Deno global API and does nothing else. I'm inspired by the readFileStr library function and this StackOverflow question to make this change.

Actually, quick question: is this architecture generally what we want in the future? (when adding an API, we first expose it under the global Deno object and then make a library module for it?)

+130 -0

0 comment

4 changed files

pr created time in 2 months

push eventmaxwyb/deno_std

Yingbo (Max) Wang

commit sha e5d2cdc7810097598fae1cbefd6a23c68432d1cb

Revoke changes of prettier linting files.

view details

push time in 2 months

create barnchmaxwyb/deno_std

branch : fs/chmod

created branch time in 2 months

fork maxwyb/deno_std

deno standard modules

https://deno.land/x/

fork in 2 months

startedstanfordnlp/GloVe

started time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha f775cd2464c0190ec942e3f710a3e86fe93fd1f4

PR feedback: import, remove comments.

view details

push time in 2 months

PR opened denoland/deno

Ignore type parameter on non-Windows platforms in symlink.

Quick fix of issue 2169: the type parameter in symlink is ignored for non-Windows platforms.

+8 -2

0 comment

2 changed files

pr created time in 2 months

push eventmaxwyb/deno

Yingbo (Max) Wang

commit sha 335479cacbab31e432ea354c6b83cf9f42bd1f4a

Ignore type parameter on non-Windows platforms in symlink.

view details

push time in 2 months

create barnchmaxwyb/deno

branch : symlink_type

created branch time in 2 months

startedgin-gonic/gin

started time in 2 months

startedMicrosoft/frontend-bootcamp

started time in 3 months

startedreact-native-community/react-native-svg

started time in 3 months

more