Skip to content

Instantly share code, notes, and snippets.

View borisdayma's full-sized avatar

Boris Dayma borisdayma

View GitHub Profile
@borisdayma
borisdayma / demo.html
Last active October 18, 2020 15:40
Claire's Number Line
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<head>
<title>Claire's Number Line</title>
</head>
<html>
<div id="app"></div>
</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
~/Projects/fastai2/fastai2/learner.py in _do_epoch_validate(self, ds_idx, dl)
182 self.dl = dl; self('begin_validate')
--> 183 with torch.no_grad(): self.all_batches()
184 except CancelValidException: self('after_cancel_validate')
~/Projects/fastai2/fastai2/learner.py in all_batches(self)
152 self.n_iter = len(self.dl)
--> 153 for o in enumerate(self.dl): self.one_batch(*o)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
```
boris@Desk-Ubuntu:~/Projects/tests$ python ../transformers/examples/text-classification/run_tf_glue.py --model_name_or_path bert-base-cased --task_name $TASK_NAME --do_train --do_eval --max_seq_length 128 --per_device_train_batch_size 32 --learning_rate 2e-5 --num_train_epochs 3.0 --output_dir /tmp/$TASK_NAME/ --overwrite_output_dir --logging_dir log --evaluate_during_training --eval_steps 50 --logging_steps 10
06/12/2020 13:16:33 - INFO - transformers.training_args_tf - Tensorflow: setting up strategy
2020-06-12 13:16:33.776937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-06-12 13:16:33.798135: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-06-12 13:16:33.798688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: Ge
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

To be posted in: https://forums.fast.ai/c/fastai-users/fastai-v2/

Title: Proposed workflow to compare & monitor models using WandbCallback

Content:

Hi,

I’ve been working on WandbCallback for the past few months (with a lot of help from @sgugger) and I'm very excited to show how it works!

@borisdayma
borisdayma / demo.ipynb
Last active April 13, 2020 18:45
Demo WandbCallback for fastai2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.