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
zsh 4................26.35 | |
zsh 3................28.07 | |
zsh 2................28.62 | |
Maltron Colswap......28.96 | |
Rolll................30.67 | |
RSTHD................30.77 | |
Semimak JQ...........31.48 | |
Maltron..............31.94 | |
Whorf................32.15 | |
Semimak..............32.16 |
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
Reference: QWERTY | |
q w e r t | y u i o p - | |
a s d f g | h j k l ; ' | |
z x c v b | n m , . / | |
| | |
total: 274518150.875; scaled: 1.9124203185633584 | |
base: 160930274.5 / t: 29114226; n: 19670615; e: 13467191; r: 10704640.5; o: 8845495; | |
same finger: 42968625 / ed: 4340025; rt: 3347550; tr: 3309420; un: 3211310; de: 3065845; | |
long jump hand: 10921500 / in: 2183465; on: 1408861; ve: 786052; ce: 544306; om: 541916; | |
long jump: 20913880 / ce: 5443060; ec: 4162360; un: 3211310; um: 1122550; ny: 1111780; |
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
Counts of non-alpha characters across Rust and Python projects. | |
20336 _ | |
15827 , | |
14507 . | |
13524 : | |
11606 ) | |
11599 ( | |
7986 " | |
5677 / |
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
generated Feb 17, 2023 11:01:14 | |
system MacOS 13.2.1 Darwin 22.3.0 arm64 | |
emacs 28.2 ~/.emacs.d/ | |
doom 3.0.0-pre PROFILE=_@0 grafted, HEAD -> master, origin/master, | |
origin/HEAD e9662492 2023-01-01 21:55:13 -0500 ~/.doom.d/ | |
shell /bin/zsh | |
features ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE PDUMPER THREADS | |
TOOLKIT_SCROLL_BARS ZLIB | |
traits batch envvar-file | |
modules :config use-package :completion company ivy :ui doom doom-dashboard |
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
#include <stdlib.h> | |
#include <cblas.h> | |
int const M = 7; | |
int const K = 1026; | |
int const N = 1026; | |
int main() { | |
float const *A = (float *) calloc(M * K, sizeof(float)); |
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
diff --git a/thinc/backends/__init__.py b/thinc/backends/__init__.py | |
index ba4daaa8..1b39deb3 100644 | |
--- a/thinc/backends/__init__.py | |
+++ b/thinc/backends/__init__.py | |
@@ -79,6 +79,10 @@ def _import_extra_cpu_backends(): | |
from thinc_apple_ops import AppleOps | |
except ImportError: | |
pass | |
+ try: | |
+ from thinc_mkl_ops import MKLOps |
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
--- training/pt_core_news_lg_rule/model-best/config.cfg 2021-11-22 10:28:51.610899763 +0100 | |
+++ training-edit-tree-bench/pt_core_news_lg/model-best/config.cfg 2021-11-21 17:40:53.559460807 +0100 | |
@@ -12,7 +12,7 @@ | |
[nlp] | |
lang = "pt" | |
-pipeline = ["tok2vec","morphologizer","parser","senter","attribute_ruler","lemmatizer","ner"] | |
+pipeline = ["tok2vec","morphologizer","parser","senter","attribute_ruler","edit_tree_lemmatizer","ner"] | |
disabled = ["parser","senter","attribute_ruler","ner"] | |
before_creation = null |
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
from typing import Optional, Callable, Any, Tuple | |
from ..model import Model | |
from ..util import use_nvtx_range | |
def with_nvtx_range( | |
layer: Model, | |
name: Optional[str] = None, | |
*, |
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
Rough procedure for updating cargo hashes. Warning: this still requires a lot | |
of manual work to cover all bases. Based on: | |
https://github.com/NixOS/nixpkgs/pull/112764/commits/2650d5d2b8c19844224f8b368887153e2f18fdae | |
# Invalidate all hashes | |
rg -l "cargoHash" | grep "\.nix" | xargs -n1 sed -i -re 's/cargoHash = "..../cargoHash = "sha256-1234/g' | |
rg -l "cargoSha256" | grep "\.nix" | xargs -n1 sed -i -re 's/cargoSha256 = "[^s].../cargoSha256 = "1234/g' | |
rg -l "cargoSha256" | grep "\.nix" | xargs -n1 sed -i -re 's/cargoSha256 = "sha256-..../cargoSha256 = "sha256-1234/g' |
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 torch | |
from torch import nn | |
class TensorModule(nn.Module): | |
def __init__(self, tensors): | |
super(TensorModule, self).__init__() | |
for tensor_name, tensor in tensors.items(): | |
setattr(self, tensor_name, nn.Parameter(tensor)) |