shadowsocks-rust
tokenizers
Our great sponsors
shadowsocks-rust | tokenizers | |
---|---|---|
23 | 8 | |
7,804 | 8,424 | |
3.1% | 3.1% | |
9.5 | 8.5 | |
2 days ago | 1 day ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shadowsocks-rust
-
Wireguard blocked
Maybe with https://shadowsocks.org/
-
proton vpn in china
I am also in China right now and sorry to say that ProtonVPN hasn't worked at all for me.I downloaded four different VPN apps before departing from Europe and only Mullvad had worked since they implement a Shadowsocks bridge on some connections.
-
How to secure internet on an open Wi-Fi?
If the changing por trick work you can try shadowsocks or v2ray.
- China firewall and VPNs
-
Accessing home server outside securely and also from client apps
Use this: https://github.com/shadowsocks/shadowsocks-rust
- Recommended VPN?
- Wireguard is banned in China, anything I could do about it?
- last day on reddit
-
Flathub mirror for China?
For shadowsocks, you can download it from here: https://github.com/shadowsocks/shadowsocks-rust/releases/tag/v1.14.3, get the "shadowsocks-v1.14.3.x86_64-unknown-linux-gnu.tar.xz" file, and extract it. You should have the ssclient and you can use that in the terminal to connect with it. This seems to have instructions on how to use it
-
Staying Safe Online - A Resource Collection For Protesters and Activists
Fellow sub member /u/zenzebeat reports that https://shadowsocks.org/ still works fine albeit slow.
tokenizers
-
HF Transfer: Speed up file transfers
Hugging Face seems to like Rust. They also wrote Tokenizers in Rust.
-
LLM custom dictionary
Your intuition is right. There are two ways (in increasing order of result performance) : 1. You can simply extend vocab file of the tokenizer and test the predictions 2. You can extend the vocab file and re-train your model on custom data which has these new tokens. Check the following issue on GitHub : https://github.com/huggingface/tokenizers/issues/247
-
[D] SentencePiece, WordPiece, BPE... Which tokenizer is the best one?
SentencePiece -> implementation of some algorithms (there are several others, https://github.com/microsoft/BlingFire https://github.com/glample/fastBPE https://github.com/huggingface/tokenizers )
-
Portability of Rust in 2021
In sum I would like the idea to go with Rust as I more or less got to rewrite the whole thing anyway, but I am a bit skeptical if I will be able to interface with everything that might come up at some point. Or probably end up in a wrapper hell if I got to use more C++ libraries. On the other hand there are definitely a few Rust projects out there that might come in handy (for example https://github.com/huggingface/tokenizers). And the build process is pretty awful right now (CMake it is but with lots of hacks).
-
[D] What's going to be the dominant language for machine learning in 5 years?
A full machine learning pipeline usually comprises far more than just the model, and this is the area where Rust may shine (the recent work by HuggingFace and their https://github.com/huggingface/tokenizers library is a good example)
-
substitute for tokenizer in torchtext
As for other tokenizers, you can take a look at - Huggingface tokenizers library: https://github.com/huggingface/tokenizers - NLTK tokenize: https://www.nltk.org/api/nltk.tokenize.html - Polygot: https://pypi.org/project/polyglot/
-
PyO3: Rust Bindings for the Python Interpreter
Huggingface Tokenizers (https://github.com/huggingface/tokenizers), which are now used by default in their Transformers Python library, use pyO3 and became popular due to the pitch that it encoded text an order of magnitude faster with zero config changes.
It lives up to that claim. (I had issues with return object typing when going between Python/Rust at first but those are more consistent now)
-
Rusticles #19 - Wed Nov 11 2020
huggingface/tokenizers (Rust): 💥Fast State-of-the-Art Tokenizers optimized for Research and Production
What are some alternatives?
outline-apps - Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
onnx-tensorflow - Tensorflow Backend for ONNX
openmptcprouter - OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
docker-wireguard
setuptools-rust - Setuptools plugin for Rust support
Cloak - A censorship circumvention tool to evade detection by authoritarian state adversaries
BlingFire - A lightning fast Finite State machine and REgular expression manipulation library.
wstunnel - Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
rayon - Rayon: A data parallelism library for Rust
quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
tch-rs - Rust bindings for the C++ api of PyTorch.